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 # Entry Point
main() { main() {
## Desktop Specific Operations ## ## Desktop Specific Operations ##
if [ "$DESKTOP_SESSION" == "gnome" ]; then if [ "$XDG_CURRENT_DESKTOP" == "Gnome" ]; then
gnome gnome
elif [ "$XDG_CURRENT_DESKTOP" == "KDE" ]; then
kde
fi fi
# Installing Software # Installing Software