-
Notifications
You must be signed in to change notification settings - Fork 6
GPU Module
Sam edited this page Aug 7, 2024
·
6 revisions
The gpu
module displays information such as your GPU's name, vendor and memory. It creates a new line for each individual GPU.
Insert into the modules
array.
-
amd_accuracy
-> (Bool) Enables additional accuracy on AMD systems. Can be disabled in case you don't have an AMD GPU. -
ignore_disabled_gpus
-> (Bool) Whether to ignore GPU's that are marked as "disabled" -
title
-> (String) The module title. Contains a singular{index}
placeholder for multiple GPUs. -
format
-> (String) The format used to display the module. Check below to see available placeholders. -
title_color
-> (Optional/String) Override the title color to be used. -
title_bold
-> (Optional/Bool) Make the title bold. -
title_italic
-> (Optional/Bool) Make the title italic. -
separator
-> (Optional/Char) Override the separator to be used. -
use_ibis
-> (Optional/Bool) Override whether to display in 'ibibytes instead of 'gabytes.
-
{vendor}
-> The name of the GPU's vendor, e.g AMD or Intel. -
{model}
-> The name of the GPU's model, e.g Radeon RX 7700. -
{vram}
-> The amount of virtual memory the GPU has.
[gpu]
amd_accuracy = true
ignore_disabled_gpus = true
title = "GPU"
format = "{vendor} {model} ({vram})"
modules = [
"gpu"
]
[gpu]
amd_accuracy = false
ignore_disabled_gpus = false
title = "GPU {index}"
format = "{vendor} {model}"