Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #exec conky
- 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
- exec rpws init 10 -k
- # Set the prefix key to that of somthing I have almost never used..
- escape notsign
- #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
- #Stop startup mesg
- startup_message off
- #use the app name rather than title in the window list
- defwinname name
- #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 fixed-8
- 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 0
- set barpadding 4 4
- set bargravity ne
- 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 sakura
- 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
- #the following sets up the winkey (mod4) as a launch modifier (as an alternate to the defaults not using the winkey.
- #definekey top s-Print exec scrot ~/Pictures/screenshots/'%Y-%m-%d--%H:%M:%S--$wx$h.png'
- #definekey top s-x exec xlock
- #definekey top s-F1 exec /usr/bin/xxxterm
- #definekey top s-F2 exec sakura -e alpine
- #definekey top s-F3 exec sakura -e weechat-curses
- #definekey top s-F4 exec xnview
- #definekey top s-F5 exec pcmanfm
- #definekey top s-F6 exec leafpad
- #definekey top s-F7 exec pcc
- #definekey top s-F8 exec gksu dbus-launch /usr/sbin/synaptic
- #definekey top s-F9 exec Ted
- #definekey top S-s-Return exec sakura
- #definekey top s-r exec dmenu_run
- #definekey top s-Escape delete
- #definekey top s-XF86Back prev
- #definekey top s-XF86Forward next
- #
- #if you do not have a winkey then dont worry as the following to use a mix of the ctrl and the alt keys
- #
- #control &Fkeys used to prevent issues with workspaces
- definekey top C-F1 exec /usr/bin/xxxterm
- definekey top C-F2 exec sakura -t alpine -e alpine
- definekey top C-F3 exec sakura -t weechat -e weechat-curses
- definekey top C-F4 exec xnview
- definekey top C-F5 exec pcmanfm
- definekey top C-F6 exec leafpad
- definekey top C-F7 exec pcc
- definekey top C-F8 exec gksu dbus-launch /usr/sbin/synaptic
- definekey top C-F9 exec Ted
- definekey top M-Print exec scrot ~/Pictures/screenshots/'%Y-%m-%d--%H:%M:%S--$wx$h.png'
- definekey top M-x exec xlock
- definekey top M-Return exec sakura -t Terminal
- definekey top M-r exec dmenu_run
- definekey top M-Escape delete
- definekey top M-XF86Back prev
- definekey top M-XF86Forward next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement