.config/xbindkeys/.xbindkeysrc (2323B)
1 ########################### 2 # xbindkeys configuration # 3 ########################### 4 # 5 # If you edit this file, do not forget to uncomment any lines 6 # that you change. 7 # The pound(#) symbol may be used anywhere for comments. 8 # 9 # To specify a key, you can use 'xbindkeys --key' or 10 # 'xbindkeys --multikey' and put one of the two lines in this file. 11 # 12 # The format of a command line is: 13 # "command to start" 14 # associated key 15 # 16 # 17 # A list of keys is in /usr/include/X11/keysym.h and in 18 # /usr/include/X11/keysymdef.h 19 # The XK_ is not needed. 20 # 21 # List of modifier: 22 # Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), 23 # Mod3 (CapsLock), Mod4, Mod5 (Scroll). 24 # 25 26 # The release modifier is not a standard X modifier, but you can 27 # use it if you want to catch release events instead of press events 28 29 # By defaults, xbindkeys does not pay attention with the modifiers 30 # NumLock, CapsLock and ScrollLock. 31 # Uncomment the lines above if you want to pay attention to them. 32 33 #keystate_numlock = enable 34 #keystate_capslock = enable 35 #keystate_scrolllock= enable 36 37 # Examples of commands: 38 39 #"xbindkeys_show" 40 # control+shift + q 41 42 # set directly keycode (here control + f with my keyboard) 43 #"xterm" 44 # c:41 + m:0x4 45 46 # specify a mouse button 47 #"xterm" 48 # control + b:2 49 50 #"xterm -geom 50x20+20+20" 51 # Shift+Mod2+alt + s 52 # 53 ## set directly keycode (here control+alt+mod2 + f with my keyboard) 54 #"xterm" 55 # alt + c:0x29 + m:4 + mod2 56 # 57 ## Control+Shift+a release event starts rxvt 58 #"rxvt" 59 # release+control+shift + a 60 # 61 ## Control + mouse button 2 release event starts rxvt 62 #"rxvt" 63 # Control + b:2 + Release 64 65 # Control brightness 66 #"xbacklight -perceived -inc 5 -time 0 & xbacklight -get > /home/mk/backlight" 67 "backlightinc" 68 XF86MonBrightnessUp 69 70 #"xbacklight -perceived -dec 5 -time 0 & xbacklight -get > /home/mk/backlight" 71 "backlightdec" 72 XF86MonBrightnessDown 73 74 75 76 # Control volume 77 "pactlraisevolume 1" 78 XF86AudioRaiseVolume 79 80 "pactl set-sink-volume @DEFAULT_SINK@ -1%" 81 XF86AudioLowerVolume 82 83 "pactl set-sink-mute @DEFAULT_SINK@ toggle" 84 XF86AudioMute 85 86 87 # Control media 88 # (need playerctl installed) 89 "playerctl -i firefox play-pause" 90 XF86AudioPlay 91 92 "playerctl previous" 93 XF86AudioPrev 94 95 "playerctl next" 96 XF86AudioNext 97 98 99 ################################## 100 # End of xbindkeys configuration # 101 ##################################