myhome/.local/bin/cmus-shell

5 lines
94 B
Bash
Executable File

#!/bin/bash
if ! screen -r -D cmus >/dev/null ; then
screen -S cmus /usr/bin/cmus "$@"
fi