From 9f6592813bfc8edb282c549070eb6e1aff838f91 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Thu, 9 Nov 2023 03:45:58 -0600 Subject: Further simplification. --- sb-gpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sb-gpu b/sb-gpu index 75a493a..8e27da1 100755 --- a/sb-gpu +++ b/sb-gpu @@ -7,7 +7,7 @@ getGPUBusy() { echo "$GPUBusy" | cat /sys/class/drm/card1/device/gpu_busy_percent } getGPUTemperature() { - echo "$GPUTemp" | sed -n "s/000//;p" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input + echo "$GPUTemp" | sed "s/000//" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input } case $BLOCK_BUTTON in -- cgit v1.2.3