Browse Source

Fix brightness script

master
Riyyi 7 years ago
parent
commit
15dfcb22a6
  1. 4
      .scripts/wm/brightness.sh

4
.scripts/wm/brightness.sh

@ -8,9 +8,9 @@ esac
PERCENTAGE=$(printf "%.0f" "$(xbacklight)")
if $(( $PERCENTAGE >= 75 )); then
if [ "$PERCENTAGE" -ge "75" ]; then
ICON=""
elif $(( $PERCENTAGE >= 25 )); then
elif [ "$PERCENTAGE" -ge "25" ]; then
ICON=""
else
ICON=""

Loading…
Cancel
Save