Fixed a couple of problems with screen brightness script.

This commit is contained in:
Storm Dragon 2023-08-29 16:19:43 -04:00
parent 4773bdae87
commit 43067c0efe

View File

@ -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