1
0
Fork 1
mirror of https://github.com/Zerodya/hyprfreeze.git synced 2024-09-19 15:33:20 +02:00

Merge pull request #11 from Rolv-Apneseth/fix-hyprland-detection

fix: enforce lowercase to fix `hyprland` detection
This commit is contained in:
Nicola 2024-04-27 18:24:52 +02:00 committed by GitHub
commit 67964d506e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,6 +136,9 @@ function detectEnvironment() {
DESKTOP="hyprland" DESKTOP="hyprland"
fi fi
# Enforce lowercase for consistent matching
DESKTOP="${DESKTOP,,}"
debugPrint "Desktop: $DESKTOP" debugPrint "Desktop: $DESKTOP"
} }