From c8d40f0a39a0126612270cddfd8a9d13f1ba1e1d Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 18 Sep 2023 11:18:27 +1000 Subject: [PATCH] xmonad: added volume notifications --- .xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index d690e7d..78f34a9 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -208,9 +208,9 @@ mastodon = "whalebird" myTerminal = "terminology" myScreenLockCmd = "xscreensaver --no-splash" myScreenLock = "xscreensaver-command -lock" -volumeDown = "amixer set Master 2%-" +volumeDown = "amixer set Master 2%- ; notify-send \"Volume\" -h int:value:$(amixer sget Master | awk '$0~/%/{print $5}' | tr -d '[]') -h string:x-canonical-private-synchronous:volume" volumeMute = "amixer set Master toggle" -volumeUp = "amixer set Master 2%+" +volumeUp = "amixer set Master 2%+ ; notify-send \"Volume\" -h int:value:$(amixer sget Master | awk '$0~/%/{print $5}' | tr -d '[]') -h string:x-canonical-private-synchronous:volume" -------------- -- Keybinds --