# For the benefit of emacs users: -*- shell-script -*- ########################### # xbindkeys configuration # ########################### # # Version: 1.8.7 # # If you edit this file, do not forget to uncomment any lines # that you change. # The pound(#) symbol may be used anywhere for comments. # # To specify a key, you can use 'xbindkeys --key' or # 'xbindkeys --multikey' and put one of the two lines in this file. # # The format of a command line is: # "command to start" # associated key # # # 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: # Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), # Mod3 (CapsLock), Mod4 (win), Mod5 (Scroll). # # The release modifier is not a standard X modifier, but you can # use it if you want to catch release events instead of press events # By defaults, xbindkeys does not pay attention with the modifiers # NumLock, CapsLock and ScrollLock. # Uncomment the lines above if you want to pay attention to them. #keystate_numlock = enable #keystate_capslock = enable #keystate_scrolllock= enable #alias reset = "killall xbindkeys; sleep .2; xbindkeys" ################################ # Start of keybinds # ################################ ### resize windows with super key + scroll "xdotool key --clearmodifiers Super_L+ctrl+h" Mod4 + b:7 "xdotool key --clearmodifiers Super_L+ctrl+l" Mod4 + b:6 "xdotool key --clearmodifiers Super_L+ctrl+j" Mod4 + b:4 "xdotool key --clearmodifiers Super_L+ctrl+k" Mod4 + b:5 ### left and right with scroll wheel #"xdotool key --clearmodifiers Left" #b:7 #"xdotool key --clearmodifiers Right" #b:6 ### switch workspaces with thumbbuttons "sh ~/scripts/workspace_switcher.sh next" b:9 "sh ~/scripts/workspace_switcher.sh prev" b:8 "sh ~/scripts/workspace_switcher.sh send_next" Mod4 + b:9 "sh ~/scripts/workspace_switcher.sh send_prev" Mod4 + b:8 ################################## # End of xbindkeys configuration # ##################################