2024-07-30 12:03:55 -04:00
= picom-trans(1)
Yuxuan Shui
:doctype: manpage
:mansource: picom
:manversion: {picom-version}
:manmanual: User Commands
2012-11-05 05:06:31 -05:00
NAME
----
2019-10-23 14:27:30 -04:00
picom-trans - an opacity setter tool
2012-11-05 05:06:31 -05:00
SYNOPSIS
--------
2024-07-30 12:03:55 -04:00
*picom-trans* [-w _WINDOW_ID_] [-n _WINDOW_NAME_] [-c] [-s] _OPACITY_
2012-11-05 05:06:31 -05:00
DESCRIPTION
-----------
2024-07-30 12:03:55 -04:00
*picom-trans* is a bash script that sets __NET_WM_WINDOW_OPACITY_ attribute of a window using standard X11 command-line utilities, including *xprop*(1) and *xwininfo*(1). It is similar to *transset*(1) or *transset-df*(1).
2012-11-05 05:06:31 -05:00
OPTIONS
-------
2024-07-30 12:03:55 -04:00
*-w*, *--window*=_WINDOW_ID_::
2012-11-05 05:06:31 -05:00
Specify the window id of the target window.
2024-07-30 12:03:55 -04:00
*-n*, *--name*=_WINDOW_NAME_::
2012-11-05 05:06:31 -05:00
Specify and try to match a window name.
2020-10-22 16:48:59 -04:00
*-c*, *--current*::
2012-11-05 05:06:31 -05:00
Specify the currently active window as target. Only works if EWMH '_NET_ACTIVE_WINDOW' property exists on root window.
2020-10-22 16:48:59 -04:00
*-s*, *--select*::
2012-11-05 05:06:31 -05:00
Select target window with mouse cursor. This is the default if no window has been specified.
2024-07-30 12:03:55 -04:00
*-o*, *--opacity*=_OPACITY_::
2020-10-22 16:48:59 -04:00
Specify the new opacity value for the window. This value can be anywhere from 1-100. If it is prefixed with a plus or minus (+/-), this will increment or decrement from the target window's current opacity instead.
*-g*, *--get*::
Print the target window's opacity instead of setting it.
*-d*, *--delete*::
Delete opacity of the target window instead of setting it.
2020-10-22 17:06:17 -04:00
*-t*, *--toggle*::
Toggle the target window's opacity: Set opacity if not already set, and delete if already set.
2020-10-22 16:48:59 -04:00
*-r*, *--reset*::
Reset opacity for all windows instead of setting it.
2012-11-05 05:06:31 -05:00
EXAMPLES
--------
* Set the opacity of the window with specific window ID to 75%:
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -w "$WINDOWID" 75
2012-11-05 05:06:31 -05:00
------------
* Set the opacity of the window with the name "urxvt" to 75%:
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -n "urxvt" 75
2012-11-05 05:06:31 -05:00
------------
* Set current window to opacity of 75%:
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -c 75
2012-11-05 05:06:31 -05:00
------------
* Select target window and set opacity to 75%:
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -s 75
2012-11-05 05:06:31 -05:00
------------
2012-11-14 07:44:31 -05:00
* Increment opacity of current active window by 5%:
2012-11-05 05:06:31 -05:00
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -c +5
2012-11-14 07:44:31 -05:00
------------
* Decrement opacity of current active window by 5%:
+
------------
2019-10-23 14:27:30 -04:00
picom-trans -c -- -5
2012-11-05 05:06:31 -05:00
------------
2020-10-22 16:48:59 -04:00
* Delete current window's opacity:
+
------------
picom-trans -c --delete
------------
2020-10-22 17:06:17 -04:00
* Toggle current window's opacity between 90 and unset
+
------------
picom-trans -c --toggle 90
------------
2020-10-22 16:48:59 -04:00
* Reset all windows:
+
------------
picom-trans --reset
------------
2012-11-05 05:06:31 -05:00
BUGS
----
2019-10-24 14:24:38 -04:00
Please submit bug reports to <https://github.com/yshui/picom>.
2012-11-05 05:06:31 -05:00
SEE ALSO
--------
2024-07-30 12:23:46 -04:00
xref:picom.1.adoc[*picom*(1)], *xprop*(1), *xwininfo*(1)