Fix brightness script

This commit is contained in:
Riyyi
2018-01-08 15:59:33 +01:00
parent 1f370d0aaa
commit 15dfcb22a6
+2 -2
View File
@@ -8,9 +8,9 @@ esac
PERCENTAGE=$(printf "%.0f" "$(xbacklight)") PERCENTAGE=$(printf "%.0f" "$(xbacklight)")
if $(( $PERCENTAGE >= 75 )); then if [ "$PERCENTAGE" -ge "75" ]; then
ICON="" ICON=""
elif $(( $PERCENTAGE >= 25 )); then elif [ "$PERCENTAGE" -ge "25" ]; then
ICON="" ICON=""
else else
ICON="" ICON=""