Skip to content

Instantly share code, notes, and snippets.

@webarthur
Created November 29, 2022 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webarthur/a3d1639ee761679cecbd8d88e668e434 to your computer and use it in GitHub Desktop.
Save webarthur/a3d1639ee761679cecbd8d88e668e434 to your computer and use it in GitHub Desktop.
xbindkeys configuration
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
#keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
"xdotool keyup Shift && xdotool key Return && xdotool keydown Shift"
shift + b:2
"xdotool keyup Shift && xdotool key Up && xdotool keydown Shift"
shift + b:4
"xdotool keyup Shift && xdotool key Down && xdotool keydown Shift"
shift + b:5
"xdotool keyup j && xdotool keyup Alt && xdotool key Down && xdotool keydown Alt"
alt + j
"xdotool keyup k && xdotool keyup Alt && xdotool key Up && xdotool keydown Alt"
alt + k
"xdotool keyup h && xdotool keyup Alt && xdotool key Left && xdotool keydown Alt"
alt + h
"xdotool keyup l && xdotool keyup Alt && xdotool key Right && xdotool keydown Alt"
alt + l
#
# End of xbindkeys configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment