chezmoi/dot_dotfiles/polybar/polybar-scripts/polybar-scripts/system-gpu-intel
2020-07-14 15:19:48 +02:00
..
README.md Added links and polybar. 2020-07-14 15:19:48 +02:00
system-gpu-intel.sh Added links and polybar. 2020-07-14 15:19:48 +02:00

Script: system-gpu-intel

A script that shows the Intel GPU consumption. It is calculated on the current frequency.

Dependencies

  • intel_gpu_frequency from intel-gpu-tools
  • bc

Configuration

You may need to add intel_gpu_frequency command to the /etc/sudoers NOPASSWD of your user:

user ALL=(ALL) NOPASSWD: /usr/bin/intel_gpu_frequency

Module

[module/system-gpu-intel]
type = custom/script
exec = ~/polybar-scripts/system-gpu-intel.sh
interval = 20