Skip to content

Commit 54864f6

Browse files
committed
Add Thinkpad special keys -- volume, mute, and brightness.
1 parent 4a246ce commit 54864f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

xbindkeys/.xbindkeysrc.scm

+6
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@
7070
;; (xbindkey '(mod3 s) "# spare")
7171
;; (xbindkey '(mod3 f) "# chat")
7272

73+
(xbindkey 'XF86AudioLowerVolume "pactl set-sink-volume '@DEFAULT_SINK@' '-10%'")
74+
(xbindkey 'XF86AudioRaiseVolume "pactl set-sink-volume '@DEFAULT_SINK@' '+10%'")
75+
(xbindkey 'XF86AudioMute "pactl set-sink-mute '@DEFAULT_SINK@' toggle")
76+
(xbindkey 'XF86AudioMicMute "pactl set-source-mute '@DEFAULT_SOURCE@' toggle")
77+
(xbindkey 'XF86MonBrightnessUp "xbacklight -inc 5")
78+
(xbindkey 'XF86MonBrightnessDown "xbacklight -dec 5")
7379
;; Examples of commands:
7480

7581
;; (xbindkey '(control shift q) "xbindkeys_show")

0 commit comments

Comments
 (0)