WIMENU(1)
π WIMENU(1) β like, the General Commands Manual edition, bestie π
okay so real talk, this one's a lil chaotic gremlin of a page and I'm obsessed with it. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
wihack β the wmii window hack. that's it. that's the name. it's giving "we named it honestly" and honestly? iconic.
π¦ SYNOPSIS π¦
wihack [-transient <window>] [-type <ewmh window type>] [-tags <tags>]
<program>
πΈ DESCRIPTION πΈ
so wihack is a program that alters the windows created by an arbitrary program. like, any program. you point it at stuff and it messes with the windows that pop out. main character energy fr fr.
and yes, it's literally called wihack because it is just that: a hack π no cap, no shade, that's the whole bit.
the way it works? it uses LD_PRELOAD to override certain Xlib calls and slap properties onto newly created windows. sneaky little fairy godmother behavior π§β¨
π ARGUMENTS π
-transient <window>β marks created windows as transient for a given<window>. what does that mean in practice? the new window opens in the floating layer of the same tags as<window>. cute little buddy system π«Ά-type <ewmh window type>β sets the EWMH window type of the created window to the type you give it. wmii understands these types, and I need you to pay attention because they all behave different:dialogβ opens in the floating layer. floaty lil thing.dockβ (no extra deets on this one, it's just vibing on the list)menuβ (same, just a type wmii knows)toolbarβ automatically opens in the floating layer. does not have a window border or titlebar. minimal queen πsplashβ automatically floats and does not automatically receive focus. it's shy, leave it alone π
-tags <tags>β the created window opens on the given tags. simple as that, periodt.
π BUGS π
- it is a hack. (yes that's the entire bug report. I'm screaming π)
- it doesn't work for
setuidprograms. - it doesn't work for non-Xlib programs.
heads up bestie: these are real limitations, not a vibe. if your program is setuid or isn't Xlib-based, this thing is not gonna do the thing. no cap.
π SEE ALSO π
wmii(1) β go read that one too, iykyk β¨
and that's the whole page!! this was the wmii- edition, dated May, 2010 β yeah she's an elder but she still slays. mwah, love u, go hack some windows ππ¦π
π¦ where this page comes from
- nixos 26.05: wmii 0-unstable-2023-09-30
- nixpkgs unstable: wmii 0-unstable-2023-09-30
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms