fix: restore terminal-backed Walker actions

This commit is contained in:
kiri committed 2026-09-05 21:52:25 +02:00
1 parent b03fe601d9
commit c2f48df98f
3 files changed
+43 -12

No files matched your search

+6 -3
View File
@@ -53,11 +53,10 @@ in
text = ''
project_path="''${1:-}"
if [[ -z "$project_path" ]]; then
IFS= read -r project_path
IFS= read -r project_path || [[ -n "$project_path" ]]
fi
cd -- "$project_path"
exec ${lib.getExe config.programs.kitty.package} --detach --directory "$PWD" \
exec ${lib.getExe config.xdg.terminal-exec.package} --dir="$project_path" \
${lib.getExe pkgs.zsh} -lic 'nvim; exec zsh -l'
'';
};
@@ -117,6 +116,10 @@ in
end
'';
systemd.user.services.elephant.Unit.X-Restart-Triggers = [
config.xdg.configFile."elephant/menus/projects.lua".source
];
programs.walker = {
enable = true;
runAsService = true;