clean up scripts

This commit is contained in:
azpsen
2024-01-29 08:31:23 -06:00
parent 5183836de3
commit e7a0783c26
302 changed files with 32 additions and 2588 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
gpu=$(sudo intel_gpu_frequency --get)
gpu_cur=$(echo "$gpu" | grep cur | awk '{ print $2 }')
gpu_max=$(echo "$gpu" | grep max | awk '{ print $2 }')
gpu_percent=$(echo "$gpu_cur/$gpu_max*100" | bc -l | cut -d "." -f 1)
echo "# $gpu_percent %"