dotfiles/.config/polybar/scripts/gpu.sh
2021-07-11 16:54:17 +03:00

3 lines
113 B
Bash
Executable File

#!/bin/sh
nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | awk '{ print "GPU",""$1"","%"}'