example/conf: alsa: use the new ‘online’ tag

This commit is contained in:
Daniel Eklöf 2021-08-24 16:57:22 +02:00
parent 36de95cc2a
commit 0963afd282
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -226,6 +226,11 @@ bar:
card: hw:PCH card: hw:PCH
mixer: Master mixer: Master
content: content:
map:
tag: online
values:
false: {string: {text: , font: *awesome, foreground: ff0000ff}}
true:
map: map:
on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle" on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle"
tag: muted tag: muted