diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-08-01 10:57:15 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-08-01 10:58:39 -0500 |
| commit | aeafbef493c55e25274a5cfa517cbc31e07726e2 (patch) | |
| tree | 3cdb0ee3ac3b0059467589c42d9a14e7ed856495 /yambar | |
| parent | 427f4d71227bdade478e752056a4248fb50012fc (diff) | |
yambar: remove symbols
Symbols were too small on the display.
Switch to text-based.
Assisted-by Claude:Opus-4.8
Diffstat (limited to 'yambar')
| -rw-r--r-- | yambar/.config/yambar/config.yml | 89 |
1 files changed, 47 insertions, 42 deletions
diff --git a/yambar/.config/yambar/config.yml b/yambar/.config/yambar/config.yml index be8f0b9..2f9b275 100644 --- a/yambar/.config/yambar/config.yml +++ b/yambar/.config/yambar/config.yml @@ -7,8 +7,7 @@ bar: foreground: ffffffff background: 222222ff - # experiment with plain monospace - font: "Adwaita Mono:size=32, Symbols Nerd Font:size=32" + font: "Adwaita Mono:size=32" border: top-margin: 0 @@ -23,9 +22,15 @@ bar: conditions: name == "wlp1s0": map: - default: {string: {text: "", foreground: ff5555ff}} + default: {string: {text: "NET:off", foreground: ffb86cff}} conditions: - carrier: {string: {text: ""}} + carrier: + ramp: + tag: quality + items: + - string: {text: "net:{quality}%", foreground: ffb86cff} + - string: {text: "net:{quality}%", foreground: f1fa8cff} + - string: {text: "net:{quality}%", foreground: 50fa7bff} - pipewire: content: map: @@ -37,15 +42,15 @@ bar: conditions: type == "sink": map: - default: - ramp: - tag: cubic_volume - items: - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} conditions: - muted: {string: {text: "", foreground: ff5555ff}} + muted: {string: {text: "snd:MUT", foreground: ffb86cff}} + ~muted: + ramp: + tag: linear_volume + items: + - string: {text: "snd:{linear_volume}%", foreground: 50fa7bff} + - string: {text: "snd:{linear_volume}%", foreground: f1fa8cff} + - string: {text: "snd:{linear_volume}%", foreground: ffb86cff} - cpu: poll-interval: 2000 content: @@ -54,34 +59,42 @@ bar: default: {empty: {}} conditions: id == -1: - map: - default: {string: {text: ""}} - conditions: - cpu > 85: {string: {text: "", foreground: ff5555ff}} + ramp: + tag: cpu + items: + - string: {text: "cpu:{cpu}%", foreground: 50fa7bff} + - string: {text: "cpu:{cpu}%", foreground: f1fa8cff} + - string: {text: "cpu:{cpu}%", foreground: ffb86cff} - script: path: ~/.config/yambar/gpu.sh content: - map: - on-click: 'notify-send -h string:x-canonical-private-synchronous:yambar "GPU" "{gpu_busy}% · {gpu_temp}°C · {vram_used} / {vram_total} MiB"' - default: {string: {text: ""}} - conditions: - gpu_busy > 85: {string: {text: "", foreground: ff5555ff}} + ramp: + on-click: 'notify-send -h string:x-canonical-private-synchronous:yambar "gpu" "{gpu_busy}% · {gpu_temp}°C · {vram_used} / {vram_total} MiB"' + tag: gpu_busy + items: + - string: {text: "gpu:{gpu_busy}%", foreground: 50fa7bff} + - string: {text: "gpu:{gpu_busy}%", foreground: f1fa8cff} + - string: {text: "gpu:{gpu_busy}%", foreground: ffb86cff} - mem: poll-interval: 5000 content: - map: + ramp: on-click: 'notify-send -h string:x-canonical-private-synchronous:yambar "Memory" "{percent_used}% used"' - default: {string: {text: ""}} - conditions: - percent_used > 85: {string: {text: "", foreground: ff5555ff}} + tag: percent_used + items: + - string: {text: "ram:{percent_used}%", foreground: 50fa7bff} + - string: {text: "ram:{percent_used}%", foreground: f1fa8cff} + - string: {text: "ram:{percent_used}%", foreground: ffb86cff} - script: path: ~/.config/yambar/disk.sh content: - map: + ramp: on-click: 'notify-send -h string:x-canonical-private-synchronous:yambar "Disk /" "{disk_avail} free · {disk_used}% used"' - default: {string: {text: ""}} - conditions: - disk_used > 85: {string: {text: "", foreground: ff5555ff}} + tag: disk_used + items: + - string: {text: "drv:{disk_used}%", foreground: 50fa7bff} + - string: {text: "drv:{disk_used}%", foreground: f1fa8cff} + - string: {text: "drv:{disk_used}%", foreground: ffb86cff} - battery: name: BAT0 poll-interval: 30000 @@ -92,20 +105,12 @@ bar: ramp: tag: capacity items: - - string: {text: "", foreground: ff5555ff} - - string: {text: "", foreground: ff5555ff} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} - - string: {text: ""} + - string: {text: "bat:{capacity}%", foreground: ffb86cff} + - string: {text: "bat:{capacity}%", foreground: f1fa8cff} + - string: {text: "bat:{capacity}%", foreground: 50fa7bff} conditions: - state == "charging": {string: {text: ""}} - state == "full": {string: {text: ""}} + state == "charging": {string: {text: "BAT:{capacity}%", foreground: 50fa7bff}} + state == "full": {string: {text: "BAT:{capacity}%", foreground: 50fa7bff}} - label: content: {string: {text: "|"}} - script: |
