fix(desktop): fix xdg-wlr file creation
This commit is contained in:
parent
3ebb38d6d4
commit
720bd2f391
1 changed files with 9 additions and 7 deletions
|
@ -201,11 +201,13 @@ in
|
||||||
# When using `useDistributionPackage`, create wlr configuration to let user
|
# When using `useDistributionPackage`, create wlr configuration to let user
|
||||||
# choose the right screen. This is a workarount to not have to configure
|
# choose the right screen. This is a workarount to not have to configure
|
||||||
# it manually.
|
# it manually.
|
||||||
home.file."${config.xdg.configHome}/xdg-desktop-portal-wlr/config".text = mkIf cfg.xdg.useDistributionPortals ''
|
home.file = mkIf cfg.xdg.useDistributionPortals {
|
||||||
[screencast]
|
"${config.xdg.configHome}/xdg-desktop-portal-wlr/config".text = ''
|
||||||
max_fps=30
|
[screencast]
|
||||||
chooser_type=simple
|
max_fps=30
|
||||||
chooser_cmd=${pkgs.slurp}/bin/slurp -f %o -or
|
chooser_type=simple
|
||||||
'';
|
chooser_cmd=${pkgs.slurp}/bin/slurp -f %o -or
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue