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

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

pkill -SIGRTMIN+12 i3blocks