aboutsummaryrefslogtreecommitdiff
path: root/Window_Manager/ratpoison/ratpoisonrc.conf
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-10-20 19:18:44 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-10-20 19:18:44 +0100
commit22ce552cd41ea10366e367dd833f1d95c02007d1 (patch)
tree683a890709803a36b7af91f8331ef236900fd9cf /Window_Manager/ratpoison/ratpoisonrc.conf
parent4b164c41403a5170a667e473f00846133fbdc18d (diff)
downloaddotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.tar.gz
dotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.tar.bz2
dotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.zip
fix volume control for mopidy
Diffstat (limited to 'Window_Manager/ratpoison/ratpoisonrc.conf')
-rw-r--r--Window_Manager/ratpoison/ratpoisonrc.conf17
1 files changed, 9 insertions, 8 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf
index c8c4a04..67d432b 100644
--- a/Window_Manager/ratpoison/ratpoisonrc.conf
+++ b/Window_Manager/ratpoison/ratpoisonrc.conf
@@ -47,9 +47,10 @@ alias showpanel set padding 0 24 0 0
alias hidepanel set padding 0 0 0 0
showpanel
+
alias showborder set border 3
alias hideborder set border 0
-showborder
+bordscript
######################################
# Panel
@@ -292,13 +293,13 @@ alias songinfo exec ratpoison -c "echo Music: `mpc -h 127.0.0.1 | head -1`"
# Play/Pause and Volume
-definekey top s-space exec mpc -h 127.0.0.1 toggle && ratpoison -c 'playinfo'
-definekey top s-Right exec mpc -h 127.0.0.1 next && ratpoison -c "songinfo"
-definekey top s-Left exec mpc -h 127.0.0.1 prev && ratpoison -c "songinfo"
-definekey top s-Up exec mpc -h 127.0.0.1 volume +5 && ratpoison -c "volinfo"
-definekey top s-w exec mpc -h 127.0.0.1 volume +5 && ratpoison -c "volinfo"
-definekey top s-Down exec mpc -h 127.0.0.1 volume -5 && ratpoison -c 'volinfo'
-definekey top s-r exec mpc -h 127.0.0.1 volume -5 && ratpoison -c "volinfo"
+definekey top s-space exec mpc -h 127.0.0.1 toggle #&& ratpoison -c 'playinfo'
+definekey top s-Right exec mpc -h 127.0.0.1 next #&& ratpoison -c "songinfo"
+definekey top s-Left exec mpc -h 127.0.0.1 prev #&& ratpoison -c "songinfo"
+definekey top s-Up exec mpc -h 127.0.0.1 volume +5 #&& ratpoison -c "volinfo"
+definekey top s-w exec mpc -h 127.0.0.1 volume 5+ #&& ratpoison -c "volinfo"
+definekey top s-Down exec mpc -h 127.0.0.1 volume -5 #&& ratpoison -c 'volinfo'
+definekey top s-r exec mpc -h 127.0.0.1 volume 5- #&& ratpoison -c "volinfo"
# Old cmus controls
#definekey top s-space exec cmus-remote -u && ratpoison -c "playinfo"