aboutsummaryrefslogtreecommitdiff
path: root/cmusPlay.sh
blob: 5a8f8fa0bfea0030f2f42a29afb859493dd9a5a9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

[ -f "/usr/bin/tmux" ] && tmux="tmux new-session -s cmus"
if ! pgrep -x cmus ; then
	urxvt -title floating -sh 20 -geometry "185x15+30-28" -cd ~/music -e $tmux cmus
else
	cmus-remote -u
fi

pkill -SIGRTMIN+12 i3blocks