Add toggling of hyprland window rounded corners

This commit is contained in:
David Heinemeier Hansson
2026-05-10 11:31:02 +02:00
parent 26c1f9c546
commit e099f47d53
4 changed files with 21 additions and 26 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# omarchy:summary=Set or toggle shape of Hyprland window corners
# omarchy:args=[toggle|sharp|round]
# omarchy:examples=omarchy hyprland window corners toggle | omarchy hyprland window corners round | omarchy hyprland window corners sharp
case "${1:-toggle}" in
round) set -- on ;;
sharp) set -- off ;;
toggle) ;;
*)
echo "Usage: omarchy-hyprland-window-corners [toggle|sharp|round]"
exit 1
;;
esac
omarchy-hyprland-toggle rounded-corners "$1"