From 1841e6a4cda70ee3a93459c1005b63c93ae6c138 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 22 Jun 2017 22:17:39 -0700 Subject: [PATCH] Add volume control keybindings --- herbstluftwm/.config/herbstluftwm/autostart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart index 870db8b..cedeae7 100755 --- a/herbstluftwm/.config/herbstluftwm/autostart +++ b/herbstluftwm/.config/herbstluftwm/autostart @@ -148,6 +148,12 @@ if which lumeus >/dev/null 2>&1; then hc keybind XF86MonBrightnessDown spawn lumeus -10% fi +if which ponymix >/dev/null 2>&1; then + hc keybind XF86AudioMute spawn ponymix toggle + hc keybind XF86AudioLowerVolume spawn ponymix decrease 10 + hc keybind XF86AudioRaiseVolume spawn ponymix increase 10 +fi + # Change the default layout to fullscreen. hc set default_frame_layout 2