From fa054b62e97dabc9b5a23cb007ee2fa613607514 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Wed, 4 Jan 2017 15:02:39 +0000 Subject: major updates --- Window_Manager/ratpoison/firesend | 2 +- Window_Manager/ratpoison/ratpoisonrc.conf | 67 ++----------------------------- 2 files changed, 4 insertions(+), 65 deletions(-) (limited to 'Window_Manager/ratpoison') diff --git a/Window_Manager/ratpoison/firesend b/Window_Manager/ratpoison/firesend index 7ab8529..fb028b6 100755 --- a/Window_Manager/ratpoison/firesend +++ b/Window_Manager/ratpoison/firesend @@ -1,2 +1,2 @@ #!/bin/bash -$HOME/.config/ratpoison/exec_to_workspace 2 vimb $@ > /dev/null 2>&1 +vimb $@ > /dev/null 2>&1 diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index 0a940aa..f6f26e6 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -76,70 +76,6 @@ addhook switchgroup bordscript #addhook titlechanged barsend #addhook key barsend -unmanage conky -unmanage ratbar.pl -#------------------------------------------------------------- -# Workspaces -#------------------------------------------------------------- - - -# Switcher window -#alias workspace_menu exec .config/ratpoison/workspace_menu -#bind W workspace_menu - - -#Switching workspaces -definekey top F1 exec ratpoison -c 'vselect 1' && echo "D1" > /tmp/panel-fifo -definekey top F2 exec ratpoison -c 'vselect 2' && echo "D2" > /tmp/panel-fifo -definekey top F3 exec ratpoison -c 'vselect 3' && echo "D3" > /tmp/panel-fifo -definekey top F4 exec ratpoison -c 'vselect 4' && echo "D4" > /tmp/panel-fifo -definekey top F5 exec ratpoison -c 'vselect 5' && echo "D5" > /tmp/panel-fifo -definekey top F6 exec ratpoison -c 'vselect 6' && echo "D6" > /tmp/panel-fifo -definekey top F7 exec ratpoison -c 'vselect 7' && echo "D7" > /tmp/panel-fifo -definekey top F8 exec ratpoison -c 'vselect 8' && echo "D8" > /tmp/panel-fifo -definekey top F9 exec ratpoison -c 'vselect 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo -definekey top F10 exec ratpoison -c 'vselect 10' && printf "D10\nIclear\n" > /tmp/panel-fifo -definekey top F11 exec ratpoison -c 'vselect 11' && echo "D11" > /tmp/panel-fifo -definekey top F12 exec ratpoison -c 'vselect 12' && echo "D12" > /tmp/panel-fifo - -definekey top s-1 exec ratpoison -c 'vselect 1' && echo "D1" > /tmp/panel-fifo -definekey top s-2 exec ratpoison -c 'vselect 2' && echo "D2" > /tmp/panel-fifo -definekey top s-3 exec ratpoison -c 'vselect 3' && echo "D3" > /tmp/panel-fifo -definekey top s-4 exec ratpoison -c 'vselect 4' && echo "D4" > /tmp/panel-fifo -definekey top s-5 exec ratpoison -c 'vselect 5' && echo "D5" > /tmp/panel-fifo -definekey top s-6 exec ratpoison -c 'vselect 6' && echo "D6" > /tmp/panel-fifo -definekey top s-7 exec ratpoison -c 'vselect 7' && echo "D7" > /tmp/panel-fifo -definekey top s-8 exec ratpoison -c 'vselect 8' && echo "D8" > /tmp/panel-fifo -definekey top s-9 exec ratpoison -c 'vselect 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo -definekey top s-0 exec ratpoison -c 'vselect 10' && printf "D10\nIclear\n" > /tmp/panel-fifo - -definekey top M-F1 exec ratpoison -c 'vmove 1' && echo "D1" > /tmp/panel-fifo -definekey top M-F2 exec ratpoison -c 'vmove 2' && echo "D2" > /tmp/panel-fifo -definekey top M-F3 exec ratpoison -c 'vmove 3' && echo "D3" > /tmp/panel-fifo -definekey top M-F4 exec ratpoison -c 'vmove 4' && echo "D4" > /tmp/panel-fifo -definekey top M-F5 exec ratpoison -c 'vmove 5' && echo "D5" > /tmp/panel-fifo -definekey top M-F6 exec ratpoison -c 'vmove 6' && echo "D6" > /tmp/panel-fifo -definekey top M-F7 exec ratpoison -c 'vmove 7' && echo "D7" > /tmp/panel-fifo -definekey top M-F8 exec ratpoison -c 'vmove 8' && echo "D8" > /tmp/panel-fifo -definekey top M-F9 exec ratpoison -c 'vmove 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo -definekey top M-F10 exec ratpoison -c 'vmove 10' && printf "D10\nIclear\n" > /tmp/panel-fifo -definekey top M-F11 exec ratpoison -c 'vmove 11' && echo "D11" > /tmp/panel-fifo -definekey top M-F12 exec ratpoison -c 'vmove 12' && echo "D12" > /tmp/panel-fifo - -definekey top M-s-1 exec ratpoison -c 'vmove 1' && echo "D1" > /tmp/panel-fifo -definekey top M-s-2 exec ratpoison -c 'vmove 2' && echo "D2" > /tmp/panel-fifo -definekey top M-s-3 exec ratpoison -c 'vmove 3' && echo "D3" > /tmp/panel-fifo -definekey top M-s-4 exec ratpoison -c 'vmove 4' && echo "D4" > /tmp/panel-fifo -definekey top M-s-5 exec ratpoison -c 'vmove 5' && echo "D5" > /tmp/panel-fifo -definekey top M-s-6 exec ratpoison -c 'vmove 6' && echo "D6" > /tmp/panel-fifo -definekey top M-s-7 exec ratpoison -c 'vmove 7' && echo "D7" > /tmp/panel-fifo -definekey top M-s-8 exec ratpoison -c 'vmove 8' && echo "D8" > /tmp/panel-fifo -definekey top M-s-9 exec ratpoison -c 'vmove 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo -definekey top M-s-0 exec ratpoison -c 'vmove 10' && printf "D10\nIclear\n" > /tmp/panel-fifo - -definekey top S-F1 exec ratpoison -c 'vselect 13' && echo "D13" > /tmp/panel-fifo -definekey top S-M-F1 exec ratpoison -c 'vmove 13' && echo "D13" > /tmp/panel-fifo - #------------------------------------------------------------- #Bindings #------------------------------------------------------------- @@ -223,6 +159,7 @@ definekey top s-x colon stop definekey top s-f exec firefox definekey top s-v exec vimb +definekey top s-V exec mpv `xclip -o` --ytdl-format=22 definekey top s-h exec ~/.config/vimb/history-search #definekey top s-g exec gvim #definekey top s-l exec libreoffice @@ -294,6 +231,8 @@ 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" #definekey top s-Right exec cmus-remote -n && ratpoison -c "songinfo" -- cgit v1.2.3-54-g00ecf