From 62fe628da10d8f1e10ac64af0576d3d366fda087 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Sat, 9 Apr 2022 16:41:34 -0500 Subject: [PATCH] brightness and power key config for ellison --- herbstluftwm/ellison/autostart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/herbstluftwm/ellison/autostart b/herbstluftwm/ellison/autostart index 6c8a9b4..51961fe 100755 --- a/herbstluftwm/ellison/autostart +++ b/herbstluftwm/ellison/autostart @@ -63,6 +63,9 @@ hc keybind $Mod-Tab cycle_all +1 hc keybind XF86AudioRaiseVolume spawn sh -c "pamixer -i 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel" hc keybind XF86AudioLowerVolume spawn sh -c "pamixer -d 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel" hc keybind XF86AudioMute spawn sh -c "pamixer -t; pamixer --get-volume-human | sed 's/muted/0/' >> \"$xobpipe\"; $refresh_panel" +hc keybind XF86PowerOff spawn battlvl +hc keybind XF86MonBrightnessUp spawn light -A 5 +hc keybind XF86MonBrightnessDown spawn light -U 5 # mouse hc mouseunbind --all