diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8cc18d..75b2e76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ **CPU** - [Linux] Fixed inaccurate output on ARM SoC devices. +- [NetBSD] Added support for CPU temperature. (NOTE: This only supports newer Intel processors) **Terminal** diff --git a/neofetch b/neofetch index 84b4b261..fb411502 100755 --- a/neofetch +++ b/neofetch @@ -934,7 +934,7 @@ get_cpu() { # Get CPU temp. if [[ "$cpu_temp" != "off" ]]; then case "$kernel_name" in - "FreeBSD"* | "DragonFly"*) + "FreeBSD"* | "DragonFly"* | "NetBSD"*) temp="$(sysctl -n dev.cpu.0.temperature)" temp="${temp/C}" ;; @@ -3968,7 +3968,7 @@ INFO: NOTE: This only works on Linux and BSD. - NOTE: For FreeBSD-based systems, you need to enable coretemp kernel module. + NOTE: For FreeBSD and NetBSD-based systems, you need to enable coretemp kernel module. This only supports newer Intel processors. --distro_shorthand on/off Shorten the output of distro (tiny, on, off) diff --git a/neofetch.1 b/neofetch.1 index 7b47fc4a..48b040ed 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -51,7 +51,7 @@ Hide/Show cpu temperature. .IP NOTE: This only works on Linux and BSD. .IP -NOTE: For FreeBSD\-based systems, you need to enable coretemp kernel module. +NOTE: For FreeBSD and NetBSD\-based systems, you need to enable coretemp kernel module. This only supports newer Intel processors. .TP \fB\-\-distro_shorthand\fR on/off Shorten the output of distro (tiny, on, off)