add file to always automagically give zjstatus permission to zellij

This commit is contained in:
Lillian Violet 2026-03-15 11:42:19 +01:00
parent 9ac4e132dc
commit fc02e973fb

View file

@ -167,6 +167,16 @@
} }
''; '';
in { in {
home.file."permissions.kdl" = {
target = ".cache/zellij/permissions.kdl";
text = ''
"${inputs.zjstatus.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/zjstatus.wasm" {
ReadApplicationState
RunCommands
ChangeApplicationState
}
'';
};
programs.zellij = { programs.zellij = {
# This autostarts zellij on zsh start # This autostarts zellij on zsh start
# TODO find specific settings for vscode to avoid # TODO find specific settings for vscode to avoid