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