Skip to content

Commit 5583305

Browse files
committed
feat(cli): display current max temperature and max fan-off temperature in CLI
Add output for the maximum temperature and maximum fan-off temperature settings in the CLI interface to provide users with better visibility of their configuration.
1 parent a3fdfb3 commit 5583305

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ func runCLI() {
3535
temp, fan := readGPU()
3636
fmt.Printf("\nGPU: %v°C / %v RPM\n", temp, fan)
3737

38+
fmt.Printf("Max temperature: %v°C\n", config.MaxTemp)
39+
fmt.Printf("Max fan-off temperature: %v°C\n", config.MaxFanOffTemp)
40+
3841
fmt.Print("Daemon: ")
3942
isRunning := isRunning()
4043
if isRunning { fmt.Println("running") } else { fmt.Println("not running") }

0 commit comments

Comments
 (0)