Commit Graph
3 Commits
Author SHA1 Message Date
ItsLemmy d8a67ce298 Compositor: Reworked the compositor detection to make it more robust when switching from one to another in TTY
- Sway seems to leave its SWAYSOCK valid when going back to TTY, which
would break Noctalia on Niri. Was probably fine with a display manager.
+ Autofmt
2025-10-07 20:59:33 -04: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