From e00b72e1f622c55d89d3cf2d4272b8888f6fd9f3 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 21 Jan 2022 10:08:34 +0800 Subject: [PATCH] Bemenu color changes and font tweaks. --- .config/i3/config | 6 ++++-- .config/sway/config | 12 +++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 076f0cb..0508a16 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -17,6 +17,8 @@ set $violet #6c71c4 set $blue #268bd2 set $cyan #2aa198 set $green #859900 +# Font +set $font SourceCodePro Semibold 11px # Logo key. Use Mod1 for Alt. set $mod Mod4 # Home row direction keys, like vim @@ -205,7 +207,7 @@ bindsym $mod+g mode "gaming" # # Status Bar: # -font pango:SourceCodePro SemiBold 11px +font pango:$font bar { position top @@ -223,7 +225,7 @@ bar { inactive_workspace $base02 $base03 $base0 urgent_workspace $cyan $red $base03 } - font pango:SourceCodePro SemiBold 11px + font pango:$font tray_output primary } diff --git a/.config/sway/config b/.config/sway/config index 6cfc55a..a4f9829 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -23,6 +23,8 @@ set $violet #6c71c4 set $blue #268bd2 set $cyan #2aa198 set $green #859900 +# Font +set $font SourceCodePro Semibold 11px # Logo key. Use Mod1 for Alt. set $mod Mod4 # Home row direction keys, like vim @@ -35,7 +37,10 @@ set $term alacritty # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. -set $menu dmenu_path | bemenu -l 10 | xargs swaymsg exec -- +set $menucmd bemenu -l 10 --scrollbar always --fn '$font' --tb '$base02' --tf '$green' --fb '$base03' --ff '$base0' --nb '$base03' --nf '$base0' --sb '$base02' --sf 'cyan' --hb '$base02' --hf '$cyan' --scb '$base02' --scf '$cyan' +set $menu dmenu_path | $menucmd | xargs swaymsg exec -- + +set $testcmd echo $PATH > $HOME/testcmd set $mon1 DP-1 set $mon2 HDMI-A-1 @@ -91,6 +96,7 @@ exec swayidle -w \ # # Start a terminal bindsym $mod+Return exec $term + bindsym $mod+q exec $testcmd # Kill focused window bindsym $mod+w kill @@ -252,7 +258,7 @@ bindsym $mod+g mode "gaming" # Status Bar: # # Read `man 5 sway-bar` for more information about this section. -font pango:SourceCodePro SemiBold 11px +font pango:$font titlebar_border_thickness 2 titlebar_padding 3 bar { @@ -272,7 +278,7 @@ bar { inactive_workspace $base02 $base03 $base0 urgent_workspace $cyan $red $base03 } - font pango:SourceCodePro SemiBold 11px + font pango:$font tray_output primary }