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:
1 parent
2baf967e06
commit
fbb4cc16b1
2 files changed
+8
-8
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user