Update brightness_mode.sh
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user