summaryrefslogtreecommitdiff
path: root/yambar
diff options
context:
space:
mode:
Diffstat (limited to 'yambar')
-rw-r--r--yambar/config.yml24
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: