WillPower3309 / swayfx

SwayFX: Sway, but with eye candy!
MIT License
1.2k stars 47 forks source link

NixOS: env XDG_CURRENT_SESSION and XDG_CURRENT_DESKTOP env variables are not set #215

Closed aacebedo closed 11 months ago

aacebedo commented 11 months ago
RicArch97 commented 11 months ago

Known issue, happens because setting sway.package = pkgs.swayfx does not apply the wrapper to that package, it's a limitation in the sway module.

Temporary fix is to create an overlay for pkgs.sway, replacing it with swayfx.

WillPower3309 commented 11 months ago

Related to https://github.com/WillPower3309/swayfx/issues/161

aacebedo commented 11 months ago

Thanks for the info! I close this then

name-snrl commented 8 months ago

Temporary fix is to create an overlay for pkgs.sway, replacing it with swayfx.

This does not solve the problem. I installed swayfx with pkgs.sway override:

package = with pkgs; sway.override { sway-unwrapped = swayfx; };

But there are still problems, e.g. flameshot doesn't work if I run it via sway - sway exec 'flameshot gui -r | wl-copy'