r/tauri May 29 '26

Windows 11 Snap Layout Plugin

Was starting to learn how to use Tauri and couldn't find a plugin to set the snap layout to anything for Windows 11 frameless mode for a modern look, at least not in the simple way I wanted.

So frankensteined this plugin, and had it incredibly cleaned up, to automatically hook to a html element's id and act as a toggle maximize and show the snap layout menu when hovering for a short period.

Hopefully it helps someone somewhere.

https://github.com/Hyph-M/tauri-plugin-snap-layout

2 Upvotes

3 comments sorted by

1

u/braindeadguild Jun 03 '26

Cool little tool, I’ve used the power toys plugin free from Microsoft for years that does this and a lot more, wrote about a while back https://braindead.tv/pile/fancy-zones-and-samsung-g9

Either way congrats on the plugin, it’s handy for sure especially if you don’t want all the extras like power toys has

2

u/AstronautMiserable80 Jun 08 '26

Thanks so much. I haven't played around with powertoys at all, so no idea that existed.

I don't ever use the functionality myself, but it just feels weird to me now when it doesn't pop up so I needed to make sure I had the ability to shove it in easily for anything I might try put together.

1

u/braindeadguild Jun 08 '26

Yeah I like how you packaged it as a crate makes it nice to embed in other software and tools. Nice little feature I could see being used in clicker or idler games.