crgimenes / neko

Neko is a cross-platform cursor-chasing cat. This is the reimplementation write in Go.
BSD 2-Clause "Simplified" License
383 stars 37 forks source link

Use a large window and move the sprite. #29

Open crgimenes opened 5 months ago

crgimenes commented 5 months ago

In the current version, Neko uses a transparent, floating window of the size of the sprite, and the entire window is moved around the screen, creating the illusion of the cat's movement.

Instead of creating a small window, the idea is to create a large, full-screen one and move the cat sprite instead of the entire window. This would make implementing other features like #23 and #9 more straightforward and more compatible with other graphical environments.

SolsticeSpectrum commented 5 months ago

Not sure how well this would work with tiling window managers Even now if mouse hovers over neko, I can't click through

crgimenes commented 5 months ago

I'll implement this in a separate branch and let you know before pushing this to master. It seems like there are too many people playing with the Neko for me to commit directly to master :D

SolsticeSpectrum commented 5 months ago

Okay there is peek which allows it image The mouse pointer is not visible in the screenshot but I can hover over the link and click on it. Checking picom implementation might be worth it https://github.com/phw/peek

I also remember certain Linux CS:GO cheats which worked as overlay and I remember it working on i3wm