kaan I wonder if there is a way to run a script just after kernel installation or update automatically?
I'm not sure I understand your question. Usually kernels aren't installed by themselves with Solus - instead an entire default of packages (including a kernel) is installed to start with. This is done using an .ISO file which has been burned to a USB drive.
After an installation, the first thing one should do is a full system update, to access any and all packages that have been upgraded since the .ISO fille was created. Since you wrote that you enjoy using Solus, I assume that you're already aware of all this.
When a weekly update has been installed, the old files will remain in use until a restart causes them to be overwritten by the newly installed packages. At the terminal, a command of sudo reboot
is all thats needed to do that. Or a reboot
command from the menu. Or an ordinary shutdown and restart.
Theres a good chance tthat you already know all this, too, so if you'll explain in more detail what it is that you'd like to script or automate, and I'll see whether I, or maybe someone else, can help you with it.