From 22ce552cd41ea10366e367dd833f1d95c02007d1 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Tue, 20 Oct 2015 19:18:44 +0100 Subject: fix volume control for mopidy --- Window_Manager/ratpoison/ratpoisonrc.conf | 17 +++++++++-------- Window_Manager/ratpoison/time | 1 - 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'Window_Manager/ratpoison') 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" diff --git a/Window_Manager/ratpoison/time b/Window_Manager/ratpoison/time index 4e3cbfc..31542c2 100755 --- a/Window_Manager/ratpoison/time +++ b/Window_Manager/ratpoison/time @@ -4,4 +4,3 @@ do ratpoison -c "echo `ratpoison -c "time"`" sleep 1 done -ratpoison -c "echo ` `" -- cgit v1.2.3-54-g00ecf