From 16f50d274245004f52d387a12f0830b3312ef06c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 19 Jun 2024 07:14:26 +0200 Subject: fix(pkgs/brightness): Remove unneeded variable assignment --- pkgs/by-name/br/brightness/brightness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/by-name') diff --git a/pkgs/by-name/br/brightness/brightness.sh b/pkgs/by-name/br/brightness/brightness.sh index a3f93bfd..887dbb1e 100755 --- a/pkgs/by-name/br/brightness/brightness.sh +++ b/pkgs/by-name/br/brightness/brightness.sh @@ -34,7 +34,7 @@ brightness() { max="$(cat $BACKLIGHT/max_brightness)" - new="$(echo | awk --assign=per="$cur_perc" --assign=perc="$perc" '{printf (perc / 100)}')" + new="$(echo | awk --assign=perc="$perc" '{printf (perc / 100)}')" output="$(echo | awk --assign=new="$new" --assign=max="$max" '{printf max * new}')" -- cgit 1.4.1