sway-borders icon indicating copy to clipboard operation
sway-borders copied to clipboard

Border for specific app only?

Open tmpm697 opened this issue 3 years ago • 3 comments

I tried to set shadow for window with specific app_id for example but all windows still have shadow set, how to avoid this?

for_window [app_id="abc"] border_images.focused  shadows.png

tmpm697 avatar Jul 15 '21 14:07 tmpm697

They're just not implemented on this level. You can't do per-window border images.

fluix-dev avatar Jul 15 '21 18:07 fluix-dev

humm, I really want it for per-window only, is there reason why make it global?

tmpm697 avatar Jul 16 '21 03:07 tmpm697

It's implemented the same way (as in generally the same rendering paths) as the standard borders which are global as well. The next iteration of this feature (with shaders) will have this feature, when I get to reworking this.

fluix-dev avatar Jul 17 '21 05:07 fluix-dev