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