aboutsummaryrefslogtreecommitdiff
path: root/cmusPlay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cmusPlay.sh')
-rwxr-xr-xcmusPlay.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmusPlay.sh b/cmusPlay.sh
index 5a8f8fa..e60dc45 100755
--- a/cmusPlay.sh
+++ b/cmusPlay.sh
@@ -1,10 +1,12 @@
#!/bin/sh
+tmux=""
[ -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
+ urxvt -title floating -geometry "159x15+44+450" -cd ~/music -e $tmux cmus
else
cmus-remote -u
fi
pkill -SIGRTMIN+12 i3blocks
+