commit 6a29c81742f27facfabf7b1609eb938843772f8a (patch) parent 340921a4e7ee8e3affacf16c9ead094d7273bcfb Author: Alex Karle <alex@alexkarle.com> Date: Sun, 26 Sep 2021 18:07:14 -0400 cwm: Add support for Linux brightness/vol keys These are needed on my X13 for cwm-portable! They are commented by default because they work out-of-the-box on OpenBSD. Diffstat:
M | .cwmrc | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.cwmrc b/.cwmrc @@ -30,3 +30,12 @@ bind-key 4-q window-close # Mouse it bind-mouse 4-1 window-move bind-mouse 4-3 window-resize + +# ------------- +# Linux-only Brightness and Volume keys (works out-of-box on OpenBSD) +# bind-key XF86AudioMute "pulsemixer --toggle-mute" +# bind-key XF86AudioLowerVolume "pulsemixer --change-volume -10" +# bind-key XF86AudioRaiseVolume "pulsemixer --change-volume +10" +# bind-key XF86MonBrightnessDown "light -U 10" +# bind-key XF86MonBrightnessUp "light -A 10" +# -------------