diff --git a/scripts/screen_controller.sh b/scripts/screen_controller.sh index 9b09196..c8c4f34 100755 --- a/scripts/screen_controller.sh +++ b/scripts/screen_controller.sh @@ -19,6 +19,6 @@ if [[ ${#brightness} -lt 1 ]]; then fi xrandr --output ${screenName} --brightness ${brightness%%|*} && - spd-say -P important -Cw "Screen set to ${brightness##*|}." + spd-say -P important -Cw "Screen set to ${brightness#*|}." exit 0