diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-10-20 19:18:44 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-10-20 19:18:44 +0100 |
commit | 22ce552cd41ea10366e367dd833f1d95c02007d1 (patch) | |
tree | 683a890709803a36b7af91f8331ef236900fd9cf /Window_Manager/ratpoison | |
parent | 4b164c41403a5170a667e473f00846133fbdc18d (diff) | |
download | dotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.tar.gz dotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.tar.bz2 dotfiles-22ce552cd41ea10366e367dd833f1d95c02007d1.zip |
fix volume control for mopidy
Diffstat (limited to 'Window_Manager/ratpoison')
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.conf | 17 | ||||
-rwxr-xr-x | Window_Manager/ratpoison/time | 1 |
2 files changed, 9 insertions, 9 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" 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 ` `" |