From 43067c0efe1529eebe719ed252cbec81437c4766 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 29 Aug 2023 16:19:43 -0400 Subject: [PATCH] Fixed a couple of problems with screen brightness script. --- scripts/screen_controller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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