From 1b95d0b8cb9f916ad255e1360e2bc6e60664d567 Mon Sep 17 00:00:00 2001 From: awy Date: Fri, 29 Nov 2024 01:20:06 +0300 Subject: cronjob --- rice.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rice.sh b/rice.sh index 92ecbd2..21f92bf 100755 --- a/rice.sh +++ b/rice.sh @@ -92,4 +92,16 @@ rm -rf go dinitctl enable cronie echo "*/10 * * * * /home/$PERMUSER/.local/bin/cron/newsup\n*/30 * * * * /home/$PERMUSER/.local/bin/cron/checkup" | doas -u $PERMUSER crontab - +cat <> /usr/share/libalpm/hooks/statusbar.hook +[Trigger] +Operation = Upgrade +Type = Package +Target = * + +[Action] +Description = Updating statusbar... +When = PostTransaction +Exec = /usr/bin/pkill -RTMIN+8 i3blocks +EOL + echo "Your linux is riced!" -- cgit v1.2.3