[yambar] Update config for yambar 1.11.0

This commit is contained in:
Midgard 2024-05-25 19:33:47 +02:00
parent 6d5e61209c
commit 90a5adf6d4
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -194,7 +194,7 @@ bar:
mode == default: {empty: {}}
- mem:
interval: 1500
poll-interval: 1500
content:
ramp:
tag: percent_used
@ -221,7 +221,7 @@ bar:
- string: {foreground: *col_fg_alert, text: "RAM {percent_used}%"} # 95-100
- cpu:
interval: 5000
poll-interval: 5000
content:
list:
spacing: 0
@ -256,7 +256,7 @@ bar:
- ramp: {tag: cpu7, items: *cpu_ramp}
- script:
poll-interval: 5
poll-interval: 5000
path: /home/midgard/.config/yambar/temp.sh
content:
map:
@ -374,36 +374,35 @@ bar:
#- list: *mpd
- network:
name: wlp58s0
content:
map:
font: *font_supplements
default: {string: {foreground: *col_fg_alt, text: "{state}"}}
#default: {string: {foreground: *col_fg_alt, text: "{state}"}}
default:
map:
font: *font_material
default: {empty: {}}
conditions:
state == up:
string: {text: ""}
conditions:
state == down: {string: {foreground: *col_fg_alt, text: ""}}
state == dormant: {string: {text: ""}}
state == up:
list:
spacing: 0
items:
- string: {text: "", foreground: *col_meter_bg}
- ramp:
tag: signal
name == wlp58s0:
map:
conditions:
state == down: {string: {foreground: *col_fg_alt, text: ""}}
state == dormant: {string: {text: ""}}
state == up:
list:
spacing: 0
items:
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- network:
name: enp57s0f1
content:
map:
font: *font_material
default: {empty: {}}
conditions:
state == up:
string: {text: ""}
- string: {text: "", foreground: *col_meter_bg}
- ramp:
tag: signal
items:
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- {string: {text: "\uecfd"}}
- battery:
name: BAT0
@ -423,7 +422,7 @@ bar:
ramp:
tag: capacity
items: *battery_range_charging
state == not charging:
state == "not charging":
- ramp:
tag: capacity
items: *battery_range_charging