Fixed a couple of problems with screen brightness script.
This commit is contained in:
1 parent
4773bdae87
commit
43067c0efe
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user