Getting nwggrid running in sway

I’m currently struggeling getting nwggrid running with sway.

I can launch nwggrid from command line. But when I try to launch the app via dmenu or sway shortcut nothing happens.

configuration.nix

  programs.sway.extraPackages = with pkgs; [
    swaylock-fancy
    swayidle
    xwayland
    termite
    nwg-launchers
    bemenu
    dmenu
    polkit_gnome
    waybar
  ];

sway

bindsym $mod+space exec nwggrid

Maybe someone could share a running configuration.

It might require programs.sway.wrapperFeatures.gtk = true;.
If that doesn’t work the console output for bindsym $mod+space exec nwggrid should usually help (you could e.g. log it via Sway or redirect it into a file).

2 Likes