From 6a29c81742f27facfabf7b1609eb938843772f8a Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 26 Sep 2021 18:07:14 -0400 Subject: [PATCH] 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. --- .cwmrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.cwmrc b/.cwmrc index 49d939e..748b1e6 100644 --- 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" +# ------------- -- libgit2 1.1.0