Standardize all notification sending
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
|
||||
# omarchy:summary=Toggle suspend availability in the system menu
|
||||
|
||||
omarchy-toggle \
|
||||
--enabled-notification " Suspend removed from system menu" \
|
||||
--disabled-notification " Suspend now available in system menu" \
|
||||
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"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user