How to run ydotoold at start up

Copy-paste the entire block of code to the terminal:
Ydotool not working on Fedora 40? - #4 by vgaetera