diff options
| author | benj <benj@rse8.com> | 2021-07-18 13:23:51 -0700 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-07-18 13:23:51 -0700 |
| commit | 68cb64930c1cabcc21268808c65abb7120757104 (patch) | |
| tree | caa6d77c043d66b76c2a491c6c24a85ec326d42f | |
| parent | 38761c0e011ffb14a68f18cdc3c5d0f70073a75c (diff) | |
| download | setup-68cb64930c1cabcc21268808c65abb7120757104.tar setup-68cb64930c1cabcc21268808c65abb7120757104.tar.gz setup-68cb64930c1cabcc21268808c65abb7120757104.tar.bz2 setup-68cb64930c1cabcc21268808c65abb7120757104.tar.lz setup-68cb64930c1cabcc21268808c65abb7120757104.tar.xz setup-68cb64930c1cabcc21268808c65abb7120757104.tar.zst setup-68cb64930c1cabcc21268808c65abb7120757104.zip | |
- added alacritty config
- font config with emoji override
| -rw-r--r-- | .alacritty.yml | 79 | ||||
| -rw-r--r-- | des/i3/config | 3 | ||||
| -rw-r--r-- | fonts.conf | 25 |
3 files changed, 106 insertions, 1 deletions
diff --git a/.alacritty.yml b/.alacritty.yml new file mode 100644 index 0000000..b413aa2 --- /dev/null +++ b/.alacritty.yml @@ -0,0 +1,79 @@ +window: + # Window dimensions (changes require restart) + # + # Specified in number of columns/lines, not pixels. If both are zero this + # setting is ignored. + dimensions: + columns: 100 + lines: 85 + + # Window padding (changes require restart) + # + # Blank space added around the window in pixels. This padding is not scaled by + # DPI and the specified value is always added at both opposing sides. + padding: + x: 1 + y: 0 + +# Colors +# See: https://github.com/eendroroy/alacritty-theme +schemes: + solarized_dark: &solarized_dark + primary: + background: '0x002b36' + foreground: '0x839496' + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' + +colors: *solarized_dark + +font: + size: 9 + bold: + family: Source Code Pro + style: Bold + normal: + family: Source Code Pro + style: Medium + italic: + family: Source Code Pro + style: Medium Italic + +bell: + duration: 0 + +# Background opacity +background_opacity: 1.0 + +key_bindings: + - { key: V, mods: Control|Shift, action: Paste } + - { key: C, mods: Control|Shift, action: Copy } + +cursor: + # Cursor style + # + # Values for 'style': + # - ▇ Block + # - _ Underline + # - | Beam + style: Block + + # If this is `true`, the cursor will be rendered as a hollow box when the + # window is not focused. + unfocused_hollow: true diff --git a/des/i3/config b/des/i3/config index 37c900f..f039586 100644 --- a/des/i3/config +++ b/des/i3/config @@ -36,6 +36,7 @@ exec --no-startup-id compton --config ~/.config/compton.conf -b # The combination of xss-lock, nm-applet and pactl is a popular choice, so # they are included here as an example. Modify as you see fit. +exec --no-startup-id xss-lock --transfer-sleep-lock "~/.setup/des/i3/i3lock-color-custom.sh" ## Allow yad to float for i3bar calendar for_window [class="Yad"] floating enable @@ -66,7 +67,7 @@ bindsym XF86LaunchA exec --no-startup-id format_displays floating_modifier $mod # start a terminal -bindsym $mod+Return exec urxvt +bindsym $mod+Return exec --no-startup-id alacritty # kill focused window bindsym $mod+q kill diff --git a/fonts.conf b/fonts.conf new file mode 100644 index 0000000..01d2fc7 --- /dev/null +++ b/fonts.conf @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>serif</family> + <prefer> + <family>JoyPixels</family> + <family>Noto Color Emoji</family> + </prefer> + </alias> + <alias> + <family>sans-serif</family> + <prefer> + <family>JoyPixels</family> + <family>Noto Color Emoji</family> + </prefer> + </alias> + <alias> + <family>monospace</family> + <prefer> + <family>JoyPixels</family> + <family>Noto Color Emoji</family> + </prefer> + </alias> +</fontconfig> |
