Hello everyone!
Posting another one of my scripts that I use to make Qubes snappier and more usable interactively 🙂
This one makes makes use of the credit2-weight feature to automatically set credit2 scheduler weight (scheduling priority) for VMs.
Enjoy! And thanks to @noskb and @renehoj for providing the idea for the Admin Events approach.