Better detection for Desktop Session w/ KDE
This commit is contained in:
parent
50834b1222
commit
c60269e1b0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue