Files
Nomarchy/bin/nomarchy-launch-floating-terminal-with-presentation
Bernardo Magri 33deeb494b initial commit
2026-04-01 17:06:01 +01:00

8 lines
402 B
Bash
Executable File

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