diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-10-20 17:30:42 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-10-20 17:30:42 -0700 |
commit | 0123bf08f118dac601fd3b6c3e8a532cc9c76dd2 (patch) | |
tree | 8cd9f1bdb4da0e6a9a5b40edfd313038ccbcf89e /home/bin/backlight | |
parent | 30e7c35db5936c59078cbfd1d83632454add572f (diff) | |
download | dotfiles-0123bf08f118dac601fd3b6c3e8a532cc9c76dd2.tar.gz dotfiles-0123bf08f118dac601fd3b6c3e8a532cc9c76dd2.tar.bz2 dotfiles-0123bf08f118dac601fd3b6c3e8a532cc9c76dd2.zip |
Run shellcheck on utility scripts
Diffstat (limited to 'home/bin/backlight')
-rwxr-xr-x | home/bin/backlight | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/bin/backlight b/home/bin/backlight index d18e58c..553b79a 100755 --- a/home/bin/backlight +++ b/home/bin/backlight @@ -12,12 +12,12 @@ case "$1" in ;; dec) if [[ "$current" -gt 0 ]]; then - echo $(( $current - $step )) > "$device/brightness" + echo $(( current - step )) > "$device/brightness" fi ;; inc) if [[ "$current" -lt "$max" ]]; then - echo $(( $current + $step )) > "$device/brightness" + echo $(( current + step )) > "$device/brightness" fi ;; *) |