Match existing naming styles

This commit is contained in:
David Heinemeier Hansson
2026-02-28 10:04:18 +01:00
parent b42183e692
commit 30c6d431f7
2 changed files with 1 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Toggles the window gaps globally between no gaps and the default 10/5/2.
gaps=$(hyprctl getoption general:gaps_out -j | jq -r '.custom' | awk '{print $1}')
if [[ $gaps == "0" ]]; then
hyprctl keyword general:gaps_out 10
hyprctl keyword general:gaps_in 5
hyprctl keyword general:border_size 2
else
hyprctl keyword general:gaps_out 0
hyprctl keyword general:gaps_in 0
hyprctl keyword general:border_size 0
fi