Improve actionable notification wrapper
This commit is contained in:
1 parent
322d1bc30d
commit
af5e918dd5
10 files changed
+107
-26
No files matched your search
@@ -5,7 +5,6 @@ set -e
|
||||
# Remove this hook after use
|
||||
rm -f "$0"
|
||||
|
||||
(
|
||||
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 &
|
||||
if [[ -n $(omarchy-notification-send -u critical -g "Install Dictation with Voxtype" "Click to install voice dictation for Omarchy." -a) ]]; then
|
||||
omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
|
||||
fi >/dev/null 2>&1 &
|
||||
Reference in new issue
Block a user