From e46390cd7f837b5b5adb23a545ff4ecd3e875d76 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 30 Mar 2017 20:04:39 -0700 Subject: Add keybindings for brightness control --- herbstluftwm/.config/herbstluftwm/autostart | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'herbstluftwm') diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 6eabd83..38e23d5 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -139,6 +139,11 @@ hc keybind XF86AudioPlay spawn mpc toggle hc keybind XF86AudioNext spawn mpc next hc keybind XF86AudioPrev spawn mpc prev +if which lumeus >/dev/null 2>&1; then + hc keybind XF86MonBrightnessUp spawn lumeus +10% + hc keybind XF86MonBrightnessDown spawn lumeus -10% +fi + # Change the default layout to fullscreen. hc set default_frame_layout 2 -- cgit v1.2.3-54-g00ecf