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

@ -227,19 +227,24 @@ bar:
mixer: Master mixer: Master
content: content:
map: map:
on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle" tag: online
tag: muted
values: values:
true: {string: {text: , font: *awesome, foreground: ffffff66}} false: {string: {text: , font: *awesome, foreground: ff0000ff}}
false: true:
ramp: map:
tag: volume on-click: /bin/sh -c "amixer -q sset Speaker unmute && amixer -q sset Headphone unmute && amixer -q sset Master toggle"
items: tag: muted
- string: {text: , font: *awesome} values:
- string: {text: , font: *awesome} true: {string: {text: , font: *awesome, foreground: ffffff66}}
- string: {text: , font: *awesome} false:
- string: {text: , font: *awesome} ramp:
- string: {text: , font: *awesome} tag: volume
items:
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- backlight: - backlight:
name: intel_backlight name: intel_backlight
content: [ string: {text: , font: *awesome}, string: {text: "{percent}%"}] content: [ string: {text: , font: *awesome}, string: {text: "{percent}%"}]