mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
feat(config): add kitty pre‑shutdown session save and config updates
This commit is contained in:
1 parent
cae4fb8766
commit
7e2ae53560
6 files changed
+84
-45
No files matched your search
@@ -9,6 +9,13 @@ if [ -f "$HOME/.config/systemd/user/nirinit.service" ] && command -v systemctl >
|
||||
systemctl --user daemon-reload || true
|
||||
systemctl --user enable nirinit.service || true
|
||||
fi
|
||||
|
||||
# Pre-shutdown save of kitty's daily session (dot_config/systemd/user, only on
|
||||
# linux desktop/laptop roles; see .chezmoiignore.tmpl).
|
||||
if [ -f "$HOME/.config/systemd/user/kitty-day-save.service" ] && command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl --user daemon-reload || true
|
||||
systemctl --user enable --now kitty-day-save.service || true
|
||||
fi
|
||||
{{ else -}}
|
||||
#!/bin/sh
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user