[4] Comentário enviado por Listeiro 037 em 27/02/2013 - 15:16h:
Excelente! Teria também como configurar as sombras em apenas parte da janela, como abaixo e à direita, por exemplo? Igual aqueles boxes antigos modo texto?
Amigo, eu realmente não sei te dizer!
O que sei é que o compton tem MUITAS opções, então provavelmente deve ter sim. Eu vou colar aqui a saída do comando "compton --help" assim você poderá ver se algum desses parâmetros se encaixa no que você deseja.
A saída foi a seguinte:
usage: compton [options]
Options:
-d display
Which display should be managed.
-r radius
The blur radius for shadows. (default 12)
-o opacity
The translucency for shadows. (default .75)
-l left-offset
The left offset for shadows. (default -15)
-t top-offset
The top offset for shadows. (default -15)
-I fade-in-step
Opacity change between steps while fading in. (default 0.028)
-O fade-out-step
Opacity change between steps while fading out. (default 0.03)
-D fade-delta-time
The time between steps in a fade in milliseconds. (default 10)
-m opacity
The opacity for menus. (default 1.0)
-c
Enabled client-side shadows on windows.
-C
Avoid drawing shadows on dock/panel windows.
-z
Zero the part of the shadow's mask behind the window (experimental).
-f
Fade windows in/out when opening/closing and when opacity
changes, unless --no-fading-openclose is used.
-F
Equals -f. Deprecated.
-i opacity
Opacity of inactive windows. (0.1 - 1.0)
-e opacity
Opacity of window titlebars and borders. (0.1 - 1.0)
-G
Don't draw shadows on DND windows
-b
Daemonize process.
-S
Enable synchronous operation (for debugging).
--config path
Look for configuration file at the path.
--shadow-red value
Red color value of shadow (0.0 - 1.0, defaults to 0).
--shadow-green value
Green color value of shadow (0.0 - 1.0, defaults to 0).
--shadow-blue value
Blue color value of shadow (0.0 - 1.0, defaults to 0).
--inactive-opacity-override
Inactive opacity set by -i overrides value of _NET_WM_OPACITY.
--inactive-dim value
Dim inactive windows. (0.0 - 1.0, defaults to 0)
--mark-wmwin-focused
Try to detect WM windows and mark them as active.
--shadow-exclude condition
Exclude conditions for shadows.
--mark-ovredir-focused
Mark windows that have no WM frame as active.
--no-fading-openclose
Do not fade on window open/close.
--shadow-ignore-shaped
Do not paint shadows on shaped windows.
--detect-rounded-corners
Try to detect windows with rounded corners and don't consider
them shaped windows.
--detect-client-opacity
Detect _NET_WM_OPACITY on client windows, useful for window
managers not passing _NET_WM_OPACITY of client windows to frame
windows.
--refresh-rate val
Specify refresh rate of the screen. If not specified or 0, compton
will try detecting this with X RandR extension.
--vsync vsync-method
Set VSync method. There are up to 3 VSync methods currently available
depending on your compile time settings:
none = No VSync
drm = VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some
drivers. Experimental.
opengl = Try to VSync with SGI_swap_control OpenGL extension. Only
work on some drivers. Experimental.
opengl-oml = Try to VSync with OML_sync_control OpenGL extension.
Only work on some drivers. Experimental.
--alpha-step val
Step for pregenerating alpha pictures. 0.01 - 1.0. Defaults to
0.03.
--dbe
Enable DBE painting mode, intended to use with VSync to
(hopefully) eliminate tearing.
--paint-on-overlay
Painting on X Composite overlay window.
--sw-opti
Limit compton to repaint at most once every 1 / refresh_rate
second to boost performance. Experimental.
--vsync-aggressive
Attempt to send painting request before VBlank and do XFlush()
during VBlank. This switch may be lifted out at any moment.
--use-ewmh-active-win
Use _NET_WM_ACTIVE_WINDOW on the root window to determine which
window is focused instead of using FocusIn/Out events.
--respect-prop-shadow
Respect _COMPTON_SHADOW. This a prototype-level feature, which
you must not rely on.
--unredir-if-possible
Unredirect all windows if a full-screen opaque window is
detected, to maximize performance for full-screen windows.
Experimental.
--focus-exclude condition
Specify a list of conditions of windows that should always be
considered focused.
--inactive-dim-fixed
Use fixed inactive dim value.
--detect-transient
Use WM_TRANSIENT_FOR to group windows, and consider windows in
the same group focused at the same time.
--detect-client-leader
Use WM_CLIENT_LEADER to group windows, and consider windows in
the same group focused at the same time. WM_TRANSIENT_FOR has
higher priority if --detect-transient is enabled, too.
--blur-background
Blur background of semi-transparent / ARGB windows. Bad in
performance. The switch name may change without prior
notifications.
--blur-background-frame
Blur background of windows when the window frame is not opaque.
Implies --blur-background. Bad in performance. The switch name
may change.
--blur-background-fixed
Use fixed blur strength instead of adjusting according to window
opacity.
--invert-color-include condition
Specify a list of conditions of windows that should be painted with
inverted color. Resource-hogging, and is not well tested.
--dbus
Enable remote control via D-Bus. See the D-BUS API section in the
man page for more details.
Abraço!