export XDG_CURRENT_DESKTOP

This commit is contained in:
vaxerski 2022-03-31 19:16:00 +02:00
parent 3618f6ea51
commit 670ba55b35

View File

@ -155,6 +155,9 @@ void CCompositor::startCompositor() {
setenv("QT_QPA_PLATFORM", "wayland", true);
setenv("MOZ_ENABLE_WAYLAND", "1", true);
// Set XDG_CURRENT_DESKTOP to our compositor's name
setenv("XDG_CURRENT_DESKTOP", "hyprland", true);
m_szWLDisplaySocket = wl_display_add_socket_auto(m_sWLDisplay);
if (!m_szWLDisplaySocket) {