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 | 99df28c440fd72ac391dc679ff3e4b8bd739a118 (patch) | |
| tree | 070f0f6279b8caad0a18272914e4de0dca45349a /ar/.local/bin/monitorbright | |
| parent | 13a9ed632e1ddea0135a5069d620a9451d0d6bd3 (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 |
