dotfiles/.config/polybar/scripts/system-nvidia-smi.sh

4 lines
105 B
Bash
Raw Permalink Normal View History

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