mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
GPU: optionally hide unknown GPUs (#1742)
The current default behavior of not hiding any GPUs is retained. The new feature of hiding unknown or unrecognized GPUs can be enabled with hide-type = "unknown".
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
|
||||
typedef enum __attribute__((__packed__)) FFGPUType
|
||||
{
|
||||
FF_GPU_TYPE_UNKNOWN,
|
||||
FF_GPU_TYPE_NONE, // Indicates no specific GPU type. Useful as a hide filter only.
|
||||
FF_GPU_TYPE_UNKNOWN, // Indicates an unknown or unrecognized GPU type.
|
||||
FF_GPU_TYPE_INTEGRATED,
|
||||
FF_GPU_TYPE_DISCRETE,
|
||||
} FFGPUType;
|
||||
|
||||
Reference in New Issue
Block a user