Add .xbindkeysrc
f4026da21ed8da1447ff484dd2c1e6f6122c1ceb
1 parent
ce203c18
.xbindkeysrc
added
+45 -0
| 1 | + | ########################### |
|
| 2 | + | # xbindkeys configuration # |
|
| 3 | + | ########################### |
|
| 4 | + | # |
|
| 5 | + | # Version: 1.8.7 |
|
| 6 | + | # |
|
| 7 | + | # If you edit this file, do not forget to uncomment any lines |
|
| 8 | + | # that you change. |
|
| 9 | + | # The pound(#) symbol may be used anywhere for comments. |
|
| 10 | + | # |
|
| 11 | + | # To specify a key, you can use 'xbindkeys --key' or |
|
| 12 | + | # 'xbindkeys --multikey' and put one of the two lines in this file. |
|
| 13 | + | # |
|
| 14 | + | # The format of a command line is: |
|
| 15 | + | # "command to start" |
|
| 16 | + | # associated key |
|
| 17 | + | # |
|
| 18 | + | # |
|
| 19 | + | # A list of keys is in /usr/include/X11/keysym.h and in |
|
| 20 | + | # /usr/include/X11/keysymdef.h |
|
| 21 | + | # The XK_ is not needed. |
|
| 22 | + | # |
|
| 23 | + | # List of modifier: |
|
| 24 | + | # Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), |
|
| 25 | + | # Mod3 (CapsLock), Mod4, Mod5 (Scroll). |
|
| 26 | + | # |
|
| 27 | + | ||
| 28 | + | # The release modifier is not a standard X modifier, but you can |
|
| 29 | + | # use it if you want to catch release events instead of press events |
|
| 30 | + | ||
| 31 | + | # By defaults, xbindkeys does not pay attention with the modifiers |
|
| 32 | + | # NumLock, CapsLock and ScrollLock. |
|
| 33 | + | # Uncomment the lines above if you want to pay attention to them. |
|
| 34 | + | ||
| 35 | + | # Volume up |
|
| 36 | + | "pactl set-sink-volume @DEFAULT_SINK@ +5%" |
|
| 37 | + | XF86AudioRaiseVolume |
|
| 38 | + | ||
| 39 | + | # Volume down |
|
| 40 | + | "pactl set-sink-volume @DEFAULT_SINK@ -5%" |
|
| 41 | + | XF86AudioLowerVolume |
|
| 42 | + | ||
| 43 | + | # Mute |
|
| 44 | + | "pactl set-sink-mute @DEFAULT_SINK@ toggle" |
|
| 45 | + | XF86AudioMute |