Update brightness_mode.sh

This commit is contained in:
FURK4NGG
2026-01-17 11:33:21 +03:00
committed by GitHub
parent f171288ae7
commit 2b7fb7ee1c
+2 -2
View File
@@ -18,7 +18,7 @@ BRIGHTNESS="${MODES[$((MODE-1))]}"
ACTIVE_MONITOR=$(hyprctl monitors -j | jq -r '.[] | select(.focused==true).name')
if [ -z "$ACTIVE_MONITOR" ]; then
notify-send "Brightness" "Aktif monitör bulunamadi"
notify-send "Brightness" "Active monitor not found"
exit 1
fi
@@ -26,7 +26,7 @@ fi
I2C=$(grep "^$ACTIVE_MONITOR=" "$CACHE" | cut -d= -f2)
if [ -z "$I2C" ]; then
notify-send "Brightness" "I2C bulunamadi: $ACTIVE_MONITOR"
notify-send "Brightness" "I2C bus not found: $ACTIVE_MONITOR"
exit 1
fi