1COMPTON-TRANS(1)              LOCAL USER COMMANDS             COMPTON-TRANS(1)
2
3
4

NAME

6       compton-trans - an opacity setter tool
7

SYNOPSIS

9       compton-trans [-w WINDOW_ID] [-n WINDOW_NAME] [-c] [-s] OPACITY
10

DESCRIPTION

12       compton-trans is a bash script that sets _NET_WM_WINDOW_OPACITY
13       attribute of a window using standard X11 command-line utilities,
14       including xprop(1) and xwininfo(1). It is similar to transset(1) or
15       transset-df(1).
16

OPTIONS

18       -w WINDOW_ID
19           Specify the window id of the target window.
20
21       -n WINDOW_NAME
22           Specify and try to match a window name.
23
24       -c
25           Specify the currently active window as target. Only works if EWMH
26           _NET_ACTIVE_WINDOW property exists on root window.
27
28       -s
29           Select target window with mouse cursor. This is the default if no
30           window has been specified.
31
32       -o OPACITY
33           Specify the new opacity value for the window. This value can be
34           anywhere from 1-100. If it is prefixed with a plus or minus (+/-),
35           this will increment or decrement from the target window’s current
36           opacity instead.
37

EXAMPLES

39       ·   Set the opacity of the window with specific window ID to 75%:
40
41               compton-trans -w "$WINDOWID" 75
42
43       ·   Set the opacity of the window with the name "urxvt" to 75%:
44
45               compton-trans -n "urxvt" 75
46
47       ·   Set current window to opacity of 75%:
48
49               compton-trans -c 75
50
51       ·   Select target window and set opacity to 75%:
52
53               compton-trans -s 75
54
55       ·   Increment opacity of current active window by 5%:
56
57               compton-trans -c +5
58
59       ·   Decrement opacity of current active window by 5%:
60
61               compton-trans -c -- -5
62

BUGS

64       Please report any bugs you find to https://github.com/chjj/compton .
65

AUTHORS

67       Christopher Jeffrey (https://github.com/chjj).
68

SEE ALSO

70       compton(1), xprop(1), xwininfo(1)
71
72
73
74compton nightly-20121114          07/28/2020                  COMPTON-TRANS(1)
Impressum