magbo system


All time when I used i3 window manager I used i3status too. i3status is little bar on bottom of the screen which displays info about things I’m interested in, i.e. free disk space, IP address, volume level, date and time (+ tray icons).

I want know what actual CPU temperature is. In i3status there is configuration “cpu_temperature” where you can insert path to the file where actual temperature is (/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input). Unfortunetly my system sometime changes hwmon1 to hwmon0, then the temperature can’t be read. I’m not able to change cpu_temperature behavior.

py3status is wrapper around i3status and has more plugins and you can write your own. I replace my old configuration:

cpu_temperature 0 {
    format = "%degrees °C"
    path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input"
    max_threshold = 75

with new one for py3status:

lm_sensors {
    format_chip = '[\?if=name=coretemp-isa-0000 CPUs: {format_sensor} ]'
    format_sensor = '\?color=auto.input {input}°C'
    sensors = ['core', 'temp']

py3status uses i3status config file. More modules are available on

Leave a Reply

Your email address will not be published. Required fields are marked *