aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-04-20 12:42:58 +0200
committerKarel Kočí <cynerd@email.cz>2021-04-20 12:42:58 +0200
commita7855fe4d2242b43b00607212106c84d36bf03ac (patch)
tree0c57074c40799424e2837201499c295d042b8d88 /config/i3blocks/scripts
parentaa145708ee4027a8986fd83783e170cdcd914454 (diff)
downloadmyconfigs-a7855fe4d2242b43b00607212106c84d36bf03ac.tar.gz
myconfigs-a7855fe4d2242b43b00607212106c84d36bf03ac.tar.bz2
myconfigs-a7855fe4d2242b43b00607212106c84d36bf03ac.zip
config/i3blocks: add gpu
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