COMPTON-TRANS(1)
β¨ COMPTON-TRANS(1) β¨
okay bestie, gather round, we're talking about compton-trans π
π¦ NAME π¦
compton-trans β an opacity setter tool. yes, it makes your windows see-through. no, it's not a filter, it's the real deal π
πΈ SYNOPSIS πΈ
compton-trans [-w WINDOW_ID] [-n WINDOW_NAME] [-c] [-s] OPACITY
that's it. that's the whole mood. π
π DESCRIPTION π
so compton-trans is a bash script β literally just a script, no cap β that sets the _NET_WM_WINDOW_OPACITY attribute of a window, and it does it using the standard X11 command-line utilities you already have, including xprop(1) and xwininfo(1). π«Ά
it's basically the same energy as transset(1) or transset-df(1). iykyk. β¨
π OPTIONS π
-wWINDOW_ID β tell it the window id of the target window, bestie. you know exactly which one you mean.-nWINDOW_NAME β give it a window name and it'll try to match that name. (try! it's doing its best π₯Ί)-cβ target the currently active window instead. lowkey only works if the EWMH_NET_ACTIVE_WINDOWproperty actually exists on the root window, so if it ghosts you, that's why π-sβ pick the target window with your mouse cursor π±οΈβ¨. this is the default if you didn't specify a window any other way.-oOPACITY β the new opacity value for the window, babes. it can be anywhere from1to100. and here's the iconic part: if you prefix it with a plus or minus (+/-), it'll increment or decrement from the target window's current opacity instead of setting it outright. math but make it fashion π₯
π EXAMPLES π
- set the opacity of the window with a specific window ID to 75% β periodt:
compton-trans -w "$WINDOWID" 75
- set the opacity of the window named
"urxvt"to 75%:
compton-trans -n "urxvt" 75
- set the current window to an opacity of 75%:
compton-trans -c 75
- select a target window and set its opacity to 75%:
compton-trans -s 75
- increment the opacity of the current active window by 5%:
compton-trans -c +5
- decrement the opacity of the current active window by 5%:
compton-trans -c -- -5
not me pointing out that--in example 6 π it's there so the-5doesn't get read as a flag, and it slays π«Ά
π BUGS π
found a bug? please report any bugs you find to https://github.com/chjj/compton . do not suffer in silence, bestie, that's not the vibe π
π AUTHORS π
Christopher Jeffrey (https://github.com/chjj). an icon, honestly. π
π SEE ALSO π
compton(1), xprop(1), xwininfo(1) β go read these too, they're giving main character energy β
and that's a wrap, gorgeous πΈ this one's from the compton source, version nightly-20121114, dated 01/14/2026. go forth and make your windows translucent, you absolute legend πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: compton 1-3build2 Β· MIT
- ubuntu stonking: compton 1-3build2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms