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:
- river:
anchors:
- base: &river_base
margin: 8
tag: id
values:
1: {string: {text: "1"}}
2: {string: {text: "2"}}
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"}}
base: &river_base
margin: 8
tag: id
values: {}
default: &river_default
default: {string: {text: "{id}"}}
content:
map:
tag: state
@ -32,24 +25,21 @@ bar:
focused:
map:
<<: *river_base
values:
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}}
default: {string: {text: "{id}", foreground: *bg}}
deco: {background: {color: *accent}}
unfocused: {map: {<<: *river_base}}
unfocused:
map:
<<: *river_base
default: {string: {text: "{id}"}}
invisible:
map:
tag: occupied
values:
false: {empty: {}}
true: {map: {<<: *river_base}}
true:
map:
<<: *river_base
default: {string: {text: "{id}"}}
right:
- alsa: