2019-10-23 14:27:30 -04:00
picom-trans(1)
2012-11-05 05:06:31 -05:00
================
2012-11-14 07:44:31 -05:00
:doctype: manpage
2019-10-23 14:27:30 -04:00
:man source: picom
:man version: {picom-version}
2018-12-15 11:12:46 -05:00
:man manual: 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
--------
2019-10-23 14:27:30 -04:00
*picom-trans* [-w 'WINDOW_ID'] [-n 'WINDOW_NAME'] [-c] [-s] 'OPACITY'
2012-11-05 05:06:31 -05:00
DESCRIPTION
-----------
2019-10-23 14:27:30 -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
-------
2020-10-22 16:48:59 -04:00
*-w*, *--window*='WINDOW_ID'::
2012-11-05 05:06:31 -05:00
Specify the window id of the target window.
2020-10-22 16:48:59 -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.
2020-10-22 16:48:59 -04:00
*-o*, *--opacity*='OPACITY'::
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
--------
2019-10-23 14:27:30 -04:00
link:picom.1.html[*picom*(1)], *xprop*(1), *xwininfo*(1)