diff --git a/home-manager/home.nix b/home-manager/home.nix index b1c44c2..2dedfa2 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -486,7 +486,7 @@ in position = "top"; height = 20; width = SCREEN_WIDTH; - modules-left = [ "cpu" "memory" "disk" "temperature"]; + modules-left = [ "cpu" "memory" "disk" "custom/temperature" ]; modules-center = ["custom/clock"]; modules-right = ["custom/metar"]; "custom/clock" = { @@ -512,8 +512,8 @@ in "disk" = { format = "{}%  /"; }; - "temperature" = { - format = "{temperatureC}°C"; + "custom/temperature" = { + format = "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//'"; interval = 1; }; }; @@ -704,7 +704,7 @@ in #custom-macchiato, #custom-metar, #custom-uptime, - #temperature { + #custom-temperature { color: #${FG}; background: #${BG}; border: ${BORDER_WIDTH}px solid #${ACCENT};