aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-24 22:32:31 +0100
committerBlake Romero <blake@blkrom.com>2025-07-24 22:32:31 +0100
commitf4662f2b58cbf8ed2cbdc49fb52b9e4bfa60d888 (patch)
tree408a52ceae776371cafa4032bb16f6e7c1effbf9
parent5b9cba0404e72dcd41faa547f1859fecb931120a (diff)
Fix yambar default condition warning & update battery/backlight source
-rwxr-xr-xdot-config/yambar/config.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/dot-config/yambar/config.yml b/dot-config/yambar/config.yml
index 9945103..be8703a 100755
--- a/dot-config/yambar/config.yml
+++ b/dot-config/yambar/config.yml
@@ -51,8 +51,8 @@ define:
# MODULES
battery: &battery
- name: BAT0
- poll-interval: 5000
+ name: BAT1
+ poll-interval: 60000
content:
map:
on-click: *notify-bat
@@ -142,8 +142,8 @@ clock: &clock
map:
margin: *margin
foreground: *blue
+ default: {string: {text: "{time}"}}
conditions:
- default: {string: {text: "{time}"}}
# AM
time < "01:00": {string: {text: "{time} 󱑊"}}
time < "02:00": {string: {text: "{time} 󱐿"}}
@@ -189,8 +189,7 @@ workspace: &workspace
margin: *margin
foreground: *fgdim
on-click: *select-workspace
- default:
- string: {text: "{name}"}
+ default: {string: {text: "{name}"}}
conditions:
name == "0": {string: {text: ""}}
state == "focused":
@@ -200,7 +199,7 @@ workspace: &workspace
# Note: name is found in '/sys/class/backlight'
backlight: &backlight
- name: intel_backlight
+ name: amdgpu_bl1
content:
map:
on-click:
@@ -317,7 +316,7 @@ bar:
# - label: *todo
- cpu: *cpu
- mem: *mem
- - mpd: *mpd
+ #- mpd: *mpd
# - script: *newsboat
# - script: *pacman
- network: *network