1
0
forked from extern/nix-config

hyprland: Add gaps keybind

Useful when you want to use gaps.
This commit is contained in:
Donovan Glover 2023-06-09 21:18:12 -04:00
parent 7654520135
commit d6fe14b803
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -124,6 +124,7 @@ in {
bind = SUPER, V, togglefloating,
bind = SUPER, V, centerwindow,
bind = SUPER, I, exec, hyprctl keyword decoration:dim_inactive $((1 - $(hyprctl getoption decoration:dim_inactive -j | jq -r ".int")))
bind = SUPER, U, exec, hyprctl keyword general:gaps_out $((10 - $(hyprctl getoption general:gaps_out -j | jq -r ".int"))) && hyprctl keyword general:gaps_in $((5 - $(hyprctl getoption general:gaps_in -j | jq -r ".int"))) && hyprctl keyword general:border_size $((1 - $(hyprctl getoption general:border_size -j | jq -r ".int")))
bind = SUPER, O, exec, killall .waybar-wrapped || waybar
bind = SUPER, X, pin
bind = SUPER, F, fullscreen, 1