# 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 C-a # Gets rid of that ugly crosshairs default cursor # and set the background to black exec xsetroot -solid black -cursor_name left_ptr # Emulate screen by starting with a new xterm exec xterm # Bind e to our favorite editor bind e exec emacs # bind s to interactively run a surfraw query on freshmeat bind s colon exec xterm -e freshmeat # bind b (`b' for browse) to interactively ask for an URL to open bind b colon exec mozilla http://www. # Use the name of the program rather than the title in the window list defwinname name # 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 M-numbersign exec ratpoison -c "setenv fs3 `ratpoison -c 'fdump'`" bind M-3 exec ratpoison -c "frestore `ratpoison -c 'getenv fs3'`"