Skip to content

Instantly share code, notes, and snippets.

@wolfiestyle
Created November 10, 2020 17:27
Show Gist options
  • Select an option

  • Save wolfiestyle/9a72b63644307096d1fc79f55b24a1b5 to your computer and use it in GitHub Desktop.

Select an option

Save wolfiestyle/9a72b63644307096d1fc79f55b24a1b5 to your computer and use it in GitHub Desktop.

Revisions

  1. wolfiestyle created this gist Nov 10, 2020.
    7 changes: 7 additions & 0 deletions conky.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ${alignc}${font Dejavu Sans Mono:size=8}GPU ${exec cat /sys/class/drm/card0/device/gpu_busy_percent}%${font}
    ${color3}${execgraph "cat /sys/class/drm/card0/device/gpu_busy_percent" 3fa5ff 3fa5ff}
    ${color1}Temp${color} ${hwmon 2 temp 1}
    ${color1}GPU clk${color} ${exec grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_sclk}
    ${color1}Mem clk${color} ${exec grep -Po '\d+:\s\K(\d+)(?=.*\*$)' /sys/class/drm/card0/device/pp_dpm_mclk}
    ${color1}Mem${color} ${exec numfmt --to=iec < /sys/class/drm/card0/device/mem_info_vram_used}
    ${color1}Fan${color} ${hwmon 2 fan 1}