Closed chase9 closed 2 years ago
That's not reasonably doable under Wayland.
https://wayland-book.com/xdg-shell-in-depth/interactive.html https://gitlab.gnome.org/GNOME/mutter/-/issues/316
Positioning a window is possible but there is no way to retrieve the cursor coordinates.
@sonnyp is it possible at least to get it centered (via config). Currently, I just forced center all windows via gnome-tweaks, but would like to do it just for Junction.
Possibly but GNOME Shell doesn't support it https://gitlab.gnome.org/GNOME/mutter/-/issues/316
There is this org.gnome.mutter center-new-windows
dconf setting as a half-solution. :man_shrugging:
Although it's interesting that Ulauncher somehow does it.
There is this org.gnome.mutter center-new-windows dconf setting as a half-solution.
How is that a solution to centering Junction only?
It's already documented in the README.md :+1:
Although it's interesting that Ulauncher somehow does it.
It's not a wayland app
https://github.com/Ulauncher/Ulauncher/blob/dev/ulauncher.service
GDK_BACKEND=x11
There is an application for Mac called bumpr which provides much of the same functionality. They default to placing the window under your cursor, which I believe to be the best UI for an application like this.