aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/yambar/config.yml52
1 files changed, 22 insertions, 30 deletions
diff --git a/.config/yambar/config.yml b/.config/yambar/config.yml
index 72d5148..d8193c9 100644
--- a/.config/yambar/config.yml
+++ b/.config/yambar/config.yml
@@ -142,36 +142,28 @@ bar:
- backlight:
name: amdgpu_bl0
content: [ string: {text: , font: *nerdfont}, string: {text: "{percent}%", on-click: { left: sh -c "brightnessctl -s > ~/.cache/brightness s 5-", right: sh -c "brightnessctl -s > ~/.cache/brightness s +5"}}]
- # - network:
- # name: enp5s0
- # content:
- # map:
- # conditions:
- # state == down: {string: {text: 󰲜, font: *nerdfont, foreground: ffffffff}}
- # ~carrier: {empty: {}}
- # carrier:
- # map:
- # default: {string: {text: 󰈀, font: *nerdfont, foreground: ffffffff}}
- # conditions:
- # state == up && ipv4 != "": {string: {text: 󰈀, font: *nerdfont}}
- # - network:
- # name: wlp3s0
- # poll-interval: 1000
- # content:
- # map:
- # default: {string: {text: , font: *nerdfont, foreground: ffffff66}}
- # conditions:
- # state == down: {string: {text: , font: *nerdfont, foreground: ffffffff}}
- # state == up:
- # map:
- # default:
- # - string: {text: , font: *nerdfont}
- # - string: {text: "{ssid}"}
-
- # conditions:
- # ipv4 == "":
- # - string: {text: , font: *nerdfont, foreground: ffffff66}
- # - string: {text: "{ssid}", foreground: ffffff66}
+ - network:
+ content:
+ map:
+ conditions:
+ name == enp5s0:
+ map:
+ conditions:
+ state == up:
+ - string: { text: 󰈀, font: *nerdfont, foreground: ffffffff }
+ state == down:
+ - string: { text: 󰲜, font: *nerdfont, foreground: ffffffff }
+ - network:
+ content:
+ map:
+ conditions:
+ name == wlp3s0:
+ map:
+ conditions:
+ state == up:
+ - string: { text: , font: *nerdfont, foreground: ffffff66 }
+ state == down:
+ - string: { text: , font: *nerdfont, foreground: ffffffff }
- battery:
name: BAT0
poll-interval: 10000