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" ];
|
2024-05-29 12:33:18 +00:00
|
|
|
sandbox.isolatePids = false; #< to toggle keyboard
|
2024-05-12 17:41:00 +00:00
|
|
|
sandbox.extraHomePaths = [
|
|
|
|
".local/share/applications"
|
|
|
|
];
|
2024-05-29 18:24:59 +00:00
|
|
|
sandbox.extraRuntimePaths = [ "sway" ]; #< calls `swaymsg` to query rotation and see if there's room for a keyboard
|
2024-05-12 17:41:00 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|