Debian Codegraph @

man/compton-trans.1.asciidoc

raw
1 compton-trans(1)
2 ================
3 :doctype: manpage
4 :man source: compton
5 :man version: nightly-20121114
6 :man manual: LOCAL USER COMMANDS
7
8 NAME
9 ----
10 compton-trans - an opacity setter tool
11
12 SYNOPSIS
13 --------
14
15 *compton-trans* [-w 'WINDOW_ID'] [-n 'WINDOW_NAME'] [-c] [-s] 'OPACITY'
16
17 DESCRIPTION
18 -----------
19
20 *compton-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_ID'::
25 Specify the window id of the target window.
26
27 *-n* 'WINDOW_NAME'::
28 Specify and try to match a window name.
29
30 *-c*::
31 Specify the currently active window as target. Only works if EWMH '_NET_ACTIVE_WINDOW' property exists on root window.
32
33 *-s*::
34 Select target window with mouse cursor. This is the default if no window has been specified.
35
36 *-o* '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 EXAMPLES
40 --------
41
42 * Set the opacity of the window with specific window ID to 75%:
43 +
44 ------------
45 compton-trans -w "$WINDOWID" 75
46 ------------
47
48 * Set the opacity of the window with the name "urxvt" to 75%:
49 +
50 ------------
51 compton-trans -n "urxvt" 75
52 ------------
53
54 * Set current window to opacity of 75%:
55 +
56 ------------
57 compton-trans -c 75
58 ------------
59
60 * Select target window and set opacity to 75%:
61 +
62 ------------
63 compton-trans -s 75
64 ------------
65
66 * Increment opacity of current active window by 5%:
67 +
68 ------------
69 compton-trans -c +5
70 ------------
71
72 * Decrement opacity of current active window by 5%:
73 +
74 ------------
75 compton-trans -c -- -5
76 ------------
77
78 BUGS
79 ----
80 Please report any bugs you find to <https://github.com/chjj/compton> .
81
82 AUTHORS
83 -------
84 Christopher Jeffrey (<https://github.com/chjj>).
85
86 SEE ALSO
87 --------
88 link:compton.1.html[*compton*(1)], *xprop*(1), *xwininfo*(1)