Fixed a couple of problems with screen brightness script.

This commit is contained in:
Storm Dragon committed 2023-08-29 16:19:43 -04:00
1 parent 4773bdae87
commit 43067c0efe
1 file changed
+1 -1
+1 -1
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