From 497b1dbf39044db541a46710387b7fc033ef0463 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Jan 2022 15:01:42 +0100 Subject: Update sb-pacpackages with paru --- .local/bin/statusbar/sb-gpubar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local') diff --git a/.local/bin/statusbar/sb-gpubar b/.local/bin/statusbar/sb-gpubar index 6c53136..5cbdf18 100755 --- a/.local/bin/statusbar/sb-gpubar +++ b/.local/bin/statusbar/sb-gpubar @@ -11,7 +11,7 @@ esac memutil=$(nvidia-smi --query-gpu=utilization.gpu --format=csv | awk 'FNR == 2 {print $1}') gpuutil=$(nvidia-smi --query-gpu=utilization.memory --format=csv | awk 'FNR == 2 {print $1}') -# temp=$(nvidia-smi --query-gpu=temperature.gpu --format=csv | awk 'FNR == 2 {print $1}') +temp=$(nvidia-smi --query-gpu=temperature.gpu --format=csv | awk 'FNR == 2 {print $1}') printf "" for var in $memutil $gpuutil; do case "$var" in @@ -26,5 +26,5 @@ for var in $memutil $gpuutil; do *) printf "█" ;; esac done -# printf " $temp°C" +printf " 󰔏$temp°C" printf "\\n" -- cgit v1.2.3-70-g09d2