Skip to content

Instantly share code, notes, and snippets.

@rhtyd rhtyd/termDJ
Created Nov 23, 2010

Embed
What would you like to do?
termDJ
# 2 Minutes Terminal Dj using cmus
mix(){ cmus-remote -n -k 40; }
dj(){ while [ 1==1 ]; do mix; sleep 16; done };
nohup cmus &
echo "Warning nohup may cause size of nohup.out in GBs when played for a longer time..."
cmus-remote -p
echo "Running termDJ, Ctrl+C to break"
dj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.