From e2f92745473af3a10a425b034dbddd939a14c6da Mon Sep 17 00:00:00 2001 From: Nulo Date: Mon, 29 Nov 2021 20:09:44 -0300 Subject: [PATCH] =?UTF-8?q?yambar:=20simplificar=20configuraci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/yambar/real-config.yml | 40 +++++++++++++--------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/.config/yambar/real-config.yml b/.config/yambar/real-config.yml index 1c39742..0e5b268 100644 --- a/.config/yambar/real-config.yml +++ b/.config/yambar/real-config.yml @@ -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: