diff --git a/nixos/desktop-sway.nix b/nixos/desktop-sway.nix index f972910..2ae96e5 100644 --- a/nixos/desktop-sway.nix +++ b/nixos/desktop-sway.nix @@ -33,6 +33,14 @@ slurp ]; }; + xdg.portal.wlr = { + enable = true; + settings.screencast = { + chooser_type = "simple"; + chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or"; + }; + }; + # done my sway: # security.pam.services.swaylock = {}; # hardware.opengl.enable = true;