Commit Graph
4 Commits
Author SHA1 Message Date
David Keijser c590c2c6d9 Use workspace.num as index for sway
Was incorrectly using the internal sway id of the workspace which is not
the same as the user facing id

Fixes #442
2025-10-09 16:46:26 +02:00
David Keijser 879d428e7d Use wayland handle to toplevel/workspace to activate on sway
This avoids the issue with app_id filter where multiple windows of the
same app is present.
2025-10-05 16:02:17 +02:00
David Keijser 31a64abcaa Create SwayService
This is for the most part a copy-paste job of hyprland.

Uses ToplevelManager to provide information about toplevels which is not
available from the I3 api.

Some features like taskbar focus is a bit broken as this happens by
app_id which falls apart for XWayland windows and applications with
multiple open windows.
2025-10-05 16:02:17 +02:00
David Keijser 754623c22b Call compositor backend actions with model reference
This allows the compositor backend to decide what property to use when invoking the action
2025-10-05 16:02:15 +02:00