aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrice.sh12
1 files changed, 12 insertions, 0 deletions
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 <<EOL >> /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!"