



I built a wayland native crosshair overlay with a GUI
Hi!
So, it's been a couple of weeks now from when I tried to find a good crosshair overlay for wayland and just couldn't, so I built this!
It uses a real, click-through, layer-shell surface made with wlr-layer-shell, so it should work on any compositor that supports that. It supports three built in crosshair types, as well as custom images, and easy to share config files.
AUR: yay -S crosshair-overlay or paru -S crosshair-overlay
Github: https://github.com/m39d/crosshair-overlay
I also think it's fair to mention that I'm not a great programmer myself, and while I tried putting in a ton of work to make it good, I did use AI to write the vast majority of the codebase. It's all been tested as thoroughly as I could, but just wanted to be upfront about that.
Also, I think it's important to say that this is just an overlay window, it doesn't touch game memory or input. I've used it myself in The Finals and Overwatch without issues, but even though I have never experienced any problems, anti-cheat behavior is not something I can promise on. Most competitive games explicitly allow for external crosshairs in their policies, but use your own judgment before running it.
This is my first project, and I would love some feedback and to see if anyone other than me would appreciate this.
Anyways, thx and hope you guys enjoy it!