mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
feat(config): add projects-sync systemd service and timer
This commit is contained in:
1 parent
cf1c0e2e3e
commit
542619cd4d
8 files changed
+33
-8
No files matched your search
@@ -16,6 +16,12 @@ if [ -f "$HOME/.config/systemd/user/kitty-day-save.service" ] && command -v syst
|
||||
systemctl --user daemon-reload || true
|
||||
systemctl --user enable --now kitty-day-save.service || true
|
||||
fi
|
||||
|
||||
# Symlink ~/Code repos into ~/Projects every 5 min (same role gate).
|
||||
if [ -f "$HOME/.config/systemd/user/projects-sync.timer" ] && command -v systemctl >/dev/null 2>&1; then
|
||||
systemctl --user daemon-reload || true
|
||||
systemctl --user enable --now projects-sync.timer || true
|
||||
fi
|
||||
{{ else -}}
|
||||
#!/bin/sh
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user