Add swayosd call for modifier keys

Change master layout rules

Small waybar formatting tweaks
This commit is contained in:
Evie Litherland-Smith 2023-10-16 11:43:58 +01:00
parent f91d2cf632
commit 2dc7530a74
4 changed files with 18 additions and 13 deletions

View file

@ -54,8 +54,8 @@ in ''
master {
mfact = 0.55
new_is_master = true
new_on_top = true
new_is_master = false
new_on_top = false
no_gaps_when_only = 0
orientation = left
}
@ -121,6 +121,11 @@ in ''
bind=,Print,exec,watershot
bind=,XF86Calculator,exec,pkill anyrun || anyrun
# Bind modifiers to show state using swayosd
bindl=,Num_lock,exec,${pkgs.swayosd}/bin/swayosd --num-lock
bindl=,Caps_lock,exec,${pkgs.swayosd}/bin/swayosd --caps-lock
bindl=,Scroll_lock,exec,${pkgs.swayosd}/bin/swayosd --scroll-lock
# Sound
bindl=,XF86AudioMute,exec,${pkgs.swayosd}/bin/swayosd --output-volume=mute-toggle
bindl=,XF86AudioMicMute,exec,${pkgs.swayosd}/bin/swayosd --input-volume=mute-toggle