Run every terminal launch through one dispatcher with fallbacks

This commit is contained in:
SirBlob committed 2026-09-21 02:10:01 +00:00
1 parent d316308bf5
commit 90c22b4e0c
15 files changed
+88 -26

No files matched your search

+1 -10
View File
@@ -3,13 +3,4 @@
# blob:summary=Launch the default terminal
# blob:args=[command [args...]]
if blob-cmd-present xdg-terminal-exec; then
exec setsid uwsm-app -- xdg-terminal-exec "$@"
fi
for terminal in foot kitty; do
blob-cmd-present "$terminal" && exec setsid uwsm-app -- "$terminal" "$@"
done
blob-notify-send "No terminal installed" "Install xdg-terminal-exec, foot or kitty."
exit 1
exec setsid uwsm-app -- blob-terminal-exec "$@"