diff options
| author | tslil clingman <> | 2023-12-04 21:38:49 +0100 |
|---|---|---|
| committer | tslil clingman <> | 2023-12-04 21:38:49 +0100 |
| commit | f9ee4112a2012528b8b50a93a9d3c2e0aa05e620 (patch) | |
| tree | 37bd633493f04a968e0fd189b334d1b5082c89b9 /yambar | |
| parent | 7496677ed9426596ca1312a26007a2efbf76e400 (diff) | |
[river] small fixes and tweaks, show vpn status
Diffstat (limited to 'yambar')
| -rw-r--r-- | yambar/config.yml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/yambar/config.yml b/yambar/config.yml index b6a7fc4..a67668c 100644 --- a/yambar/config.yml +++ b/yambar/config.yml @@ -7,15 +7,25 @@ bar: right: - network: + name: name-of-vpn-interface + poll-interval: 30000 + content: + map: + conditions: + ~carrier: + string: {text: "VPN DN | ", margin: 5} + carrier: + string: {text: "VPN UP | ", margin: 5} + - network: name: wlp1s0 poll-interval: 30000 content: map: default: - string: {text: "WLS {ssid} | "} + string: {text: "WLS DN | "} conditions: - state == down: - string: {text: "WLS DN | "} + state == up: + string: {text: "WLS {ssid} | "} - battery: name: BAT1 poll-interval: 30000 @@ -33,7 +43,13 @@ bar: content: {string: {text: "{temp} | {time}"}} left: - river: - title: {string: { margin: 5, max: 64, text: "{layout} | {title}" }} + title: + map: + conditions: + title != "": + string: { max: 64, text: "| {layout} | {title}" } + title == "": + string: { text: "<no views>" } content: map: conditions: |
