about summary refs log tree commit diff stats
path: root/pkgs/by-name/br
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/br/brightness/brightness.sh2
1 files changed, 1 insertions, 1 deletions
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}')"