# This is a sample .ratpoisonrc file # # $Id: sample.ratpoisonrc,v 1.5 2003/04/06 10:28:10 sabetts Exp $ # Set the prefix key to that of screen's default escape M-k #rudeness 4 rudeness 12 warp off #addhook switchwin windows addhook key windows addhook key banish addhook key curframe # addhook switchgroup windows #bind a exec ratpoison -d :0.0 -c " echo `date +'%r - %A %n %D - %B'` `cal | tail +2 | sed -e 's/^Su/\n\n Su/' -e 's/.*/ & /' -e \"s/\ $(date +%e)\ /\<$(date +%e)\>/\"`" #default: Change window name bind A title bind a exec /bin/sh /home/nesaro/app/ratpoison-1.4.0-beta2/contrib/rpshowall.sh 2 bind b colon exec bind C exec xterm -bg black -fg white -fa '' -fs 12 bind c exec xterm -bg black -fg white bind G colon gnew bind k meta bind o exec /home/nesaro/bin/firefox bind O exec /home/nesaro/app/firefox/firefox bind q exec /home/nesaro/inform/code/ratresize.rb bind w exec /home/nesaro/app/ratpoison-1.4.0-beta4/contrib/allwindows.sh bind x exec xterm -bg white -fg black -fn -*-fixed-*-*-semicondensed-*-*-90-*-*-*-*-*-* bind C-F11 restart bind C-F12 quit bind M-0 gselect 0 bind M-1 gselect 1 bind M-2 gselect 2 bind M-a gmove bind M-b shrink bind M-D gdelete bind M-g colon gnewbg bind M-f gprev bind M-i fselect bind M-j exec ratmenu "normal" "ratpoison -c \"rudeness 12\"" "solo padres" "ratpoison -c \"rudeness 8\"" "no molestar" "ratpoison -c \"rudeness 0\"" "molestar" "ratpoison -c \"rudeness 15\"" bind M-l select bind M-m exec /home/nesaro/inform/code/ratrotate.rb #bind M-n colon gnewbg bind M-ntilde gselect bind M-r colon resize - - bind M-s colon split 1/ bind M-S colon hsplit 1/ bind M-p exec ratmenu "solitario" "ratpoison -c \"frestore 0 80 100 630 400 18874382 31,\"" "gkrellm" "/home/nesaro/inform/code/ratresize.rb" bind M-F4 delete bind M-Return next bind M-space curframe bind M-Tab focus bind Tab focuslast bind Left focusleft bind Right focusright bind Up focusup bind Down focusdown bind M-Left focusleft bind M-Right focusright bind M-Up focusup bind M-Down focusdown # Use the name of the program rather than the title in the window list defwinname name unmanage gkrellm # bind M-! to store the current frame layout in slot #1 #bind M-exclam exec ratpoison -c "setenv fs1 `ratpoison -c 'fdump'`" #bind M-1 to restore the frame layout in slot #1 #bind M-1 exec ratpoison -c "frestore `ratpoison -c 'getenv fs1'`" # Do the same for slot #2 and bind it to M-@ and M-2, respectively. #bind M-at exec ratpoison -c "setenv fs2 `ratpoison -c 'fdump'`" #bind M-2 exec ratpoison -c "frestore `ratpoison -c 'getenv fs2'`" # Give ourselves another slot on M-# and M-3, respectively. bind F2 exec /home/nesaro/app/ratpoison-1.4.0-beta4/src/ratpoison -c "setenv fs3 `ratpoison -c 'fdump'`" bind F1 exec /home/nesaro/app/ratpoison-1.4.0-beta4/src/ratpoison -c "frestore `ratpoison -c 'getenv fs3'`" #exec rpws -i #exec rpws -b