This pull request adds the swaymsg flag to the nwg-drawer command to launch a program with the swaymsg exec command. This prevents potential unintentional closure with Jetbrains IDEs.
Advantages
Prevents unintentional closing of programs launched with no swaymsg exec and no terminal
Improves stability of Jetbrains IDEs
Instructions
To use this new feature, simply add the -swaymsg flag to the nwg-drawer command, or set the XDG_CURRENT_DESKTOP environment variable to "sway".
Example
Before
rubymine # without -term, -swaymsg and without XDG_CURRENT_DESKTOP=sway
After
swaymsg exec firefox # with -swaymsg or with XDG_CURRENT_DESKTOP=sway
Description
This pull request adds the
swaymsg
flag to thenwg-drawer
command to launch a program with theswaymsg exec
command. This prevents potential unintentional closure with Jetbrains IDEs.Advantages
Instructions
To use this new feature, simply add the
-swaymsg
flag to thenwg-drawer
command, or set theXDG_CURRENT_DESKTOP
environment variable to "sway".Example
Before
After