Skip to content

Commit

Permalink
xdg-desktop-portal-wlr: Add screen selection for screencast
Browse files Browse the repository at this point in the history
  • Loading branch information
TLATER committed Jan 28, 2024
1 parent ef7a580 commit fdbf910
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nixos-config/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@

xdg.portal = {
enable = true;
wlr.enable = true;
wlr = {
enable = true;
settings.screencast = {
output_name = "DP-1";
max_fps = 30;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or -s '#99d1ce33'";
};
};
};
}

0 comments on commit fdbf910

Please sign in to comment.