Files
dotfiles/.local/bin/station-launch-floating-terminal-with-presentation

8 lines
396 B
Plaintext
Raw Permalink Normal View History

2026-03-06 21:09:52 +00:00
#!/bin/bash
# Launch a floating terminal with the Station logo presentation, then execute the command passed in, and finally end with the station-show-done presentation.
# Used by actions such as Update System.
cmd="$*"
exec setsid uwsm-app -- xdg-terminal-exec --app-id=org.station.terminal --title=Station -e bash -c "station-show-logo; $cmd; if (( \$? != 130 )); then station-show-done; fi"