From 441812809286987c239454f559b349f580364c4c Mon Sep 17 00:00:00 2001 From: dbroqua Date: Wed, 29 Sep 2021 20:19:38 +0200 Subject: [PATCH] Replaced termite with alacritty --- config/alacritty/alacritty.yml | 70 ++++++++++++++++++++++++++++++++++ config/sway/config | 18 ++++----- 2 files changed, 79 insertions(+), 9 deletions(-) create mode 100644 config/alacritty/alacritty.yml diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml new file mode 100644 index 0000000..c10b3e4 --- /dev/null +++ b/config/alacritty/alacritty.yml @@ -0,0 +1,70 @@ +# Copyright (c) 2017-present Arctic Ice Studio +# Copyright (c) 2017-present Sven Greb + +# Project: Nord Alacritty +# Version: 0.1.0 +# Repository: https://github.com/arcticicestudio/nord-alacritty +# License: MIT +# References: +# https://github.com/alacritty/alacritty +# +font: + size: 9 + normal: + family: Droid Sans Mono Slashed for Powerline + style: Regular + bold: + family: Droid Sans Mono Slashed for Powerline + # style: Bold + italic: + family: Droid Sans Mono Slashed for Powerline + # style: Italic + +colors: + primary: + background: '#2e3440' + foreground: '#d8dee9' + dim_foreground: '#a5abb6' + cursor: + text: '#2e3440' + cursor: '#d8dee9' + vi_mode_cursor: + text: '#2e3440' + cursor: '#d8dee9' + selection: + text: CellForeground + background: '#4c566a' + search: + matches: + foreground: CellBackground + background: '#88c0d0' + bar: + background: '#434c5e' + foreground: '#d8dee9' + normal: + black: '#3b4252' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#88c0d0' + white: '#e5e9f0' + bright: + black: '#4c566a' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#eceff4' + dim: + black: '#373e4d' + red: '#94545d' + green: '#809575' + yellow: '#b29e75' + blue: '#68809a' + magenta: '#8c738c' + cyan: '#6d96a5' + white: '#aeb3bb' diff --git a/config/sway/config b/config/sway/config index 71d4752..7a093a1 100644 --- a/config/sway/config +++ b/config/sway/config @@ -63,7 +63,7 @@ set $nord14 #A3BE8C set $nord15 #B48EAD # Your preferred terminal emulator -set $term /usr/bin/termite +set $term /usr/bin/alacritty # Your preferred application launcher set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I @@ -123,7 +123,7 @@ exec remmina -i exec $term exec firefox exec spotify -exec signal-desktop +exec signal-desktop --use-tray-icon exec mpd @@ -140,13 +140,13 @@ for_window [class="Spotify"] move container to workspace $wksp4 # Open as floating for_window [class="Geeqie"] floating enable for_window [class="com-sun-javaws-Main"] floating enable -for_window [app_id="termite" title="Pulse Mixer"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="Calendar"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="File Browser"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="Ncdu"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="Top"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="Audio Visualizer"] floating enable, resize set $modalWidth $modalHeight -for_window [app_id="termite" title="Music Player Client"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Pulse Mixer"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Calendar"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="File Browser"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Ncdu"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Top"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Audio Visualizer"] floating enable, resize set $modalWidth $modalHeight +for_window [app_id="Alacritty" title="Music Player Client"] floating enable, resize set $modalWidth $modalHeight ### Key bindings