#!/bin/bash
set -e

# Launch the TUI command passed in as an argument in the default terminal with an org.nomarchy.COMMAND app id for styling.

exec setsid uwsm-app -- xdg-terminal-exec --app-id=org.nomarchy.$(basename $1) -e "$1" "${@:2}"
