yambar: readd river

This commit is contained in:
Cat /dev/Nulo 2021-08-21 17:27:10 -03:00
parent 569480c3a4
commit db98d0eeb7

View file

@ -12,6 +12,38 @@ bar:
font: Hack:size=12 font: Hack:size=12
left:
- river:
# title: {string: {text: "{title}", left-margin: 10}}
anchors:
- base: &river_base
margin: 5
tag: id
values:
1: {string: {text: "u"}}
2: {string: {text: "i"}}
3: {string: {text: "o"}}
4: {string: {text: "p"}}
5: {string: {text: "y"}}
6: {string: {text: ","}}
7: {string: {text: "."}}
8: {string: {text: "/"}}
content:
map:
tag: state
values:
focused:
map:
<<: *river_base
deco: {stack: [background: {color: 504945ff}, underline: {size: 2, color: d3869bff}]}
unfocused: {map: {<<: *river_base}}
invisible:
map:
tag: occupied
values:
false: {empty: {}}
true: {map: {<<: *river_base, foreground: ffffff4c}}
right: right:
- alsa: - alsa:
card: pulse card: pulse