mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-07 04:30:55 +02:00
Make the window no-gaps flag permanent
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Toggles the window gaps globally between no gaps and the default 10/5/2.
|
||||
# Toggles the window gaps globally between no gaps and the default.
|
||||
|
||||
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
|
||||
omarchy-hyprland-flag-toggle window-no-gaps
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# Remove all window gaps and borders
|
||||
general {
|
||||
gaps_out = 0
|
||||
gaps_in = 0
|
||||
border_size = 0
|
||||
}
|
||||
Reference in New Issue
Block a user