picom icon indicating copy to clipboard operation
picom copied to clipboard

Shrink unfocused windows to emphasize focus indicators in i3-gaps

Open kantord opened this issue 5 years ago • 4 comments

Expected behavior

The idea is that when a special flag/configuration is enabled, unfocused windows would shrink by a given percentage. With i3-gaps it would make them appear more distant from other windows (the net gaps would be effectively bigger) which would make the focused window stand out even further, as it would appear to occupy it's space more aggressively.

As an extra, the scaling effect could be animated.

I thought of this as an alternative to actually changing the gaps, because actually resizing the windows might trigger layout changes.

kantord avatar Oct 01 '20 20:10 kantord

I think we could extend window shader support a bit to make this possible.

yshui avatar Nov 29 '20 01:11 yshui

Would be nice to override the scale of a window on demand. For example, shrinking secondary windows to 75% or 50% would allow better use of screen space.

akorchemniy avatar Aug 15 '21 23:08 akorchemniy

Would be nice to override the scale of a window on demand. For example, shrinking secondary windows to 75% or 50% would allow better use of screen space.

I think that would require changing the layout though, no?

kantord avatar Aug 16 '21 05:08 kantord

as of now this can be done through animations EXCEPT once the animation is done playing it resets. we need a way to retain animation effects like a variable we can set to true

MrHax00 avatar Mar 22 '25 08:03 MrHax00