Skip to content

Instantly share code, notes, and snippets.

@sixtyfive
Last active October 3, 2015 19:55
Show Gist options
  • Save sixtyfive/39b55df9eaf86148bde8 to your computer and use it in GitHub Desktop.
Save sixtyfive/39b55df9eaf86148bde8 to your computer and use it in GitHub Desktop.
My Ratpoison configuration, may it serve someone!
# Key bindings
escape s-x
definekey top XF86AudioLowerVolume exec volume down 5
definekey top XF86AudioRaiseVolume exec volume up 5
definekey top XF86AudioMute exec volume mute
definekey top s-l exec slock
definekey top s-c exec dmenu_run -nb white -nf black -sb black -sf white
definekey top s-w exec windows
bind w exec windows
bind s-w exec windows
unbind C-a
unbind a
definekey top s-t time
unbind C-g
bind s-g abort
unbind C-Return
bind s-Return next
unbind C-b
bind s-b banish
bind KP_0 select 0
bind KP_1 select 1
bind KP_2 select 2
bind KP_3 select 3
bind KP_4 select 4
bind KP_5 select 5
bind KP_6 select 6
bind KP_7 select 7
bind KP_8 select 8
bind KP_9 select 9
bind s-KP_0 select 0
bind s-KP_1 select 1
bind s-KP_2 select 2
bind s-KP_3 select 3
bind s-KP_4 select 4
bind s-KP_5 select 5
bind s-KP_6 select 6
bind s-KP_7 select 7
bind s-KP_8 select 8
bind s-KP_9 select 9
unbind period
unbind C-c
unbind C-i
unbind C-exclam
unbind C-k
unbind C-l
unbind C-m
unbind C-n
unbind C-p
unbind C-apostrophe
unbind C-space
unbind C-v
unbind v
unbind C-V
unbind V
unbind C-w
unbind w
unbind C-s
unbind C-S
unbind C-f
unbind C-r
unbind C-underscore
unbind C-u
unbind C-x
unbind C-Left
unbind C-Right
unbind C-Up
unbind C-Down
bind s-Left exchangeleft
bind s-Right exchangeright
bind s-Up exchangeup
bind s-Down exchangedown
unbind N
unbind P
bind n nextscreen
bind p prevscreen
bind s-n nextscreen
bind s-p prevscreen
unbind C-K
unbind K
bind k kill
bind s-k kill
unbind C-A
unbind A
bind a title
bind s-a title
unbind C-Q
unbind Q
bind q only
bind s-q only
bind c exec terminator &
bind v exec terminator -x ssh gaia &
bind s-c exec terminator &
bind s-v exec terminator -x ssh gaia &
# Looks and behaviour
set border 0
startup_message off
# Startup programs
exec nitrogen --restore &
exec cinnamon-settings-daemon &
exec xcompmgr -c -f -D 5 &
exec unclutter -idle 3 -jitter 5 &
exec xsetroot -cursor_name left_ptr &
banish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment