@ -18,12 +18,18 @@ ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
[module/title]
type = internal/xwindow
[module/temperature]
type = internal/temperature
; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
thermal-zone = 0
; for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
thermal-zone = /sys/class/thermal/thermal_zone0
hwmon-path = /sys/devices/pci0000:00/0000:00:01.1/0000:10:00.0/hwmon/hwmon2/temp1_input
; 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
format = <label>
label = %temperature-c%
@ -53,6 +59,15 @@ format-connected = <label-connected>
label-disconnected =
[module/phone-battery]
type = custom/script
exec = echo "$(mconnectctl show-battery /org/mconnect/device/0 | head -1 | awk '{print $2}')%"
exec-if = ~/.config/polybar/phone-is-connected.sh
interval = 300
[module/date]
type = internal/date
interval = 5