FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1k stars 18 forks source link

[Feature Request] Fill space beneath window #48

Closed evgkirov closed 6 months ago

evgkirov commented 7 months ago

Is it possible to make JankyBorders not only draw borders around a window but also filling the rectangle space beneath it?

This enhancement would enable the option to apply a tint to the translucent parts of an active window, providing a more visually appealing (to some) alternative to the current wallpaper 'bleed-through' effect

Here's now

Screenshot 2024-01-12 at 21 11 38 Screenshot 2024-01-12 at 21 14 04

Here's how it could look

Screenshot 2024-01-12 at 21 12 47 Screenshot 2024-01-12 at 21 14 28

FelixKratz commented 7 months ago

This is added on current master, where the background color can be set through:

borders background_color=<color>

currently only plain 0xAARRGGBB colors are supported for background. Additionally, you can control the blur radius applied to the background via:

borders blur_radius=<float>
evgkirov commented 7 months ago

It works!