GPU: Print each GPU on a different line #554
Conversation
Is the battery subtitle broken in master? |
Yep, seems to be broken in master too. |
Fixed. |
gpu="${gpu/Intel }" | ||
fi | ||
|
||
prin "GPU${gpu_num}" "$gpu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to change the GPU
one into ${subtitle}
, like the battery function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, just did. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was fast....
Also, it seems we're still printing the results starting from |
Sure, easy fix. :) |
I've added |
LGTM 👍 |
Description
This PR makes
get_gpu()
display each GPU on a separate line on Linux systems.Features
Issues
TODO
all
,dedicated
orintegrated
.CC @konimex,, can you test this?