swayest_workstyle icon indicating copy to clipboard operation
swayest_workstyle copied to clipboard

Deduplicate not always working when placed in the middle of multiple windows

Open Lyr-7D1h opened this issue 2 years ago • 1 comments

image

Lyr-7D1h avatar Sep 11 '22 17:09 Lyr-7D1h

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().

frankier avatar Sep 27 '22 14:09 frankier

Fixed with newest release https://github.com/Lyr-7D1h/swayest_workstyle/releases/tag/1.3.2

Lyr-7D1h avatar Jan 25 '23 00:01 Lyr-7D1h