Add cpu temp to the bar

This commit is contained in:
Cyryl Płotnicki 2019-08-18 11:13:13 +01:00
parent 52286df65a
commit dbfb24eea4

View file

@ -25,7 +25,7 @@
module-margin-right = 1;
modules-left = "i3";
modules-center = "date";
modules-right = "memory swap cpu battery1 battery0";
modules-right = "memory swap cpu temperature battery1 battery0";
tray-position = "right";
};
@ -47,6 +47,13 @@
format = "CPU: <label>";
};
"module/temperature" = {
type = "internal/temperature";
thermal-zone = 3;
interval = 5;
format = "TEMP: <label>";
};
"module/memory" = {
type = "internal/memory";
interval = 5;