simplify config
This commit is contained in:
parent
944e4af11b
commit
376cb53a63
10
README.md
10
README.md
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user