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
commit99df28c440fd72ac391dc679ff3e4b8bd739a118 (patch)
tree070f0f6279b8caad0a18272914e4de0dca45349a /ar/.local/bin/monitorbright
parent13a9ed632e1ddea0135a5069d620a9451d0d6bd3 (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