Refactor toggles and notifications

This commit is contained in:
David Heinemeier Hansson committed 2026-05-10 11:26:59 +02:00
1 parent d3a082ef11
commit 26c1f9c546
7 files changed
+126 -80

No files matched your search

@@ -2,7 +2,7 @@
# omarchy:summary=Toggle single-window square aspect ratio.
omarchy-hyprland-toggle \
--enabled-notification "Enable single-window square aspect ratio" \
--disabled-notification "Disable single-window square aspect ratio" \
single-window-aspect-ratio
case $(omarchy-hyprland-toggle single-window-aspect-ratio) in
on) omarchy-notification-send -g  "Enable single-window square aspect ratio" ;;
off) omarchy-notification-send -g  "Disable single-window square aspect ratio" ;;
esac