myhome/.local/bin/cmus-shell

5 lines
94 B
Plaintext
Raw Normal View History

2020-05-09 13:43:39 +02:00
#!/bin/bash
if ! screen -r -D cmus >/dev/null ; then
screen -S cmus /usr/bin/cmus "$@"
fi