From 33788846e2662d0bf792401fd770fe5d738e60af Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 23 Feb 2021 18:11:25 +0100 Subject: Updated volume notification done directly by pulseaudio-ctl, with dunst configured to stack them (like regular volume notification), Removed volume-ctl script --- xmonad.hs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'xmonad.hs') diff --git a/xmonad.hs b/xmonad.hs index d165011..b18951e 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -39,14 +39,11 @@ myLayouts = tiledBigMaster -- bigger master for code and smaller slave fo myManageHook = insertPosition End Newer -- insert new window at the end of the current layout -volumeUpCmd = "pulseaudio-ctl up" -volumeDownCmd = "pulseaudio-ctl down" - -myKeys = [ ("", spawn volumeDownCmd) - , ("", spawn volumeUpCmd) +myKeys = [ ("", spawn "pulseaudio-ctl down") + , ("", spawn "pulseaudio-ctl up") , ("", spawn "pulseaudio-ctl mute") - , ("M-", spawn volumeDownCmd) - , ("M-", spawn volumeUpCmd) + , ("M-", spawn "pulseaudio-ctl down") + , ("M-", spawn "pulseaudio-ctl up") , ("", spawn "~/bin/backlight-ctl up") , ("", spawn "~/bin/backlight-ctl down") -- cgit