diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-04-24 10:21:39 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-04-24 10:21:39 -0400 |
commit | c3d29f2e1206c1b9f038e3f8adf2325996b14d0a (patch) | |
tree | f260c5311b1d978ed593560e0f420c02052d4da7 /xbindkeys | |
parent | f6005ad2eb05ed4518fc8ac06c459f05576988a4 (diff) |
add mouse button bindings
Diffstat (limited to 'xbindkeys')
-rw-r--r-- | xbindkeys/.xbindkeysrc | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/xbindkeys/.xbindkeysrc b/xbindkeys/.xbindkeysrc index 90bd105..a4bd883 100644 --- a/xbindkeys/.xbindkeysrc +++ b/xbindkeys/.xbindkeysrc @@ -38,18 +38,6 @@ #keystate_scrolllock= enable # Examples of commands: - -"xbindkeys_show" - 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 # @@ -65,6 +53,19 @@ #"rxvt" # Control + b:2 + Release +"xdotool mousedown 1" + KP_End +"xdotool mouseup 1" + Release+KP_End +"xdotool mousedown 2" + KP_Down +"xdotool mouseup 2" + Release+KP_Down +"xdotool mousedown 3" + KP_Next +"xdotool mouseup 3" + Release+KP_Next + ################################## # End of xbindkeys configuration # ################################## |