2019-05-12 20:58:38 +00:00
|
|
|
# to reload configuration changes
|
|
|
|
# xbindkeys --poll-rc
|
2019-05-15 15:48:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-05-11 18:06:55 +00:00
|
|
|
# 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, 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
|
|
|
|
|
|
|
|
# Examples of commands:
|
|
|
|
|
2019-08-03 17:15:10 +00:00
|
|
|
# "xbindkeys_show"
|
2019-05-11 18:06:55 +00:00
|
|
|
# control+shift + q
|
|
|
|
|
|
|
|
# set directly keycode (here control + f with my keyboard)
|
|
|
|
# "xterm"
|
|
|
|
# c:41 + m:0x4
|
|
|
|
|
|
|
|
# specify a mouse button
|
|
|
|
# "xterm"
|
|
|
|
# control + b:2
|
|
|
|
|
|
|
|
#"xterm -geom 50x20+20+20"
|
|
|
|
# Shift+Mod2+alt + s
|
|
|
|
#
|
|
|
|
## set directly keycode (here control+alt+mod2 + f with my keyboard)
|
|
|
|
#"xterm"
|
|
|
|
# alt + c:0x29 + m:4 + mod2
|
|
|
|
#
|
|
|
|
## Control+Shift+a release event starts rxvt
|
|
|
|
#"rxvt"
|
|
|
|
# release+control+shift + a
|
|
|
|
#
|
|
|
|
## Control + mouse button 2 release event starts rxvt
|
|
|
|
#"rxvt"
|
|
|
|
# Control + b:2 + Release
|
|
|
|
|
2019-05-12 20:58:38 +00:00
|
|
|
# "morc_menu"
|
|
|
|
# Mod4 + z
|
|
|
|
#
|
2019-05-21 14:25:19 +00:00
|
|
|
"dmenu_recency"
|
2019-05-11 18:06:55 +00:00
|
|
|
Mod4 + p
|
|
|
|
|
2020-03-24 16:40:00 +00:00
|
|
|
"kitty"
|
2019-05-21 14:25:19 +00:00
|
|
|
Mod4 + Shift + Return
|
|
|
|
|
2019-06-01 11:10:37 +00:00
|
|
|
"kitty tmux new"
|
|
|
|
Mod4 + Control + Return
|
|
|
|
|
2019-05-12 20:58:38 +00:00
|
|
|
"keepmenu"
|
|
|
|
Mod4 + Shift + p
|
2019-05-11 18:06:55 +00:00
|
|
|
|
2019-05-15 15:48:46 +00:00
|
|
|
# screenshots
|
|
|
|
"i3-scrot"
|
|
|
|
Mod4 + Print
|
|
|
|
|
|
|
|
"i3-scrot -d"
|
|
|
|
Mod4 + Shift + Print
|
|
|
|
|
2019-05-21 14:25:19 +00:00
|
|
|
"dmenu_ssh"
|
|
|
|
Mod4 + s
|
|
|
|
|
2019-05-27 13:50:56 +00:00
|
|
|
"dmenu_power"
|
|
|
|
Mod4 + e
|
|
|
|
|
2019-05-31 22:38:55 +00:00
|
|
|
"slock"
|
|
|
|
Mod4 + Shift + e
|
|
|
|
|
2020-02-23 14:19:06 +00:00
|
|
|
"bm"
|
|
|
|
Mod4 + o
|
|
|
|
|
|
|
|
"st -t "WM_FORCE_FLOATING" -g 238x61+8+16 -e glances"
|
2020-02-23 17:45:54 +00:00
|
|
|
Mod4 + F12
|
|
|
|
|
2020-02-25 08:58:32 +00:00
|
|
|
"date-show"
|
2020-02-23 17:45:54 +00:00
|
|
|
Mod4 + F11
|
2020-02-23 14:19:06 +00:00
|
|
|
|
2020-03-24 17:07:52 +00:00
|
|
|
"xdotool mousemove_relative 1 0 && sleep 0.1 && xdotool key Super_L+F1"
|
|
|
|
Mod4 + Insert
|
|
|
|
|
|
|
|
"xdotool mousemove_relative 1 0 && sleep 0.1 && xdotool key Super_L+F2"
|
|
|
|
Mod4 + Home
|
|
|
|
|
2019-05-15 15:48:46 +00:00
|
|
|
# why this no work?
|
|
|
|
# "i3-scrot -s"
|
|
|
|
# Mod4 + Control + Print
|
|
|
|
|
2019-09-29 10:45:39 +00:00
|
|
|
# bind a mouse button (button 15)
|
|
|
|
# "xte 'keydown Control_L' 'keydown Alt_L' 'key Left' 'keyup Alt_L' 'keyup Control_L'"
|
|
|
|
# b:15
|
|
|
|
|
|
|
|
# bind a mouse button (button 16)
|
|
|
|
# "gimp"
|
|
|
|
# b:16
|
|
|
|
|
2019-08-25 12:56:01 +00:00
|
|
|
# right monitor portrait simulate scrolls
|
|
|
|
"xdotool mousemove 1980 1600 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_1
|
|
|
|
|
|
|
|
"xdotool mousemove 1980 1600 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_1
|
|
|
|
|
|
|
|
"xdotool mousemove 2340 1600 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_2
|
|
|
|
|
|
|
|
"xdotool mousemove 2340 1600 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_2
|
|
|
|
|
|
|
|
"xdotool mousemove 2940 1600 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_3
|
|
|
|
|
|
|
|
"xdotool mousemove 2940 1600 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_3
|
|
|
|
|
|
|
|
|
|
|
|
"xdotool mousemove 1980 960 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_4
|
|
|
|
|
|
|
|
"xdotool mousemove 1980 960 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_4
|
|
|
|
|
|
|
|
"xdotool mousemove 2460 960 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_5
|
|
|
|
|
|
|
|
"xdotool mousemove 2460 960 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_5
|
|
|
|
|
|
|
|
"xdotool mousemove 2940 960 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_6
|
|
|
|
|
|
|
|
"xdotool mousemove 2940 960 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_6
|
|
|
|
|
|
|
|
|
|
|
|
"xdotool mousemove 1980 320 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_7
|
|
|
|
|
|
|
|
"xdotool mousemove 1980 320 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_7
|
|
|
|
|
|
|
|
"xdotool mousemove 2460 320 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_8
|
|
|
|
|
|
|
|
"xdotool mousemove 2460 320 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_8
|
|
|
|
|
|
|
|
"xdotool mousemove 2940 320 click 5 mousemove restore"
|
|
|
|
Mod4 + KP_9
|
2019-05-11 18:06:55 +00:00
|
|
|
|
2019-08-25 12:56:01 +00:00
|
|
|
"xdotool mousemove 2940 320 click --clearmodifiers 4 mousemove restore"
|
|
|
|
Shift + Mod4 + KP_9
|
2019-05-11 18:06:55 +00:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# End of xbindkeys configuration #
|
|
|
|
##################################
|