Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Stop startup mesg
- startup_message off
- exec ratpoison -c "echo Greetings and Salutations $USER"
- #Set up screen-splits
- bind F1 exec ratpoison -c "select -" -c "only" -c "next" -c "echo Fullscreen!"
- bind F2 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next" -c "echo Layout 1"
- bind F3 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "echo Layout 2"
- bind F4 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "focusright" -c "next" -c "vsplit" -c "next" -c "focusleft" -c "resize 200 -40" -c "next" -c "echo Layout 3"
- bind F5 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next" -c "hsplit" -c "next" -c "focusdown" -c "hsplit" -c "next" -c "echo Layout 4"
- bind F6 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next" -c "focusdown" -c "hsplit" -c "next" -c "echo Layout 5"
- #Workspaces stuff 10 workspaces enough>?
- exec rpws init 10 -k
- # Set the prefix key to that of somthing I have almost never used..
- escape notsign
- #the RIGHT Crontrol is the escape key
- #Set the contrl-t key to something easier
- # this will change the behavior of ratpoison to use a single control key instead of the combination of the ctrl-t.
- # The control key set by this string is the "right control" key on the right side of keyboards, it will also mean you can use the notsign key as an alternate.
- definekey top Control_R readkey root
- definekey root Control_R link notsign
- unbind C-t
- #use the app name rather than title in the window list
- defwinname class
- #app groups? let me know if you figure out groups
- #gnewbg one
- #gnewbg two
- #gnewbg three
- #copypasteselectedhighlightedlinks into browser
- bind g exec xxxterm -n `$RATPOISON -c getsel`
- #search for highlighted by using copy the escapekey + \ to paste that directly into a search engine
- bind backslash exec xxxterm -e "tabnew https://startpage.com/do/metasearch.pl?query=`$RATPOISON -c getsel`"
- #I prefer smaller fonts for information stuff
- set font "terminus:size=10"
- set winname name
- set winfmt %n %s %t
- set winliststyle column
- set wingravity center
- set transgravity center
- set maxsizegravity c
- #this next one gives enough room for my conky script to fit in
- set padding 0 12 0 0
- set border 1
- set barborder 1
- set barpadding 4 4
- set bargravity n
- set inputwidth 350
- set fgcolor grey
- set bgcolor #090909
- set fwcolor grey
- set bwcolor #343434
- set waitcursor 3
- set historysize 50
- set maxundos 50
- #still not got the grip of this next one
- rudeness 12
- bind a exec ratpoison -c "echo `date '+%A %d %B, %Y %R'`"
- bind B exec ratpoison -c "echo `acpi -V | sed 's/ //g'`"
- bind c exec xterm
- bind C-c exec vte --reverse
- #pointerstuff
- exec xsetroot -cursor_name left_ptr
- #alias keys within ratpoison
- bind semicolon colon
- bind colon exec
- #bind greater gnext
- #bind less gprev
- #following to automate the use of tmpwm
- bind C-M-space exec ratpoison -c "tmpwm icewm-light" -c "echo returning you to ratpoison"
- # I found that post return to ratpoison that my terminals ie sakura and vte were messed up a little
- #so as a work around I suggest uding teh following line whch will open up a new Xserver on ctrl+alt+F9
- bind C-M-Insert exec startx /home/$USER/.xserver2instruct -- :1
- #the following do not need the escapekey to action C=Control s=mod4 S=Shift M=Alt
- #
- definekey top C-F1 exec /usr/bin/xxxterm
- definekey top C-F2 exec /usr/bin/sylpheed
- definekey top C-F3 exec /usr/bin/xchat
- definekey top C-F4 exec gpicview
- definekey top C-F5 exec pcmanfm
- definekey top C-F6 exec beaver
- definekey top C-F7 exec pcc
- definekey top C-F8 exec gksu dbus-launch /usr/sbin/synaptic
- #definekey top C-F9 exec
- definekey top C-Print exec screenie
- definekey top M-x exec xlock
- definekey top M-Return exec xterm
- definekey top M-r exec dmenu_run
- definekey top M-Escape delete
- definekey top M-XF86Back prev
- definekey top M-XF86Forward next
- definekey top M-Tab Next
- definekey top M-S-Tab Prev
- definekey top M-bracketleft exec ratpoison -c "resize -20 0"
- definekey top M-bracketright exec ratpoison -c "resize +20 0"
- definekey top M-braceleft exec ratpoison -c "resize 0 +20"
- definekey top M-braceright exec ratpoison -c "resize 0 -20"
Advertisement
Add Comment
Please, Sign In to add comment