Flip the toggle once in the screensaver and suspend toggles

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier Hansson
2026-07-24 12:17:16 -07:00
co-authored by Claude Opus 5
parent 2baf967e06
commit fbb4cc16b1
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -2,10 +2,10 @@
# omarchy:summary=Toggle screensaver availability
omarchy-toggle screensaver-off
if omarchy-toggle-enabled screensaver-off; then
omarchy-toggle screensaver-off
omarchy-notification-send -g 󱄄 "Screensaver enabled"
else
omarchy-toggle screensaver-off
omarchy-notification-send -g 󱄄 "Screensaver disabled"
else
omarchy-notification-send -g 󱄄 "Screensaver enabled"
fi
+4 -4
View File
@@ -2,10 +2,10 @@
# omarchy:summary=Toggle suspend availability in the system menu
omarchy-toggle suspend-off
if omarchy-toggle-enabled suspend-off; then
omarchy-toggle suspend-off
omarchy-notification-send -g 󰒲 "Suspend now available in system menu"
else
omarchy-toggle suspend-off
omarchy-notification-send -g 󰒲 "Suspend removed from system menu"
else
omarchy-notification-send -g 󰒲 "Suspend now available in system menu"
fi