1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-10-07 04:22:53 +00:00
Dotfiles/.config/polybar/polybar-scripts/system-gpu-intel/README.md
2020-07-27 07:59:00 +03:00

29 lines
499 B
Markdown

# 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
```ini
[module/system-gpu-intel]
type = custom/script
exec = ~/polybar-scripts/system-gpu-intel.sh
interval = 20
```