aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/i3blocks/scripts')
-rwxr-xr-xconfig/i3blocks/scripts/gpu4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/i3blocks/scripts/gpu b/config/i3blocks/scripts/gpu
new file mode 100755
index 0000000..5153dba
--- /dev/null
+++ b/config/i3blocks/scripts/gpu
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "$(cat /sys/class/drm/card0/device/gpu_busy_percent)%"
+echo
+echo