yambar: simplificar configuración

This commit is contained in:
Cat /dev/Nulo 2021-11-29 20:09:44 -03:00
parent de17cbabf4
commit e2f9274547

View file

@ -12,19 +12,12 @@ bar:
left: left:
- river: - river:
anchors: anchors:
- base: &river_base base: &river_base
margin: 8 margin: 8
tag: id tag: id
values: values: {}
1: {string: {text: "1"}} default: &river_default
2: {string: {text: "2"}} default: {string: {text: "{id}"}}
3: {string: {text: "3"}}
4: {string: {text: "4"}}
5: {string: {text: "5"}}
6: {string: {text: "6"}}
7: {string: {text: "7"}}
8: {string: {text: "8"}}
9: {string: {text: "9"}}
content: content:
map: map:
tag: state tag: state
@ -32,24 +25,21 @@ bar:
focused: focused:
map: map:
<<: *river_base <<: *river_base
values: default: {string: {text: "{id}", foreground: *bg}}
1: {string: {text: "1", foreground: *bg}}
2: {string: {text: "2", foreground: *bg}}
3: {string: {text: "3", foreground: *bg}}
4: {string: {text: "4", foreground: *bg}}
5: {string: {text: "5", foreground: *bg}}
6: {string: {text: "6", foreground: *bg}}
7: {string: {text: "7", foreground: *bg}}
8: {string: {text: "8", foreground: *bg}}
9: {string: {text: "9", foreground: *bg}}
deco: {background: {color: *accent}} deco: {background: {color: *accent}}
unfocused: {map: {<<: *river_base}} unfocused:
map:
<<: *river_base
default: {string: {text: "{id}"}}
invisible: invisible:
map: map:
tag: occupied tag: occupied
values: values:
false: {empty: {}} false: {empty: {}}
true: {map: {<<: *river_base}} true:
map:
<<: *river_base
default: {string: {text: "{id}"}}
right: right:
- alsa: - alsa: