diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-11 06:06:27 +0900 |
| commit | eeaa5670e9bbf54af3f5577f6631a72fb3d562de (patch) | |
| tree | 823ddf2e88b07c97592b9b9d776f6db1d6a97265 /ar/.local/bin/monitorbright | |
| parent | b15632ee7226179d9b7a40f8626f55eed29c92c3 (diff) | |
updates
Diffstat (limited to 'ar/.local/bin/monitorbright')
| -rwxr-xr-x | ar/.local/bin/monitorbright | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ar/.local/bin/monitorbright b/ar/.local/bin/monitorbright index 2de2e5d..db2bcf3 100755 --- a/ar/.local/bin/monitorbright +++ b/ar/.local/bin/monitorbright @@ -15,10 +15,6 @@ case "$monitor" in esac new_brightness=$(echo "if ($new_brightness > 1) 1 else if ($new_brightness < 0) 0 else $new_brightness" | bc -l) xrandr --output "$monitor" --brightness "$new_brightness" - current_brightness=$(echo "$new_brightness * 100" | bc -l) - else - current_brightness=$(echo "$current_brightness * 100" | bc -l) fi - printf "🪟%.0f%%\n" "$current_brightness" ;; esac |
