This commit is contained in:
end-4
2024-02-22 15:35:06 +07:00
commit 8db26e9707
4220 changed files with 208544 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
state=$(hyprctl getoption decoration:rounding -j | gojq '.int')
if [[ "$state" != "0" || "$1" == "--enable" ]]; then
hyprctl keyword decoration:rounding 0
hyprctl keyword general:gaps_in 0
hyprctl keyword general:gaps_out 0
if [[ "$2" == "--border" ]]; then
hyprctl keyword general:border_size "$3"
else
hyprctl keyword general:border_size 1
fi
else
hyprctl reload
fi