Improve actionable notification wrapper

This commit is contained in:
David Heinemeier Hansson committed 2026-05-25 23:51:48 +02:00
1 parent 322d1bc30d
commit af5e918dd5
10 files changed
+107 -26

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
(
action=$(notify-send -a omarchy-action -u critical --hint=string:omarchy-glyph:"Learn Keybindings" "Super + K for cheatsheet.\nSuper + Space for application launcher.\nSuper + Alt + Space for Omarchy Menu." -A "default=Open")
[[ $action == "default" ]] && omarchy-menu-keybindings
if [[ -n $(omarchy-notification-send -u critical -g "Learn Keybindings" "Super + K for cheatsheet.\nSuper + Space for application launcher.\nSuper + Alt + Space for Omarchy Menu." -a) ]]; then
omarchy-menu-keybindings
fi
) >/dev/null 2>&1 &