aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-05-07 23:50:01 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-05-07 23:50:01 +0200
commit342678d45fb132d0a08f315123a468c4bfbc2731 (patch)
tree00579e11848bfb1465da8222cd3db31a27b4a4f4
parentbc1bcb58fe03dd7e820440943568d47374bbfd6f (diff)
downloadscripts-342678d45fb132d0a08f315123a468c4bfbc2731.tar.gz
scripts-342678d45fb132d0a08f315123a468c4bfbc2731.zip
Reshaped cmus terminal.
-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
+