This commit is contained in:
2025-05-14 17:36:14 -06:00
parent a6b455a364
commit 7b12211aa7
4 changed files with 253 additions and 94 deletions

View File

@@ -30,7 +30,7 @@ include-file = ./decor.ini
; This is for the primary monitor, the launch.sh script uses this bar for primary monitor only
; the modules-right includes the tray for primary monitor only!
inherit = bar/main
modules-right = 2RD ethernet 3RD battery 4RD volume 5RD date 6RD tray 7RD sysmenu sepR
modules-right = i3 2RD ethernet 3RD battery 4RD volume 5RD date 6RD tray 7RD sysmenu sepR
[bar/main]
@@ -148,7 +148,7 @@ font-3 = "Symbols Nerd Font:size=10;3"
modules-left = sepL menu 1LD workspaces2 2LD cpu 3LD memory 4LD filesystem 5LD mpd
#modules-center = mpd i3
modules-center = workspace_name
modules-right = 2RD ethernet 3RD battery 4RD volume 5RD date 6RD 7RD sysmenu sepR
modules-right = i3 2RD ethernet 3RD battery 4RD volume 5RD date 6RD 7RD sysmenu sepR

View File

@@ -112,8 +112,13 @@ full-at = 99
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = ${system.sys_battery}
adapter = ${system.sys_adapter}
; battery = ${system.sys_battery}
; adapter = ${system.sys_adapter}
# NOTE, ohmyi3 vars are not merged here
#battery = {{ battery_device }}
battery = BAT0
adapter = AC
; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.