summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil clingman <>2023-12-02 11:45:28 +0100
committertslil clingman <>2023-12-02 11:45:28 +0100
commit938a28f73bce3b71b0ce0b12446b4de5f9c9f11b (patch)
tree69c5d0f4bd1606b8ae9a70910568d11c84810ff5
parent0e5372cda8904d0899983bd5d7ba86704a5e15c9 (diff)
[yambar] laptop config
-rw-r--r--yambar/config.yml23
1 files 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} <="}}