archfw setup

This commit is contained in:
2025-01-03 09:37:26 +01:00
parent 323698cd12
commit 0494a6fe60
12 changed files with 37 additions and 16 deletions

View File

@@ -63,6 +63,14 @@ label =%date%
[module/temperature]
type = internal/temperature
; Full path of temperature sysfs path
; Use `sensors` to find preferred temperature source, then run
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
; to find path to desired file
; Default reverts to thermal zone setting
; hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
base-temperature = 40
warn-temperature = 80
@@ -81,6 +89,7 @@ format-warn-foreground = ${colors.alert}
[module/battery]
type = internal/battery
full-at = 98
battery = BAT1
time-format = %H:%M
format-charging = <animation-charging> <label-charging>