diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-09-17 04:29:25 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-09-17 04:29:25 +0900 |
| commit | 1caa0b37390711101d8ed4f718383c94e341f980 (patch) | |
| tree | c599cf50736d513f20563e0764b4bd86f8fb97cf /static/thesiah.sh | |
| parent | 5f4872db036445580ea3f591a9b908c4dc94faf3 (diff) | |
Init
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") |
