Works as the title suggests. `--ignore firefox vlc gimp` would as an
example completely ignore any opacity modifications to the respective
windows, defaulting to 1.
Opacity of active window can now be set with the -a or --active-ocacity
flag. Previous inactive opacity flag (-o) has changed to -i or
--inactive-opacity. Change will break for users using the old flag.
Script currently has the ability to show multiple windows as active,
wrongly implying that more than one window can be focused at the same
time. It happens when multiple outputs are configured such that multiple
workspaces can be simultaneously shown. Stemming from a conditional to
only change transparency values if the focus change is done on the same
workspace in which the previous focus change was made. (Introduced in:
6235423544.) Commit is somewhat poor in
that it clumps multiple features into one commit, so it's hard to
understand what problem the author attempted to solve with the
conditional. I, for one, can not see any other reason for adding this
arguably incorrect behavior, as it goes directly against the script's
purpose. As such, it's regarded as a bug and the change will remove the
behavior entirely, not making it an option.
Hidden windows in the scratchpad failed to have their transparency
reset upon program exit. This is because they are kept separetly in
`ipc.get_tree.scratchpad()`, and not in `ipc.get_tree.workspaces()`.
Transparency gets reset when the script is terminated.
Added command line option to set transparency strength without changing
the script.
Added support for multiple displays.
Sway has ability to apply transparency to arbitrary windows. This script
wires up this functional to one of popular use-cases from
i3+<compositor_name>.
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>