diff --git a/bin/omarchy-launch-floating-terminal-with-presentation b/bin/omarchy-launch-floating-terminal-with-presentation new file mode 100755 index 0000000..ecba263 --- /dev/null +++ b/bin/omarchy-launch-floating-terminal-with-presentation @@ -0,0 +1,4 @@ +#!/bin/bash + +cmd="$*" +setsid alacritty --class Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done" diff --git a/bin/omarchy-launch-terminal-with-presentation b/bin/omarchy-launch-terminal-with-presentation deleted file mode 100755 index bae701e..0000000 --- a/bin/omarchy-launch-terminal-with-presentation +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cmd="$*" -setsid alacritty -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done" diff --git a/bin/omarchy-menu b/bin/omarchy-menu index f5179cb..8569d18 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -26,7 +26,7 @@ terminal() { } present_terminal() { - alacritty --class Omarchy -e bash -c "omarchy-show-logo; eval \"$1\"; omarchy-show-done;" + omarchy-launch-floating-terminal-with-presentation $1 } edit_in_nvim() { diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index b8c02f6..ab1cf55 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -46,7 +46,7 @@ "custom/update": { "format": "", "exec": "omarchy-update-available", - "on-click": "omarchy-launch-terminal-with-presentation omarchy-update", + "on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update", "tooltip-format": "Omarchy update available", "interval": 3600 },