Expand description
Display the stats of your NVidia GPU
By default show_temperature
shows the used memory. Clicking the left mouse on the
“temperature” part of the block will alternate it between showing used or total available
memory.
Clicking the left mouse button on the “fan speed” part of the block will cause it to enter into a fan speed setting mode. In this mode you can scroll the mouse wheel over the block to change the fan speeds, and left click to exit the mode.
Requires nvidia-smi
for displaying info and nvidia_settings
for setting fan speed.
§Configuration
Key | Values | Default |
---|---|---|
gpu_id | GPU id in system. | 0 |
format | A string to customise the output of this block. See below for available placeholders. | " $icon $utilization $memory $temperature " |
interval | Update interval in seconds. | 1 |
idle | Maximum temperature, below which state is set to idle | 50 |
good | Maximum temperature, below which state is set to good | 70 |
info | Maximum temperature, below which state is set to info | 75 |
warning | Maximum temperature, below which state is set to warning | 80 |
Placeholder | Type | Unit |
---|---|---|
icon | Icon | - |
name | Text | - |
utilization | Number | Percents |
memory | Number | Bytes |
temperature | Number | Degrees |
fan_speed | Number | Percents |
clocks | Number | Hertz |
power | Number | Watts |
Action | Default button |
---|---|
toggle_mem_total | Left on $memory |
toggle_fan_controlled | Left on $fan_speed |
fan_speed_up | Wheel Up on $fan_speed |
fan_speed_down | Wheel Down on $fan_speed |
§Example
[[block]]
block = "nvidia_gpu"
interval = 1
format = " $icon GT 1030 $utilization $temperature $clocks "
§Icons Used
gpu
§TODO
- Provide a
mappings
option similar tokeyboard_layout
’s to map GPU names to labels?