@gouvinb: Setting $XDG_CURRENT_DESKTOP as the default -wm argument value basically makes the argument useless. This way on sway and Hyprland we always have auto-detection, and we always launch apps via the compositor. I want users to have a choice, and give up on this feature if they want, by just not using the -wm argument.
BTW: yesterday I had an user with such an issue: nwg-drawer would always refuse to launch apps, and the coommand looked like this (on Hyprland):
It turned out that, for some mysterious reason, he set env = XDG_CURRENT_DESKTOP, sway in the Hyprland config file. Of course it was his fault, but I realized, that any improper $XDG_CURRENT_DESKTOP value will get us into trouble.
@gouvinb: Setting $XDG_CURRENT_DESKTOP as the default
-wm
argument value basically makes the argument useless. This way on sway and Hyprland we always have auto-detection, and we always launch apps via the compositor. I want users to have a choice, and give up on this feature if they want, by just not using the-wm
argument.BTW: yesterday I had an user with such an issue: nwg-drawer would always refuse to launch apps, and the coommand looked like this (on Hyprland):
It turned out that, for some mysterious reason, he set
env = XDG_CURRENT_DESKTOP, sway
in the Hyprland config file. Of course it was his fault, but I realized, that any improper$XDG_CURRENT_DESKTOP
value will get us into trouble.