Fixed a couple of problems with screen brightness script.
This commit is contained in:
parent
4773bdae87
commit
43067c0efe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user