i3status_rs::blocks

Module amd_gpu

source
Expand description

Display the stats of your AMD GPU

§Configuration

KeyValuesDefault
deviceThe device in /sys/class/drm/ to read from.Any AMD card
formatA string to customise the output of this block. See below for available placeholders." $icon $utilization "
format_altIf set, block will switch between format and format_alt on every clickNone
intervalUpdate interval in seconds5
PlaceholderValueTypeUnit
iconA static iconIcon-
utilizationGPU utilizationNumber%
vram_totalTotal VRAMNumberBytes
vram_usedUsed VRAMNumberBytes
vram_used_percentsUsed VRAM / Total VRAMNumber%
ActionDescriptionDefault button
toggle_formatToggles between format and format_altLeft

§Example

[[block]]
block = "amd_gpu"
format = " $icon $utilization "
format_alt = " $icon MEM: $vram_used_percents ($vram_used/$vram_total) "
interval = 1

§Icons Used

  • gpu

Structs§

Functions§