mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 11:35:42 +02:00
example/conf: alsa: use the new ‘online’ tag
This commit is contained in:
parent
36de95cc2a
commit
0963afd282
1 changed files with 17 additions and 12 deletions
|
@ -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}%"}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue