From 3a6e61604b0db8ac2a781dcd5574e23627bcd178 Mon Sep 17 00:00:00 2001 From: Vinyl Darkscratch Date: Tue, 12 Jun 2018 00:59:50 -0700 Subject: [PATCH] Implement KDE and LXDE detection --- src/oneshot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/oneshot.cpp b/src/oneshot.cpp index ade2968..ca24ff3 100644 --- a/src/oneshot.cpp +++ b/src/oneshot.cpp @@ -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