Standardize all notification sending
This commit is contained in:
@@ -6,6 +6,6 @@ set -e
|
||||
rm -f "$0"
|
||||
|
||||
(
|
||||
action=$(notify-send " Install Dictation with Voxtype" "Click to install voice dictation for Omarchy." -u critical -A "default=Install")
|
||||
action=$(notify-send -a omarchy-action -u critical --hint=string:omarchy-glyph: "Install Dictation with Voxtype" "Click to install voice dictation for Omarchy." -A "default=Install")
|
||||
[[ $action == "default" ]] && omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
|
||||
) >/dev/null 2>&1 &
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(
|
||||
action=$(notify-send " Learn Keybindings" "Super + K for cheatsheet.\nSuper + Space for application launcher.\nSuper + Alt + Space for Omarchy Menu." -u critical -A "default=Open")
|
||||
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
|
||||
) >/dev/null 2>&1 &
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
notify_update() {
|
||||
(
|
||||
action=$(notify-send " Update System" "$1" -u critical -A "default=Update")
|
||||
action=$(notify-send -a omarchy-action -u critical --hint=string:omarchy-glyph: "Update System" "$1" -A "default=Update")
|
||||
[[ $action == "default" ]] && omarchy-launch-floating-terminal-with-presentation omarchy-update
|
||||
) >/dev/null 2>&1 &
|
||||
}
|
||||
|
||||
notify_wifi() {
|
||||
(
|
||||
action=$(notify-send " Click to Setup Wi-Fi" "Tab to navigate, Space to select, ? for help." -u critical -A "default=Setup")
|
||||
action=$(notify-send -a omarchy-action -u critical --hint=string:omarchy-glyph: "Click to Setup Wi-Fi" "Tab to navigate, Space to select, ? for help." -A "default=Setup")
|
||||
[[ $action == "default" ]] && omarchy-launch-wifi
|
||||
) >/dev/null 2>&1 &
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user