xmonad: added volume notifications

This commit is contained in:
Serĉanto de Scio 2023-09-18 11:18:27 +10:00
parent a2b221e888
commit c8d40f0a39
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -208,9 +208,9 @@ mastodon = "whalebird"
myTerminal = "terminology" myTerminal = "terminology"
myScreenLockCmd = "xscreensaver --no-splash" myScreenLockCmd = "xscreensaver --no-splash"
myScreenLock = "xscreensaver-command -lock" 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" 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 -- -- Keybinds --