OctopusET / sway-contrib

A collection of user-contributed scripts for sway
MIT License
58 stars 22 forks source link

feature: added active vs inactive #30

Closed Xemptuous closed 6 months ago

Xemptuous commented 6 months ago

Overview

I had previously used i3 + picom to have window opacity in a way that the active window has some level of transparency, and inactive windows were slightly more transparent.

This modification adds a -f arg to inactive-windows-transparency.py that allows a specific opacity for the active window in relation to others (as opposed to the static 1 opacity).

I have kept the previous arg as --opacity -o for compatibility purposes; however, I would have preferred to have it called --inactive -i to represent "inactive windows' opacity" compared to "focused window opacity".