Files
arthur-os/bin/omarchy-restart-app
T

8 lines
203 B
Bash
Executable File

#!/bin/bash
# Restart an application by killing it and relaunching via uwsm.
# Usage: omarchy-restart-app <application-name> [application-args...]
pkill -x $1
setsid uwsm-app -- "$@" >/dev/null 2>&1 &