Standardize all notification sending

This commit is contained in:
David Heinemeier Hansson
2026-05-17 19:51:29 +02:00
parent 682c6406bd
commit 4e2da8480a
24 changed files with 62 additions and 90 deletions
+7 -4
View File
@@ -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