Dotfiles/.config/polybar/themes/monolit-dracula/polybar-scripts/system-gpu-intel
horhik aec58dae23 split polybar by themes 2020-09-05 14:43:37 +03:00
..
README.md split polybar by themes 2020-09-05 14:43:37 +03:00
system-gpu-intel.sh split polybar by themes 2020-09-05 14:43:37 +03:00

README.md

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 have to add the 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