gtk-layer-demo(1)
π gtk-layer-demo β the GTK Layer Shell Demo Application β¨
okay bestie, so this is gtk-layer-demo, a little program from the GTK Layer Shell Demo Application family, and it's literally here to Demonstrate the functionality of the Layer Shell Wayland protocol. That's the whole job. She's a demo and she's thriving. π
β¨ SYNOPSIS β¨
gtk-layer-demo [ options ]
π¦ DESCRIPTION π¦
So, GTK Layer Shell? It's a library, and its whole vibe is letting you write GTK applications that use Layer Shell. And Layer Shell itself is a Wayland protocol made for desktop shell components β think panels, notifications, wallpapers, all that good stuff. π
The way it works is you can anchor your windows to a corner or an edge of the output, or stretch them across the entire output. Full main character energy, your choice. π
lowkey important: this library only makes sense on Wayland compositors that support Layer Shell, and it will not work on X11. Not a "hmm maybe", not a "with a workaround" β it just won't. π
She supports all Layer Shell features too, including popups and popovers. GTK popups Just Workβ’. That's not me being cute, that's the actual trademarked-sounding claim, and honestly? iconic. β¨
And gtk-layer-demo is the GTK application that demonstrates the functionality of the Layer Shell Wayland protocol as addressed by the GTK Layer Shell library. Basically a playground where you get to see all of this happen in real time. π«Ά
π OPTIONS π
-l,--layerβ the layer type, bestie. Any of'overlay','top','bottom'or'background'β or the little shorthand versions'o','t','b'or'g'if you're feeling efficient. π-a,--anchorβ a sequence of'l','r','t'and'b'to anchor to those edges, or'0'for no anchor at all. Pick your edges, girl. π-m,--marginβ a comma separated list of margin values, in the order<LEFT>,<RIGHT>,<TOP>,<BOTTOM>. Yes, that order specifically. Don't come for me, I don't make the rules. π-e,--exclusiveβ enable auto-exclusive zone. β¨-k,--keyboardβ enable keyboard interactivity. Now she listens. β¨οΈ-f,--fixed-sizeβ enable a fixed window size. No growing, no shrinking, just commitment. πΈ
π AUTHOR π
This manual has been written for the Debian project by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>. Thank you Mike, you ate. π«‘
and that's the whole page, bestie!! Version 0.1.0, from the GTK Layer Shell Demo Application manual β go anchor some windows and slay π β¨π¦
π¦ where this page comes from
- debian bookworm: gtk-layer-shell-examples 0.8.0-1 Β· MIT
- debian trixie: gtk-layer-shell-examples 0.9.0-2 Β· MIT
- ubuntu jammy: gtk-layer-shell-examples 0.7.0-1 Β· MIT
- ubuntu noble: gtk-layer-shell-examples 0.8.2-1build2 Β· MIT
- ubuntu questing: gtk-layer-shell-examples 0.9.2-2
- ubuntu resolute: gtk-layer-shell-examples 0.10.0-1 Β· MIT
- ubuntu stonking: gtk-layer-shell-examples 0.10.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms