diff --git a/src/detection/displayserver/linux/wmde.c b/src/detection/displayserver/linux/wmde.c index 557be31aa..c8324f789 100644 --- a/src/detection/displayserver/linux/wmde.c +++ b/src/detection/displayserver/linux/wmde.c @@ -62,6 +62,9 @@ static const char* parseEnv(void) if(getenv("HYPRLAND_CMD") != NULL) return "Hyprland"; + if(getenv("SWAYSOCK") != NULL) + return "Sway"; + #ifdef __linux__ if( getenv("WAYLAND_DISPLAY") != NULL &&