sway: allow config reloading

This commit is contained in:
Colin 2024-03-08 03:44:33 +00:00
parent 7d8205352c
commit 0e83742096

View File

@ -162,6 +162,11 @@ in
"/sys/dev/char"
"/sys/devices"
];
sandbox.extraHomePaths = [
# bind ALL of ~/.config/sway into the sandbox instead of just the individual configs.
# this way `swaymsg -- reload` can work even if the fd for ~/.config/sway/config changes.
".config/sway"
];
sandbox.extraConfig = [
"--sane-sandbox-keep-namespace" "pid"
];