This Rust project reads the temperature and fan speeds of a compatible Dell system running Linux using the i8kctl
command and outputs the information with colorful ANSI escape codes.
- Interpolates colors based on temperature ranges smoothly with the amazing Oklab colour space.
- Outputs temperature and fan speeds with ANSI escape codes for colorful terminal display.
- Supports diffing ANSI strings to only update changes.
The temperature color scale is designed to visually represent different temperature levels. Below are examples of temperature ranges displayed with their corresponding foreground and background colors:
- 30°C
- 40°C
- 45°C
- 50°C
- 60°C
- 65°C
- 80°C
i let chatgpt write this based on my code. honestly it was too stupid. just writing it myself would have been faster lmao