From dba3e7727a0316f99f295539922a419af2a8335d Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 22 Jun 2022 09:33:32 +0200 Subject: [PATCH] Produce notification when changing brightness --- home/.config/xmonad/xmonad.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.config/xmonad/xmonad.hs b/home/.config/xmonad/xmonad.hs index e4ac2a2..719188f 100644 --- a/home/.config/xmonad/xmonad.hs +++ b/home/.config/xmonad/xmonad.hs @@ -197,13 +197,13 @@ myKeys = , ("", spawn "pulsemixer --toggle-mute") , ("", spawn "pulsemixer --change-volume -5") , ("", spawn "pulsemixer --change-volume +5") - , ("", spawn "brightness -i 5%") - , ("", spawn "brightness -d 5%") + , ("", spawn "brightness -i 5% -n") + , ("", spawn "brightness -d 5% -n") -- Map media keys to meta + arrows for keyboards without special keys , ("M-", spawn "pulsemixer --change-volume -5") , ("M-", spawn "pulsemixer --change-volume +5") - , ("M-", spawn "brightness -i 5%") - , ("M-", spawn "brightness -d 5%") + , ("M-", spawn "brightness -i 5% -n") + , ("M-", spawn "brightness -d 5% -n") ] where nonNSP = WSIs (return (\ws -> W.tag ws /= "NSP")) nonEmptyNonNSP = WSIs (return (\ws -> isJust (W.stack ws) && W.tag ws /= "NSP"))