-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Very verbose GPU output #111
Comments
Hi @CIAvash It's true that Archey does not assume anything about GPU data format, and simply shows it all (ref). I don't really know what we should/could do about it here, because looking at Neofetch code, this really looks like vendor-related parsing (which I'd rather avoid, because of the maintaining burden). I'm opened to any idea though, including changing or preferring another data source on GNU/Linux platforms. Cheers 👋 |
hwinfo --short | rg -A 1 'graphics card:' | sd '\s+' ' '
lshw -C display 2>/dev/null | rg product
That said, how about adding a field to run custom commands? For example a |
Thanks for your command outputs.
Definitely, I wanted to (more or less) implement something like this in a rather far future, but I'll try to come up with something sooner then 🙇 |
This patch brings a first support for "custom entries" to Archey. It mainly allows users to run custom commands through their configuration file. In order to give "power to the user" for most of situations: * STDERR output **MAY** be silenced through `log_stderr` option * command exit status code **MAY** be ignored through `check` option Multi-lines results will be joined on the same line, unless `one_line` option is disabled. Users **SHOULD** only enable `shell` option if they have to. > See #111 for rationale.
Hi @HorlogeSkynet, yes, it works perfectly. Thanks! |
Describe the bug
The output of GPU entry for AMD 6900 XT is very verbose. It shows:
Expected behavior
More concise GPU output, for example, neofetch shows this:
Environment
The text was updated successfully, but these errors were encountered: