Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
347854b2
Commit
347854b2
authored
Jul 13, 2017
by
Muhammad Herdiansyah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPU [NetBSD]: Added temp support
parent
c3c64049
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
CHANGELOG.md
+1
-0
neofetch
neofetch
+2
-2
neofetch.1
neofetch.1
+1
-1
No files found.
CHANGELOG.md
View file @
347854b2
...
...
@@ -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**
...
...
neofetch
View file @
347854b2
...
...
@@ -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)
...
...
neofetch.1
View file @
347854b2
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment