We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bb870 commit 899c55eCopy full SHA for 899c55e
src/utils/desktopinfo.cpp
@@ -43,6 +43,9 @@ DesktopInfo::WM DesktopInfo::windowManager()
43
if (desktop.contains(QLatin1String("kde-plasma"))) {
44
return DesktopInfo::KDE;
45
}
46
+ if (desktop.contains(QLatin1String("cosmic"))) {
47
+ return DesktopInfo::COSMIC;
48
+ }
49
50
51
if (!GNOME_DESKTOP_SESSION_ID.isEmpty()) {
src/utils/desktopinfo.h
@@ -14,6 +14,7 @@ class DesktopInfo
14
{
15
GNOME,
16
KDE,
17
+ COSMIC,
18
OTHER,
19
QTILE,
20
SWAY,
0 commit comments