summaryrefslogtreecommitdiff
path: root/.local/bin/backlightctl
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:22:09 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-24 12:22:09 -0500
commit2c5a050641d5400843facfc65e58a2bef5d87422 (patch)
treeb9b0f04c256509dc773197c90605f763d51c3400 /.local/bin/backlightctl
parent61e7324e6692b155b6dd1d450ff431582c1fc57b (diff)
Multithreaded R package compilation
Diffstat (limited to '.local/bin/backlightctl')
-rwxr-xr-x.local/bin/backlightctl2
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]