From 99df28c440fd72ac391dc679ff3e4b8bd739a118 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sun, 11 Jan 2026 06:06:27 +0900 Subject: updates --- ar/.local/bin/monitorbright | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ar/.local/bin/monitorbright') 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 -- cgit v1.2.3