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

fix: enforce lowercase to fix hyprland detection

This commit is contained in:
rolv 2024-04-27 13:17:18 +01:00
parent daffbc49c5
commit 2e05fe4d46

View file

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