simplify config

This commit is contained in:
Özgür Kesim 2022-02-05 13:03:54 +01:00
parent 944e4af11b
commit 376cb53a63

View File

@ -4,15 +4,11 @@ This little monitor is my attempt to read the current volume and mute setting
of the default sink from PulseAudio and make it accessible to xmobar:
```haskell
Config { commands = [
, Run CommandReader "puvol-cont" "Vol"
]
, template = "%XMonadLog% }{ \
\│ <action=`alacritty -t pamix -e pamix` button=1>%Vol%</action> \
\│ %date% "
Config { commands = [ Run CommandReader "puvol-cont" "Vol" ]
, template = " %Vol% "
```
If it is called as `puvol-cont` it will wait for updates form PulseAudio, read
If it is called as `puvol-cont` it will wait for updates from PulseAudio, read
the current value of the mute and volume states and write an output line to
stdout.