grimm-nixos-laptop/modules/screenshare_select.nix

18 lines
398 B
Nix

{pkgs, ...}:
{
xdg.portal.wlr.settings = {
screencastExternal = {
output_name = "HDMI-A-1";
max_fps = 60;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
screencastInternal = {
output_name = "eDP-1";
max_fps = 144;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
}