Update brightness_mode.sh

This commit is contained in:
FURK4NGG
2026-01-17 02:04:18 +03:00
committed by GitHub
parent 837c38c0be
commit 7c0c87f3c6
+1 -1
View File
@@ -15,7 +15,7 @@ MODE=$(cat "$STATE" 2>/dev/null || echo 1)
BRIGHTNESS="${MODES[$((MODE-1))]}" BRIGHTNESS="${MODES[$((MODE-1))]}"
# Aktif monitör # Aktif monitör
ACTIVE_MONITOR=$(hyprctl monitors -j | jq -r '.[] | select(.focused==true).> ACTIVE_MONITOR=$(hyprctl monitors -j | jq -r '.[] | select(.focused==true).name')
if [ -z "$ACTIVE_MONITOR" ]; then if [ -z "$ACTIVE_MONITOR" ]; then
notify-send "Brightness" "Aktif monitör bulunamadi" notify-send "Brightness" "Aktif monitör bulunamadi"