updated fanstat
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ if [ -f ~/.local/bin/fanctl ]; then
|
|||||||
source ~/.local/bin/stats/fanstat
|
source ~/.local/bin/stats/fanstat
|
||||||
|
|
||||||
# Output the values in JSON format using printf
|
# Output the values in JSON format using printf
|
||||||
printf '{"text": "%s", "tooltip": "%s", "class": "%s"}\n' "$textstat" "$tooltipstat" "$classstat"
|
printf 'Speed: %s\n' "$textstat"
|
||||||
else
|
else
|
||||||
echo "{\"error\": \"File not found\"}"
|
echo "{\"error\": \"File not found\"}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user