WEW(1)
π wew β bestie's window event watcher π
okay so real talk, wew(1) is from the wmutils fam and it is literally the nosiest little daemon in your X session, in the best way. π«Ά
β¨ NAME β¨
wew β window event watcher ππΈ
π¦ SYNOPSIS π¦
wew [-l] [-m mask]
π DESCRIPTION π
so wew is a daemon, right? and what it does β no cap β is it prints X events to stdout. That's the whole vibe. It's just sitting there, watching windows, telling you what happened. main character energy fr fr.
Every event it spits out looks like this:
event wid [args]
and if you're like "wait, what can event even be??" β scroll down to EVENT VALUES bestie, I gotchu π
the options: π
-lβ lists out all the event mask values for you. it's giving "show me the menu" β¨-m maskβ sets the event mask for new windows tomask. You can register multiple events by doing a bitwise OR of their values together. (iykyk β OR them bits, boo π )
if you don't pass-m, it defaults toSTRUCTURE_NOTIFY|ENTER_NOTIFY|FOCUS_CHANGE. Also heads up: the events registered on the root window cannot be modified. That's just how it is, periodt. π
π₯ EVENT VALUES π₯
events get reported under these names, exactly these, no substitutions:
CREATEDESTROYBUTTON_PRESSBUTTON_RELEASEMOTIONENTERLEAVECONFIGUREKEY_PRESSFOCUS_INFOCUS_OUTKEYMAPEXPOSEGRAPHICS_EXPOSURENO_EXPOSUREVISIBILITYUNMAPMAPMAP_REQUESTREPARENTCONFIGURE_REQUESTGRAVITYRESIZE_REQUESTCIRCULATEPROPERTYSELECTION_CLEARSELECTION_REQUESTSELECTIONCOLORMAPCLIENT_MESSAGEMAPPING
likeβ¦ the whole alphabet of window drama. obsessed. π
πΈ ENVIRONMENT πΈ
wew acts on the X display that the DISPLAY variable points at. That's it. That's the whole environment situation. π§
lowkey reminder bestie: this is the manual page for wew(1), and everything above is the actual facts β I just made it cute π
mwah, that's the page! π source/version: wmutils, dated December 17, 2014 β she's an icon, she's a legend, and she is the moment. go watch some windows, bestie πβ¨π¦
π¦ where this page comes from
- nixos 26.05: wmutils-opt 1.0-unstable-2024-09-09
- nixpkgs unstable: wmutils-opt 1.0-unstable-2024-09-09
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms