diff options
Diffstat (limited to '.local/bin/backlightctl')
-rwxr-xr-x | .local/bin/backlightctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/backlightctl b/.local/bin/backlightctl index d3f6280..1d38c07 100755 --- a/.local/bin/backlightctl +++ b/.local/bin/backlightctl @@ -31,7 +31,7 @@ get_percent() { # $1 is converted to a value between 0-$max within this function get_total() { value="$(to_value "$1")" - printf "%d" "$(($(get_status) + value))" + printf "%d" "$(($(get_status) + $value))" } helpmsg="Usage: backlightctl -[FLAG] [PERCENTAGE] |