Skip to content

Instantly share code, notes, and snippets.

@kamiheku
Created May 8, 2019 15:32
Show Gist options
  • Save kamiheku/f8d97e5eda39c8526319145fd790f647 to your computer and use it in GitHub Desktop.
Save kamiheku/f8d97e5eda39c8526319145fd790f647 to your computer and use it in GitHub Desktop.
My "no-escape" ratpoisonrc
#############################
# ┏━┓┏━┓╺┳╸┏━┓┏━┓╻┏━┓┏━┓┏┓╻ #
# ┣┳┛┣━┫ ┃ ┣━┛┃ ┃┃┗━┓┃ ┃┃┗┫ #
# ╹┗╸╹ ╹ ╹ ╹ ┗━┛╹┗━┛┗━┛╹ ╹ #
# ~kamiheku #
#############################
# [ basic settings ] ##########################################################
# root/escape key, not used much
escape C-semicolon
# appearance
set font Terminus:size=8
set fwcolor #8bb
set bwcolor #222
# virtual desktops (ratpoison-jcs)
set virtuals 4
vinit
# [ keybinds (herbstluftwm-like) ] ############################################
# focus #####################################################################
definekey top s-Tab focus
definekey top s-j focusleft
definekey top s-semicolon focusright
definekey top s-l focusup
definekey top s-k focusdown
definekey top s-c next
# move windows ##############################################################
definekey top s-J exchangeleft
definekey top s-colon exchangeright
definekey top s-L exchangeup
definekey top s-K exchangedown
# splits ####################################################################
definekey top s-v split
definekey top s-h hsplit
definekey top s-r remove
# workspaces ################################################################
definekey top s-1 vselect 1
definekey top s-2 vselect 2
definekey top s-3 vselect 3
definekey top s-4 vselect 4
definekey top s-exclam vmove 1
definekey top s-at vmove 2
definekey top s-numbersign vmove 3
definekey top s-dollar vmove 4
# launch ####################################################################
definekey top s-Return exec urxvtc
definekey top s-d exec dmenu_run -fn 'gohufont:size=8' -nb '#000' -nf '#888' -sf '#000' -sb '#888'
definekey top s-F exec chromium --force-device-scale-factor=0.75
# others ####################################################################
definekey top s-Q delete
definekey top s-E quit
definekey top s-R restart
definekey top s-b banish
definekey top s-s exec now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment