mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-21 18:12:53 +00:00
fix integer comparision
This commit is contained in:
parent
a047bbda54
commit
e531b0b02a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ get_cputemp()
|
|||
|
||||
CPU_TEMP="$(sensors | grep temp1 | awk 'NR==1{gsub("+", " "); gsub("\\..", " "); print $2}')"
|
||||
|
||||
if [ "$CPU_TEMP" -ge $WARNING_LEVEL ]; then
|
||||
if [[ "$CPU_TEMP" -ge $WARNING_LEVEL ]]; then
|
||||
PREFIX="$FIRE$PREFIX"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue