myhome/.local/bin/cmus-shell

5 lines
94 B
Plaintext
Raw Permalink Normal View History

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