diff --git a/config/polybar/config.ini b/config/polybar/config.ini index 2608bca..6778431 100644 --- a/config/polybar/config.ini +++ b/config/polybar/config.ini @@ -59,8 +59,8 @@ module-margin-right = 2 module-margin-left = 2 modules-left = bspwm -modules-center = spotify -modules-right = temperature memory cpu battery wlan eth date +modules-center = title +modules-right = phone-battery temperature memory cpu battery wlan eth date wm-restack = bspwm diff --git a/config/polybar/modules/status b/config/polybar/modules/status index b2b705c..d7db7ef 100644 --- a/config/polybar/modules/status +++ b/config/polybar/modules/status @@ -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 =