mod: screen capture
wip: want to do something different with this
This commit is contained in:
@@ -22,6 +22,13 @@ in {
|
|||||||
xdg.portal.config.common.default = ["gtk"];
|
xdg.portal.config.common.default = ["gtk"];
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(lib.mkIf cfg.sway.enable {
|
||||||
|
xdg.portal.wlr.settings.screencast = {
|
||||||
|
chooser_type = "dmenu";
|
||||||
|
chooser_cmd = "${pkgs.wmenu}/bin/wmenu -l 10 -p 'Select screen to share:'";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
||||||
(lib.mkIf (usesPortal && config.services.gnome.gnome-keyring.enable) {
|
(lib.mkIf (usesPortal && config.services.gnome.gnome-keyring.enable) {
|
||||||
xdg.portal.config.common."org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
xdg.portal.config.common."org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user