From f4dc296be867c8a14cec0edae58ffa4bbabd2131 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 26 Sep 2015 03:35:30 +0200 Subject: browser and wm improvements --- Window_Manager/ratpoison/ratpoisonrc.conf | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'Window_Manager/ratpoison') diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index bc0a7c0..dfa781f 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -95,6 +95,19 @@ definekey top F10 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xse definekey top F11 exec rpws 11 && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend definekey top F12 exec rpws 12 && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-1 exec rpws 1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-2 exec rpws 2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-3 exec rpws 3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-4 exec rpws 4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-5 exec rpws 5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-6 exec rpws 6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-7 exec rpws 7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-8 exec rpws 8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-9 exec rpws 9 && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend +definekey top s-0 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" & ratpoison -c barsend + + + definekey top M-F1 rpwsm1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend definekey top M-F2 rpwsm2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend definekey top M-F3 rpwsm3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend @@ -233,7 +246,7 @@ definekey top s-f exec firefox definekey top s-u exec uzbl-browser definekey top s-v exec vimb definekey top s-h exec ~/.config/vimb/history-search -definekey top s-g exec gvim +#definekey top s-g exec gvim #definekey top s-l exec libreoffice #----------------------------------------------------- @@ -249,12 +262,14 @@ alias volup exec amixer -q set Master 5+ && ratpoison -c "echo `$HOME/.config/ra definekey top XF86AudioRaiseVolume volup definekey top s-Prior volup +iefinekey top s-q volup # Down alias voldown exec amixer -q set Master 5- && ratpoison -c "echo `$HOME/.config/ratpoison/volind`" & volume -f 'V%i' > /tmp/panel-fifo definekey top XF86AudioLowerVolume voldown definekey top s-Next voldown +definekey top s-a voldown # Mute alias voltoggle exec amixer -D pulse set Master toggle && ratpoison -c "echo Sound: `amixer get Master|awk '/Mono:/ {print $6}'`" @@ -272,10 +287,12 @@ definekey top XF86MonBrightnessUp brightup definekey top XF86MonBrightnessDown brightdown definekey top s-Home brightup +definekey top s-g brightup definekey top s-End brightdown +definekey top s-d brightdown #------------------------------------------------------------- -# Cmus (Music) Control +# MPD (Music) Control #------------------------------------------------------------- # Aliases alias playinfo exec ratpoison -c "echo Music: `mpc -h 127.0.0.1 | head -2 | tail -1 | awk '{print $1}'`" @@ -290,9 +307,10 @@ alias songinfo exec ratpoison -c "echo Music: `mpc -h 127.0.0.1 | head -1`" 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 && ratopison -c "volinfo" -definekey top s-Up exec mpc -h 127.0.0.1 volume +5 && ratpoison -c 'volinfo' +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" -- cgit v1.2.3-54-g00ecf