aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Window_Manager/ratpoison/ratpoisonrc.conf122
-rw-r--r--Window_Manager/ratpoisonrc2
2 files changed, 52 insertions, 72 deletions
diff --git a/Window_Manager/ratpoison/ratpoisonrc.conf b/Window_Manager/ratpoison/ratpoisonrc.conf
index 5c2f785..a240448 100644
--- a/Window_Manager/ratpoison/ratpoisonrc.conf
+++ b/Window_Manager/ratpoison/ratpoisonrc.conf
@@ -72,6 +72,7 @@ addhook switchwin barsend
#addhook deletewindow barsend
addhook switchframe barsend
addhook switchgroup barsend
+addhook switchgroup bordscript
#addhook titlechanged barsend
#addhook key barsend
@@ -89,77 +90,56 @@ unmanage ratbar.pl
#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 && 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
-
-
-
-#definekey top s-F1 exec ratpoison -c 'meta F1'
-#definekey top s-F2 exec ratpoison -c 'meta F2'
-#definekey top s-F3 exec ratpoison -c 'meta F3'
-#definekey top s-F4 exec ratpoison -c 'meta F4'
-#definekey top s-F5 exec ratpoison -c 'meta F5'
-#definekey top s-F6 exec ratpoison -c 'meta F6'
-#definekey top s-F7 exec ratpoison -c 'meta F7'
-#definekey top s-F8 exec ratpoison -c 'meta F8'
-#definekey top s-F9 exec ratpoison -c 'meta F9'
-#definekey top s-F10 exec ratpoison -c 'meta F10'
-#definekey top s-F11 exec ratpoison -c 'meta F11'
-#definekey top s-F12 exec ratpoison -c 'meta F12'
-
-
-
-definekey top S-F12 exec ratpoison -c 'vselect 13'
-definekey top M-S-F12 'vmove 13'
-
+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
diff --git a/Window_Manager/ratpoisonrc b/Window_Manager/ratpoisonrc
index 74acc14..b669e98 100644
--- a/Window_Manager/ratpoisonrc
+++ b/Window_Manager/ratpoisonrc
@@ -1,4 +1,4 @@
-set virtuals 24
+set virtuals 12
vinit
chdir
alias config source .tools/ratpoisonrc.conf