From 26a62982eab36ee68608a61306e6fab6447edd8a Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sat, 8 Aug 2015 12:38:43 +0200 Subject: Fix many bar bugs and improve ratpoison config --- tools/ratpoisonrc.conf | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'tools/ratpoisonrc.conf') diff --git a/tools/ratpoisonrc.conf b/tools/ratpoisonrc.conf index a40ce54..f441830 100644 --- a/tools/ratpoisonrc.conf +++ b/tools/ratpoisonrc.conf @@ -20,8 +20,8 @@ bind Tab nextscreen #have windows centered set wingravity center -# Use the name of the program rather than the title in the window list -set winname class +# Set name to be title +set winname title #Pest control. banish @@ -61,7 +61,7 @@ unmanage stalonetray # hooks addhook switchwin barsend -addhook deletewindow barsend +#addhook deletewindow barsend addhook switchframe barsend addhook switchgroup barsend #addhook titlechanged barsend @@ -86,7 +86,7 @@ definekey top F3 exec rpws 3 && echo "D3" > /tmp/panel-fifo #&& ratpoison -c bor definekey top F4 exec rpws 4 && echo "D4" > /tmp/panel-fifo #&& ratpoison -c bordscript definekey top F5 exec rpws 5 && echo "D5" > /tmp/panel-fifo #&& ratpoison -c bordscript definekey top F6 exec rpws 6 && echo "D6" > /tmp/panel-fifo #&& ratpoison -c bordscript -definekey top F7 exec rpws 7 && echo "D8" > /tmp/panel-fifo #&& ratpoison -c bordscript +definekey top F7 exec rpws 7 && echo "D7" > /tmp/panel-fifo #&& ratpoison -c bordscript definekey top F8 exec rpws 8 && echo "D8" > /tmp/panel-fifo #&& ratpoison -c bordscript definekey top F9 exec rpws 9 && printf "D9\nIxlear\n" > /tmp/panel-fifo #&& ratpoison -c bordscript definekey top F10 exec rpws 10 && printf "D10\nIclear\n" > /tmp/panel-fifo & xset -led named "Scroll Lock" #&& ratpoison -c bordscript @@ -155,7 +155,8 @@ bind K exchangeup bind w window_menu bind a exec ratpoison -i -c 'title' && ratpoison -c 'barsend' -bind t time +bind t exec ~/bin/passenter +bind T exec ~/bin/passmake definekey top s-l exec i3lock -n -i ~/.wallpaper.png definekey top s-s exec ~/bin/sus definekey top s-L redisplay @@ -176,9 +177,8 @@ bind Escape abort bind m exec xfce4-popup-applicationsmenu #Paste goodness -bind g exec ~/bin/imgur -bind P exec xclip -o | curl -F 'sprunge=<-' http://sprunge.us | xclip - +bind g exec ~/bin/safeimg +bind P exec ~/bin/safepaste alias bordtoggle exec ~/.tools/bordtoggle alias bordscript exec ~/.tools/borderscript @@ -200,7 +200,7 @@ alias browse colon browse_cmd bind b browse # B : open a new firefox tab and browse to the X clipboard selection alias browse_selection exec .tools/exec_to_workspace 2 vimb `ratpoison -c getsel` -bind B browse_selection +bind B banish # Paste with X selection alias insert_X_selection meta S-Insert @@ -213,7 +213,6 @@ bind i insert_X_selection definekey top s-f exec firefox definekey top s-u exec uzbl-browser -definekey top s-m exec /home/vasko/.tools/pentfocus definekey top s-v exec vimb definekey top s-g exec gvim #definekey top s-l exec libreoffice -- cgit v1.2.3-54-g00ecf