aboutsummaryrefslogtreecommitdiff
path: root/Window_Manager/ratpoison
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-11-24 14:41:02 +0000
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-11-24 14:41:02 +0000
commitf448749fa10b55d2b819ece0afb6639402bcd76c (patch)
tree066ba6a9d3cc8426039b9593a98f93cce69cece8 /Window_Manager/ratpoison
parent7f67f59fe55ba4e9c03ecf20b5114101a81a8624 (diff)
downloaddotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.tar.gz
dotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.tar.bz2
dotfiles-f448749fa10b55d2b819ece0afb6639402bcd76c.zip
massive performance and bug fixes
Diffstat (limited to 'Window_Manager/ratpoison')
-rw-r--r--Window_Manager/ratpoison/ratpoisonrc.conf116
-rwxr-xr-xWindow_Manager/ratpoison/wp4
2 files changed, 61 insertions, 59 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf
index 642d410..f47909c 100644
--- a/Window_Manager/ratpoison/ratpoisonrc.conf
+++ b/Window_Manager/ratpoison/ratpoisonrc.conf
@@ -5,7 +5,10 @@ escape grave
definekey top s-grave meta
definekey top Arabic_dammatan meta
-set quiet 1
+#set quiet 1
+
+
+set historyexpansion 1
#find files script
bind f exec ~/.config/ratpoison/spotlight
@@ -46,8 +49,7 @@ exec xsetroot -cursor_name left_ptr
#Border & Padding
alias showpanel set padding 0 24 0 0
alias hidepanel set padding 0 0 0 0
-hidepanel
-
+showpanel
alias showborder set border 2
alias hideborder set border 0
@@ -67,10 +69,10 @@ unmanage stalonetray
# hooks
addhook switchwin barsend
-addhook deletewindow barsend
+#addhook deletewindow barsend
addhook switchframe barsend
addhook switchgroup barsend
-addhook titlechanged barsend
+#addhook titlechanged barsend
#addhook key barsend
unmanage conky
@@ -87,56 +89,56 @@ unmanage ratbar.pl
#Switching workspaces
-definekey top F1 exec ratpoison -c 'rpws1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F2 exec ratpoison -c 'rpws2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F3 exec ratpoison -c 'rpws3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F4 exec ratpoison -c 'rpws4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F5 exec ratpoison -c 'rpws5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F6 exec ratpoison -c 'rpws6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F7 exec ratpoison -c 'rpws7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F8 exec ratpoison -c 'rpws8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F9 exec ratpoison -c 'rpws9' && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F10 exec ratpoison -c 'rpws10' && printf "D10\nIclear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript & xset -led named "Scroll Lock"
-definekey top F11 exec ratpoison -c 'rpws11' && echo "D11" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top F12 exec ratpoison -c 'rpws12' && echo "D12" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-
-definekey top s-1 exec ratpoison -c 'rpws1' && echo "D1" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-2 exec ratpoison -c 'rpws2' && echo "D2" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-3 exec ratpoison -c 'rpws3' && echo "D3" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-4 exec ratpoison -c 'rpws4' && echo "D4" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-5 exec ratpoison -c 'rpws5' && echo "D5" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-6 exec ratpoison -c 'rpws6' && echo "D6" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-7 exec ratpoison -c 'rpws7' && echo "D7" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-8 exec ratpoison -c 'rpws8' && echo "D8" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-9 exec ratpoison -c 'rpws9' && printf "D9\nIxlear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript
-definekey top s-0 exec ratpoison -c 'rpws10' && printf "D10\nIclear\n" > /tmp/panel-fifo && ratpoison -c barsend && ratpoison -c bordscript & xset -led named "Scroll Lock"
-
-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 ratpoison -c 'rpws13' && 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
+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 && ratpoison -c barsend && ratpoison -c bordscript & xset -led named "Scroll Lock"
+
+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
@@ -155,8 +157,8 @@ definekey top S-M-F1 exec ratpoison -c 'rpwsm13' && echo "D13" > /tmp/panel-fifo
-definekey top S-F12 exec ratpoison -c 'rpws13'
-definekey top M-S-F12 'rpwsm13'
+definekey top S-F12 exec ratpoison -c 'vselect 13'
+definekey top M-S-F12 'vmove 13'
#-------------------------------------------------------------
diff --git a/Window_Manager/ratpoison/wp b/Window_Manager/ratpoison/wp
index 048484d..ed3d0e3 100755
--- a/Window_Manager/ratpoison/wp
+++ b/Window_Manager/ratpoison/wp
@@ -248,8 +248,8 @@ Actions
#:: End function declaration, begin executing
main $*
~/.config/bspwm/colors
-#pkill panel
-#~/bin/panel & disown
+pkill panel
+~/bin/panel & disown
source ~/.colors
#convert -font DejaVuSansB -pointsize 30 -stroke $COLOR0 -strokewidth 1 -fill $COLOR11 -draw 'text 70,60 "Vasil Zlatanov -> +46 723537981 vasil.zlatanov@gmail.com" ' $background ~/.wallpaper.png &
convert $background ~/.wallpaper.png &