From f4662f2b58cbf8ed2cbdc49fb52b9e4bfa60d888 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Thu, 24 Jul 2025 22:32:31 +0100 Subject: Fix yambar default condition warning & update battery/backlight source --- dot-config/yambar/config.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'dot-config/yambar') 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 -- cgit