| 1 |
= picom-trans(1) |
| 2 |
Yuxuan Shui |
| 3 |
:doctype: manpage |
| 4 |
:mansource: picom |
| 5 |
:manversion: {picom-version} |
| 6 |
:manmanual: User Commands |
| 7 |
|
| 8 |
NAME |
| 9 |
---- |
| 10 |
picom-trans - an opacity setter tool |
| 11 |
|
| 12 |
SYNOPSIS |
| 13 |
-------- |
| 14 |
|
| 15 |
*picom-trans* [-w _WINDOW_ID_] [-n _WINDOW_NAME_] [-c] [-s] _OPACITY_ |
| 16 |
|
| 17 |
DESCRIPTION |
| 18 |
----------- |
| 19 |
|
| 20 |
*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). |
| 21 |
|
| 22 |
OPTIONS |
| 23 |
------- |
| 24 |
*-w*, *--window*=_WINDOW_ID_:: |
| 25 |
Specify the window id of the target window. |
| 26 |
|
| 27 |
*-n*, *--name*=_WINDOW_NAME_:: |
| 28 |
Specify and try to match a window name. |
| 29 |
|
| 30 |
*-c*, *--current*:: |
| 31 |
Specify the currently active window as target. Only works if EWMH '_NET_ACTIVE_WINDOW' property exists on root window. |
| 32 |
|
| 33 |
*-s*, *--select*:: |
| 34 |
Select target window with mouse cursor. This is the default if no window has been specified. |
| 35 |
|
| 36 |
*-o*, *--opacity*=_OPACITY_:: |
| 37 |
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. |
| 38 |
|
| 39 |
*-g*, *--get*:: |
| 40 |
Print the target window's opacity instead of setting it. |
| 41 |
|
| 42 |
*-d*, *--delete*:: |
| 43 |
Delete opacity of the target window instead of setting it. |
| 44 |
|
| 45 |
*-t*, *--toggle*:: |
| 46 |
Toggle the target window's opacity: Set opacity if not already set, and delete if already set. |
| 47 |
|
| 48 |
*-r*, *--reset*:: |
| 49 |
Reset opacity for all windows instead of setting it. |
| 50 |
|
| 51 |
EXAMPLES |
| 52 |
-------- |
| 53 |
|
| 54 |
* Set the opacity of the window with specific window ID to 75%: |
| 55 |
+ |
| 56 |
------------ |
| 57 |
picom-trans -w "$WINDOWID" 75 |
| 58 |
------------ |
| 59 |
|
| 60 |
* Set the opacity of the window with the name "urxvt" to 75%: |
| 61 |
+ |
| 62 |
------------ |
| 63 |
picom-trans -n "urxvt" 75 |
| 64 |
------------ |
| 65 |
|
| 66 |
* Set current window to opacity of 75%: |
| 67 |
+ |
| 68 |
------------ |
| 69 |
picom-trans -c 75 |
| 70 |
------------ |
| 71 |
|
| 72 |
* Select target window and set opacity to 75%: |
| 73 |
+ |
| 74 |
------------ |
| 75 |
picom-trans -s 75 |
| 76 |
------------ |
| 77 |
|
| 78 |
* Increment opacity of current active window by 5%: |
| 79 |
+ |
| 80 |
------------ |
| 81 |
picom-trans -c +5 |
| 82 |
------------ |
| 83 |
|
| 84 |
* Decrement opacity of current active window by 5%: |
| 85 |
+ |
| 86 |
------------ |
| 87 |
picom-trans -c -- -5 |
| 88 |
------------ |
| 89 |
|
| 90 |
* Delete current window's opacity: |
| 91 |
+ |
| 92 |
------------ |
| 93 |
picom-trans -c --delete |
| 94 |
------------ |
| 95 |
|
| 96 |
* Toggle current window's opacity between 90 and unset |
| 97 |
+ |
| 98 |
------------ |
| 99 |
picom-trans -c --toggle 90 |
| 100 |
------------ |
| 101 |
|
| 102 |
* Reset all windows: |
| 103 |
+ |
| 104 |
------------ |
| 105 |
picom-trans --reset |
| 106 |
------------ |
| 107 |
|
| 108 |
BUGS |
| 109 |
---- |
| 110 |
Please submit bug reports to <https://github.com/yshui/picom>. |
| 111 |
|
| 112 |
SEE ALSO |
| 113 |
-------- |
| 114 |
xref:picom.1.adoc[*picom*(1)], *xprop*(1), *xwininfo*(1) |