diff options
Diffstat (limited to 'static/thesiah.sh')
| -rwxr-xr-x | static/thesiah.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh index 264a8c8..fb88f44 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -514,14 +514,9 @@ cronsetup() { pacman -Qq cronie-"$initsys" >/dev/null 2>&1 || installpkg cronie-"$initsys" } sleep 1 - printf '*/3 * * * * /usr/bin/mailsync -*/15 * * * * /home/$name/.local/bin/cron/newsup -0 */3 * * * /usr/bin/pacman -Sy -0 0 * * * NVIM_APPNAME=Starter nvim --headless "+Lazy! sync" +qa -0 * * * * NVIM_APPNAME=LazyVim nvim --headless "+Lazy! sync" +qa -0 0 * * * NVIM_APPNAME=NvChad nvim --headless "+Lazy! sync" +qa -0 * * * * /usr/bin/nvim --headless "+Lazy! sync" +qa -@daily /usr/bin/trash-empty 30' | crontab -u $name - + [ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/crons ] && + crontab -u "$name" - <"${XDG_CONFIG_HOME:-$HOME/.config}"/crons && + rm "${XDG_CONFIG_HOME:-$HOME/.config}"/crons sleep 3 case "$initsys" in "runit") |
