Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make picom clip all windows but "background" windows #1233

Open
SollyBunny opened this issue Apr 6, 2024 · 2 comments
Open

How to make picom clip all windows but "background" windows #1233

SollyBunny opened this issue Apr 6, 2024 · 2 comments

Comments

@SollyBunny
Copy link

SollyBunny commented Apr 6, 2024

Platform

Arch Linux

Environment

dwm + alpha

picom version

vgit-89c2c

Config

--transparent-clipping

Steps to reproduce

I have a live background which uses a window embedded in the background (https://github.com/sollybunny/glsltoy).

With --transparent-clipping the window gets clipped (as somewhat expected)

But with --transparent-clipping and --transparent-clipping-exclude="name *?= \"glsl\"" (the window's name is "glsltoy") nothing happens (presummably the background is barred from clipping any windows)

@SollyBunny
Copy link
Author

image
expected behaviour (when dragging the windows over eachother, only the top most terminal should show and then merge with the background)

image
actual behaviour (the background is removed underneath all windows)

@absolutelynothelix
Copy link
Collaborator

the transparent-clipping option makes windows have the wallpaper behind them. the wallpaper for picom is an image that a root background pixmap atom points to. your terminals become black because you don't have it set.

the transparent-clipping-exclude option disables the transparent-clipping option for matched windows, iow makes windows have the real content behind them.

you want the transparent-clipping option to make windows have a particular window (or layer) behind them. i don't think that it's currently possible so i consider this an enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants