Fix xsession

master
Mike Hiretsky 12 years ago
parent 9cf57244a9
commit 47be9ca10a

@ -100,7 +100,9 @@ class fillVars():
if xsession:
xsession = xsession[-1]
if xsession:
if desktopSession and desktopSession.lower() != "default":
if desktopSession and \
any(x in desktopSession.lower()
for x in ("kde","xfce","gnome")):
xsession = desktopSession
if "kde" in xsession.lower():
return "kde"

Loading…
Cancel
Save