swayest_workstyle
swayest_workstyle copied to clipboard
Deduplicate not always working when placed in the middle of multiple windows
dedup()
only removes consecutive duplicates. The easiest way to deal with this is to run sort()
first. If you would instead not like to sort (e.g. to keep left to right order) and want to keep the first occurrence then you can use Itertools::unique()
e.g. .iter().unique().collect_vec()
.
Fixed with newest release https://github.com/Lyr-7D1h/swayest_workstyle/releases/tag/1.3.2