WTF(1)

πŸ“¦ version 1.7, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’… 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 β€” wtf acts on the X display specified by the DISPLAY variable πŸ–₯️✨ that's the display she's gonna talk to. no DISPLAY, no display, iykyk 😭

🫢 quick vibe check: wtf only transfers focus when wid exists 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