diff options
author | Vasil Zlatanov <v@skozl.com> | 2016-10-13 18:59:56 +0100 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2016-10-13 18:59:56 +0100 |
commit | 1c221916600457d945094c1df59f0756aca19367 (patch) | |
tree | 1df16feeb97f6b1ef5cf2520391afa52d520563e /Window_Manager/ratpoison | |
parent | d8ef5bd598171ed3d7680ca73995f16397c37b5c (diff) | |
download | dotfiles-1c221916600457d945094c1df59f0756aca19367.tar.gz dotfiles-1c221916600457d945094c1df59f0756aca19367.tar.bz2 dotfiles-1c221916600457d945094c1df59f0756aca19367.zip |
Use native ratpoison workspace
Diffstat (limited to 'Window_Manager/ratpoison')
-rw-r--r-- | Window_Manager/ratpoison/ratpoisonrc.conf | 119 |
1 files changed, 60 insertions, 59 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf index 2de341c..2cc873e 100644 --- a/Window_Manager/ratpoison/ratpoisonrc.conf +++ b/Window_Manager/ratpoison/ratpoisonrc.conf @@ -48,9 +48,10 @@ alias hidepanel set padding 0 0 0 0 showpanel -alias showborder set border 3 +alias showborder set border 2 alias hideborder set border 0 -bordscript +showborder +#bordscript ###################################### # Panel @@ -83,59 +84,59 @@ unmanage ratbar.pl #bind W workspace_menu -#Get F-keys to switch windows now in /usr/bin/rpws -definekey top F1 exec rpws 1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F2 exec rpws 2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F3 exec rpws 3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F4 exec rpws 4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F5 exec rpws 5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F6 exec rpws 6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F7 exec rpws 7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F8 exec rpws 8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F9 exec rpws 9 && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F10 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript & xset -led named "Scroll Lock" -definekey top F11 exec rpws 11 && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top F12 exec rpws 12 && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript - -definekey top s-1 exec rpws 1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-2 exec rpws 2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-3 exec rpws 3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-4 exec rpws 4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-5 exec rpws 5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-6 exec rpws 6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-7 exec rpws 7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-8 exec rpws 8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-9 exec rpws 9 && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript -definekey top s-0 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" & ratpoison -c barsend && ratpoison -c bordscript - - - -definekey top M-F1 exec ratpoison -c rpwsm1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F2 exec ratpoison -c rpwsm2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F3 exec ratpoison -c rpwsm3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F4 exec ratpoison -c rpwsm4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F5 exec ratpoison -c rpwsm5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F6 exec ratpoison -c rpwsm6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F7 exec ratpoison -c rpwsm7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F8 exec ratpoison -c rpwsm8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F9 exec ratpoison -c rpwsm9 printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F10 exec ratpoison -c rpwsm10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" && ratpoison -c barsend -definekey top M-F11 exec ratpoison -c rpwsm11 && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-F12 exec ratpoison -c rpwsm12 && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend - -definekey top M-s-1 exec ratpoison -c rpwsm1 && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-2 exec ratpoison -c rpwsm2 && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-3 exec ratpoison -c rpwsm3 && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-4 exec ratpoison -c rpwsm4 && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-5 exec ratpoison -c rpwsm5 && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-6 exec ratpoison -c rpwsm6 && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-7 exec ratpoison -c rpwsm7 && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-8 exec ratpoison -c rpwsm8 && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-9 exec ratpoison -c rpwsm9 printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend -definekey top M-s-0 exec ratpoison -c rpwsm10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" && ratpoison -c barsend - -definekey top S-F1 exec rpws 13 && echo "D13" > /tmp/panel-fifo && ratpoison -c barsend -definekey top S-M-F1 exec ratpoison -c rpwsm13 && echo "D13" > /tmp/panel-fifo && ratpoison -c barsend +#Switching workspaces +definekey top F1 exec ratpoison -c 'vselect 1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F2 exec ratpoison -c 'vselect 2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F3 exec ratpoison -c 'vselect 3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F4 exec ratpoison -c 'vselect 4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F5 exec ratpoison -c 'vselect 5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F6 exec ratpoison -c 'vselect 6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F7 exec ratpoison -c 'vselect 7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F8 exec ratpoison -c 'vselect 8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F9 exec ratpoison -c 'vselect 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F10 exec ratpoison -c 'vselect 10' && printf "D10\nIclear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript & xset -led named "Scroll Lock" +definekey top F11 exec ratpoison -c 'vselect 11' && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top F12 exec ratpoison -c 'vselect 12' && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript + +definekey top s-1 exec ratpoison -c 'vselect 1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-2 exec ratpoison -c 'vselect 2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-3 exec ratpoison -c 'vselect 3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-4 exec ratpoison -c 'vselect 4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-5 exec ratpoison -c 'vselect 5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-6 exec ratpoison -c 'vselect 6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-7 exec ratpoison -c 'vselect 7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-8 exec ratpoison -c 'vselect 8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-9 exec ratpoison -c 'vselect 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript +definekey top s-0 exec ratpoison -c 'vselect 10' && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" & ratpoison -c barsend && ratpoison -c bordscript + + + +definekey top M-F1 exec ratpoison -c 'vmove 1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F2 exec ratpoison -c 'vmove 2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F3 exec ratpoison -c 'vmove 3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F4 exec ratpoison -c 'vmove 4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F5 exec ratpoison -c 'vmove 5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F6 exec ratpoison -c 'vmove 6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F7 exec ratpoison -c 'vmove 7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F8 exec ratpoison -c 'vmove 8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F9 exec ratpoison -c 'vmove 9' && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F10 exec ratpoison -c 'vmove 10' && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" && ratpoison -c barsend +definekey top M-F11 exec ratpoison -c 'vmove 11' && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-F12 exec ratpoison -c 'vmove 12' && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend + +definekey top M-s-1 exec ratpoison -c 'vmove 1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-2 exec ratpoison -c 'vmove 2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-3 exec ratpoison -c 'vmove 3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-4 exec ratpoison -c 'vmove 4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-5 exec ratpoison -c 'vmove 5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-6 exec ratpoison -c 'vmove 6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-7 exec ratpoison -c 'vmove 7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-8 exec ratpoison -c 'vmove 8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-9 exec ratpoison -c 'vmove 9' printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend +definekey top M-s-0 exec ratpoison -c 'vmove 10' && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" && ratpoison -c barsend + +definekey top S-F1 exec ratpoison -c 'vselect 13' && echo "D13" > /tmp/panel-fifo && ratpoison -c barsend +definekey top S-M-F1 exec ratpoison -c 'vmove 13' && echo "D13" > /tmp/panel-fifo && ratpoison -c barsend @@ -154,8 +155,8 @@ definekey top S-M-F1 exec ratpoison -c rpwsm13 && echo "D13" > /tmp/panel-fifo & -definekey top S-F12 exec rpws 13 -definekey top M-S-F12 rpwsm13 +definekey top S-F12 exec ratpoison -c 'vselect 1'3 +definekey top M-S-F12 'vmove 1'3 #------------------------------------------------------------- @@ -208,7 +209,7 @@ alias paneltoggle exec ~/.config/ratpoison/paneltoggle -addhook key bordscript +#addhook key bordscript definekey top s-b bordtoggle definekey top s-p paneltoggle @@ -224,7 +225,7 @@ alias browse_selection exec .config/ratpoison/exec_to_workspace 2 vimb `ratpoiso bind B banish # Paste with X selection -alias insert_X_selection exec ~/bin/paste +alias insert_X_selection meta S-Insert bind i insert_X_selection |