Improve actionable notification wrapper

This commit is contained in:
David Heinemeier Hansson
2026-05-25 23:51:48 +02:00
parent 322d1bc30d
commit af5e918dd5
10 changed files with 107 additions and 26 deletions
+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 &