transset
Set X11 window transparency
TLDR
Set window transparency by clicking
SYNOPSIS
transset [options] [opacity]
DESCRIPTION
transset sets window transparency in X11 by modifying the NETWMWINDOWOPACITY property on windows. The opacity value ranges from 0 (fully transparent) to 1 (fully opaque), with 0.75 as the default.
The tool requires a compositing window manager (such as picom, xcompmgr, KWin, or Mutter) to actually render the transparency. Without a compositor, the property is set but no visual effect occurs.
By default, transset enters interactive mode where clicking on a window sets its transparency. Window ID or name options allow non-interactive scripted use.
PARAMETERS
-i, --id id
Select window by X window ID.-n, --name name
Select window by name.-t, --toggle
Toggle between current opacity and fully opaque.--inc value
Increase opacity by specified amount.--dec value
Decrease opacity by specified amount.-a, --all
Apply to all windows.-p, --point
Select window under pointer (default).-v, --verbose
Print verbose output.--version
Display version.
CAVEATS
Requires a running compositing manager for visible effects. X11 only; does not work on Wayland. Some applications may not respect transparency settings. Window IDs change between sessions.
HISTORY
transset was developed as part of the X.Org project to demonstrate and utilize the COMPOSITE extension. The transset-df variant by Daniel Forchheimer added command-line options for scripted use without interactive clicking.
