2024-05-12 17:41:00 +00:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
sane.programs.sane-open = {
|
|
|
|
sandbox.method = "bwrap";
|
|
|
|
sandbox.autodetectCliPaths = "existing"; # for when opening a file
|
|
|
|
sandbox.whitelistDbus = [ "user" ];
|
|
|
|
sandbox.extraConfig = [
|
2024-05-15 01:41:40 +00:00
|
|
|
"--sanebox-keep-namespace" "pid" # to toggle keyboard
|
2024-05-12 17:41:00 +00:00
|
|
|
];
|
|
|
|
sandbox.extraHomePaths = [
|
|
|
|
".local/share/applications"
|
|
|
|
];
|
|
|
|
sandbox.extraRuntimePaths = [ "sway" ];
|
|
|
|
suggestedPrograms = [
|
|
|
|
"gdbus"
|
|
|
|
"xdg-utils"
|
|
|
|
];
|
|
|
|
|
2024-05-12 19:46:03 +00:00
|
|
|
mime.associations."application/x-desktop" = "sane-open-desktop.desktop";
|
2024-05-12 17:41:00 +00:00
|
|
|
};
|
|
|
|
}
|