Implement KDE and LXDE detection

This commit is contained in:
Vinyl Darkscratch 2018-06-12 00:59:50 -07:00
parent 36102a12a4
commit 3a6e61604b

View file

@ -295,6 +295,10 @@ Oneshot::Oneshot(RGSSThreadData &threadData) :
gtk_init(0, 0);
} else if (desktop.find("xfce") != std::string::npos) {
desktopEnv = "xfce";
} else if (desktop.find("kde") != std::string::npos) {
desktopEnv = "kde";
} else if (desktop.find("lxde") != std::string::npos) {
desktopEnv = "lxde";
}
#endif