From fbb4cc16b114ecef614a18cc1b36d6ba6a074600 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 24 Jul 2026 12:17:16 -0700 Subject: [PATCH] Flip the toggle once in the screensaver and suspend toggles Co-Authored-By: Claude Opus 5 (1M context) --- bin/omarchy-toggle-screensaver | 8 ++++---- bin/omarchy-toggle-suspend | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/omarchy-toggle-screensaver b/bin/omarchy-toggle-screensaver index a0f74ea7..8f631318 100755 --- a/bin/omarchy-toggle-screensaver +++ b/bin/omarchy-toggle-screensaver @@ -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 diff --git a/bin/omarchy-toggle-suspend b/bin/omarchy-toggle-suspend index 22cda36f..736e23d4 100755 --- a/bin/omarchy-toggle-suspend +++ b/bin/omarchy-toggle-suspend @@ -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