mirror of
https://github.com/Zerodya/hyprfreeze.git
synced 2024-11-09 17:08:49 +01:00
Merge pull request #11 from Rolv-Apneseth/fix-hyprland-detection
fix: enforce lowercase to fix `hyprland` detection
This commit is contained in:
commit
67964d506e
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue