diff --git a/examples/configurations/laptop.conf b/examples/configurations/laptop.conf index 19d0bb4..3a6c439 100644 --- a/examples/configurations/laptop.conf +++ b/examples/configurations/laptop.conf @@ -248,11 +248,10 @@ bar: - battery: name: BAT0 poll-interval: 30 - content: - map: - tag: state - values: - discharging: + anchors: + discharging: &discharging + list: + items: - ramp: tag: capacity items: @@ -267,6 +266,14 @@ bar: - string: {text: , font: *awesome} - string: {text: , foreground: 00ff00ff, font: *awesome} - string: {text: "{capacity}% {estimate}"} + content: + map: + tag: state + values: + unknown: + <<: *discharging + discharging: + <<: *discharging charging: - string: {text: , foreground: 00ff00ff, font: *awesome} - string: {text: "{capacity}% {estimate}"}