summaryrefslogtreecommitdiff
path: root/ar/.local/bin/monitorbright
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-11 06:06:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-01-11 06:06:27 +0900
commiteeaa5670e9bbf54af3f5577f6631a72fb3d562de (patch)
tree823ddf2e88b07c97592b9b9d776f6db1d6a97265 /ar/.local/bin/monitorbright
parentb15632ee7226179d9b7a40f8626f55eed29c92c3 (diff)
updates
Diffstat (limited to 'ar/.local/bin/monitorbright')
-rwxr-xr-xar/.local/bin/monitorbright4
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