sane-open: restrict dbus

This commit is contained in:
2025-01-10 00:22:42 +00:00
parent a3ebeb0543
commit 14b475a0a6

View File

@@ -7,12 +7,15 @@
];
sandbox.autodetectCliPaths = "existing"; # for when opening a file
sandbox.whitelistDbus.user = true; #< TODO: reduce
sandbox.keepPidsAndProc = true; #< to toggle keyboard
sandbox.extraHomePaths = [
".local/share/applications"
];
sandbox.extraRuntimePaths = [ "sway" ]; #< calls `swaymsg` to query rotation and see if there's room for a keyboard
sandbox.keepPidsAndProc = true; #< to toggle keyboard
sandbox.whitelistPortal = [
"DynamicLauncher"
"OpenURI"
];
mime.associations."application/x-desktop" = "sane-open-desktop.desktop";
};