add bind to show or hide waybar

This commit is contained in:
2025-06-01 17:14:22 +05:30
parent 07bde2bdd4
commit 41186f70fd
+5 -2
View File
@@ -137,7 +137,7 @@ animations {
animation = layersOut, 1, 1.5, linear, popin 80%
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 4.5, quick, fade
animation = workspaces, 1, 5, quick, fade
}
dwindle {
@@ -208,8 +208,11 @@ bind = $mainMod SHIFT, B, exec, librewolf --private-window
bind = , Print, exec, grim -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').png"
bind = ALT , Print, exec, grim -t jpeg -q 100 -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').jpeg"
bind = $mainMod , Print ,exec, grim -g "$(slurp -d)" -| wl-copy
# Move focus with mainMod + arrow keys
# Show or hide waybar
bind = $mainMod SHIFT, W, exec, pgrep -x waybar && pkill -x waybar || waybar &
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = ALT, Tab, cyclenext,