Better detection for Desktop Session w/ KDE

This commit is contained in:
Maddox Werts 2025-04-11 23:55:21 -04:00
parent 50834b1222
commit c60269e1b0

View file

@ -124,8 +124,10 @@ install_flat() {
# Entry Point
main() {
## Desktop Specific Operations ##
if [ "$DESKTOP_SESSION" == "gnome" ]; then
if [ "$XDG_CURRENT_DESKTOP" == "Gnome" ]; then
gnome
elif [ "$XDG_CURRENT_DESKTOP" == "KDE" ]; then
kde
fi
# Installing Software