From a7855fe4d2242b43b00607212106c84d36bf03ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 20 Apr 2021 12:42:58 +0200 Subject: config/i3blocks: add gpu --- config/i3blocks/scripts/gpu | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 config/i3blocks/scripts/gpu (limited to 'config/i3blocks/scripts/gpu') 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 -- cgit v1.2.3