WTF(1)
π WTF(1) β like, the general commands manual bestie β¨
okay so real talk: this is wtf from the wmutils fam, and no it's not the reaction you make when you see your ex in the group chat π it's actually a whole tiny little focus tool. she's small, she's iconic, she does exactly one thing and she does it flawlessly. main character energy fr fr π
β¨ NAME β¨
wtf β transfer window focus π
like... move the keyboard focus. to a window. that's it. that's the whole gig π«Ά
π¦ SYNOPSIS π¦
wtf wid
one argument. one window id. in and out, no cap β¨
πΈ DESCRIPTION πΈ
so here's the tea β β wtf sets the keyboard input focus to the window wid, but only if it exists and is viewable π
read that again bestie, because the vibes matter: wtf isn't out here forcing focus onto some random garbage. the window has to actually be there and it has to actually be viewable. if she can't find it or it's hiding, she's simply not gonna do it. boundaries. we love a queen with boundaries π
when it all lines up tho? focus transferred. keyboard input goes where you told it to go. slay π
π§ ENVIRONMENT π§
DISPLAYβwtfacts on the X display specified by theDISPLAYvariable π₯οΈβ¨ that's the display she's gonna talk to. noDISPLAY, no display, iykyk π
π«Ά quick vibe check:wtfonly transfers focus whenwidexists and is viewable β those aren't optional, that's literally the whole condition. don't come for her π
β SEE ALSO β
(the page itself doesn't list any SEE ALSO entries β so like, go touch grass or read the rest of the wmutils pages, bestie π)
okay that's the whole page, short and sweet, just like she is π this little beauty came from wmutils, dated December 13, 2014 β a vintage icon, honestly, she's been serving focus realness since before some of y'all could read πβ¨ bye bestie, go focus something π₯π
π¦ where this page comes from
- alpine 3.24: wmutils-doc 1.7-r2 Β· ISC
- nixos 26.05: wmutils-core 1.7
- nixpkgs unstable: wmutils-core 1.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms