From 938a28f73bce3b71b0ce0b12446b4de5f9c9f11b Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Sat, 2 Dec 2023 11:45:28 +0100 Subject: [yambar] laptop config --- yambar/config.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/yambar/config.yml b/yambar/config.yml index 7e71140..130c56b 100644 --- a/yambar/config.yml +++ b/yambar/config.yml @@ -6,10 +6,29 @@ bar: border: { top-width: 2, bottom-width: 2, left-width: 2, right-width: 2 } right: + - network: + name: wlp1s0 + content: + map: + default: + string: {text: "WLS {ssid} | "} + conditions: + state == down: + string: {text: "WLS DN | "} + - battery: + name: BAT1 + poll-interval: 30000 + content: + map: + default: + string: {text: "BAT D{capacity}% {estimate} | "} + conditions: + state == charging: + string: {text: "BAT C{capacity}% {estimate} | "} - script: path: ~/.local/bin/yambar_status args: [] - poll-interval: 1000 + poll-interval: 30000 content: {string: {text: "{temp} | {time}"}} left: - dwl: @@ -22,7 +41,7 @@ bar: - map: conditions: # default tag - id == 0: {string: {text: " | {layout} | {title}"}} + id == 0: {string: {max: 64, text: " | {layout} | {title}"}} selected: {string: {text: " *{name}"}} ~empty: {string: {text: " {name}"}} urgent: {string: {text: "=> {name} <="}} -- cgit v1.2.3