Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Improve glxinfo call, OpenBSD sensors fix #1494

Merged
merged 2 commits into from Oct 4, 2020
Merged

Improve glxinfo call, OpenBSD sensors fix #1494

merged 2 commits into from Oct 4, 2020

Conversation

julianaito
Copy link
Contributor

@julianaito julianaito commented Jul 4, 2020

Hi,

Here are small fixes:

Improve glxinfo call

glxinfo is taking a major part of the global neofetch' run time here, using the -B flag is enough to get the GPU. On 100 iterations, it's 2 times faster!

OpenBSD: fix sensors output

Looks like other OSes use "%2.1f", but OpenBSD uses "%2.2f". I had the cpu at 3725°C instead of 37.25°C.

While here, i've added adt(4) and the more recent ksmn(4).

@dylanaraps dylanaraps merged commit d8e957c into dylanaraps:master Oct 4, 2020
@dylanaraps
Copy link
Owner

Nice, thanks.

matt-fidd pushed a commit to matt-fidd/neofetch that referenced this pull request Sep 12, 2022
* Use `glxinfo -B' instead of `glxinfo'

It's enough to get the gpu infos and it's way faster.

* OpenBSD: fix cpu sensors informations, add ksmn(4) and adt(4)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants