From 95a398884bbbb8e56d1bfe8caa9fe9a6e1a430ff Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 14 Feb 2023 23:37:52 +0100 Subject: [PATCH] let's try alacritty out --- sway/.config/alacritty/alacritty.yml | 57 ++++++++++++++++++++++++++ sway/.config/i3status-rust/config.toml | 6 +-- sway/.config/sway/config | 4 +- 3 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 sway/.config/alacritty/alacritty.yml diff --git a/sway/.config/alacritty/alacritty.yml b/sway/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..e70e17d --- /dev/null +++ b/sway/.config/alacritty/alacritty.yml @@ -0,0 +1,57 @@ +font: + size: 9 # whatever this number actually means... + normal: + family: JuliaMono + style: Regular + bold: + family: JuliaMono + style: Bold + italic: + family: JuliaMono + style: Italic + bold_italic: + family: JuliaMono + style: BoldItalic + + +#draw_bold_text_with_bright_colors: true + +# Colors +colors: + # Default colors + primary: + background: '#080808' + foreground: '#b2b2b2' + bright_foreground: '#eeeeee' + + # Cursor colors + cursor: + text: '#000000' + cursor: '#ffff00' + + # Selection colors + selection: + text: '#080808' + background: '#b2ceee' + + # Normal colors + normal: + black: '#323437' + red: '#ff5454' + green: '#8cc85f' + yellow: '#e3c78a' + blue: '#80a0ff' + magenta: '#cf87e8' + cyan: '#79dac8' + white: '#c6c6c6' + + # Bright colors + bright: + black: '#949494' + red: '#ff5189' + green: '#36c692' + yellow: '#c2c292' + blue: '#74b2ff' + magenta: '#ae81ff' + cyan: '#85dc85' + white: '#e4e4e4' diff --git a/sway/.config/i3status-rust/config.toml b/sway/.config/i3status-rust/config.toml index cbdb3a4..40ad52a 100644 --- a/sway/.config/i3status-rust/config.toml +++ b/sway/.config/i3status-rust/config.toml @@ -10,7 +10,7 @@ interval = 60 inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ] threshold_critical = 1 display_type = "new" -on_click = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt" +on_click = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.rows=50\" -e zsh -c neomutt" [[block]] block = "maildir" @@ -19,7 +19,7 @@ inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@ox threshold_warning = 1 threshold_critical = 10 display_type = "new" -on_click = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt" +on_click = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.rows=50\" -e zsh -c neomutt" [[block]] block = "backlight" @@ -52,7 +52,7 @@ format = "{1m} {5m} {15m}" [[block]] block = "sound" -on_click = "foot --app-id floating-foot -- zsh -c pulsemixer" +on_click = "alacritty --class floating-foot -e zsh -c pulsemixer" headphones_indicator = true [[block]] diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 77e1d63..9121674 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -14,8 +14,8 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term foot -set $floatterm foot --app-id floating-foot +set $term alacritty +set $floatterm alacritty --class floating-foot set $lock $HOME/.config/sway/lock.sh # Your preferred application launcher