Bemenu color changes and font tweaks.

This commit is contained in:
Sheldon Lee 2022-01-21 10:08:34 +08:00
parent e5d489b459
commit e00b72e1f6
2 changed files with 13 additions and 5 deletions

View File

@ -17,6 +17,8 @@ set $violet #6c71c4
set $blue #268bd2 set $blue #268bd2
set $cyan #2aa198 set $cyan #2aa198
set $green #859900 set $green #859900
# Font
set $font SourceCodePro Semibold 11px
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
# Home row direction keys, like vim # Home row direction keys, like vim
@ -205,7 +207,7 @@ bindsym $mod+g mode "gaming"
# #
# Status Bar: # Status Bar:
# #
font pango:SourceCodePro SemiBold 11px font pango:$font
bar { bar {
position top position top
@ -223,7 +225,7 @@ bar {
inactive_workspace $base02 $base03 $base0 inactive_workspace $base02 $base03 $base0
urgent_workspace $cyan $red $base03 urgent_workspace $cyan $red $base03
} }
font pango:SourceCodePro SemiBold 11px font pango:$font
tray_output primary tray_output primary
} }

View File

@ -23,6 +23,8 @@ set $violet #6c71c4
set $blue #268bd2 set $blue #268bd2
set $cyan #2aa198 set $cyan #2aa198
set $green #859900 set $green #859900
# Font
set $font SourceCodePro Semibold 11px
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
# Home row direction keys, like vim # Home row direction keys, like vim
@ -35,7 +37,10 @@ set $term alacritty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # 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. # 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 $mon1 DP-1
set $mon2 HDMI-A-1 set $mon2 HDMI-A-1
@ -91,6 +96,7 @@ exec swayidle -w \
# #
# Start a terminal # Start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+q exec $testcmd
# Kill focused window # Kill focused window
bindsym $mod+w kill bindsym $mod+w kill
@ -252,7 +258,7 @@ bindsym $mod+g mode "gaming"
# Status Bar: # Status Bar:
# #
# Read `man 5 sway-bar` for more information about this section. # Read `man 5 sway-bar` for more information about this section.
font pango:SourceCodePro SemiBold 11px font pango:$font
titlebar_border_thickness 2 titlebar_border_thickness 2
titlebar_padding 3 titlebar_padding 3
bar { bar {
@ -272,7 +278,7 @@ bar {
inactive_workspace $base02 $base03 $base0 inactive_workspace $base02 $base03 $base0
urgent_workspace $cyan $red $base03 urgent_workspace $cyan $red $base03
} }
font pango:SourceCodePro SemiBold 11px font pango:$font
tray_output primary tray_output primary
} }