From 4b4dd57caa5f8033c86497c9b8343eedc59d595a Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Fri, 24 Jun 2022 12:56:31 -0500 Subject: [PATCH] added brightness keys for ellison --- herbstluftwm/autostart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index fdf7fa4..48e89ef 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -75,11 +75,13 @@ hc keybind $Mod-F3 spawn sh -c 'clipctl disable; bwmenu; clipctl enable' hc keybind XF86AudioPlay spawn playerctl play-pause hc keybind XF86AudioPause spawn playerctl pause-pause -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 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 XF86Launch7 spawn sh -c "sleep 0.15 && xdotool keydown ctrl key w keyup ctrl" hc keybind XF86PowerOff spawn battlvl +hc keybind XF86MonBrightnessUp spawn sh -c "light -A 5; light > \"$xobpipe\"" +hc keybind XF86MonBrightnessDown spawn sh -c "light -U 5; light > \"$xobpipe\"" # mouse hc mouseunbind --all