`swaymsg -t subscribe '["window"]'` is not triggered on window change with this script, and more generaly when `swaymsg [con_id=x] focus` I m afraid it's more a sway design/bug