Fix brightness script
This commit is contained in:
@@ -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=""
|
||||||
|
|||||||
Reference in New Issue
Block a user