Standardize all notification sending
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
|
||||
# omarchy:summary=Toggle screensaver availability
|
||||
|
||||
omarchy-toggle \
|
||||
--enabled-notification " Screensaver disabled" \
|
||||
--disabled-notification " Screensaver enabled" \
|
||||
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"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user