sane-screenshot: sandbox with bunpen
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
sane.programs.sane-screenshot = {
|
sane.programs.sane-screenshot = {
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bunpen";
|
||||||
sandbox.whitelistWayland = true;
|
sandbox.whitelistWayland = true;
|
||||||
sandbox.whitelistDbus = [ "user" ]; #< to send notifications
|
sandbox.whitelistDbus = [ "user" ]; #< to send notifications
|
||||||
sandbox.extraHomePaths = [
|
sandbox.extraHomePaths = [
|
||||||
"Pictures/Screenshots"
|
"Pictures/Screenshots"
|
||||||
];
|
];
|
||||||
|
sandbox.isolatePids = false; #< it's required (to copy to the clipboard), but unsure why
|
||||||
|
sandbox.extraPaths = [ "/proc" ]; #< for nested bwrap invocations
|
||||||
suggestedPrograms = [
|
suggestedPrograms = [
|
||||||
"libnotify"
|
"libnotify"
|
||||||
"swappy"
|
"swappy"
|
||||||
|
Reference in New Issue
Block a user