Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Niri Window manager support #733

Open
Spider1x0 opened this issue Dec 4, 2024 · 1 comment
Open

Niri Window manager support #733

Spider1x0 opened this issue Dec 4, 2024 · 1 comment
Labels
contributions welcome It would be cool if somebody worked on this one feature request New feature or request Linux This affects Kando on Linux Wayland This affects Kando under Wayland Linux

Comments

@Spider1x0
Copy link

Description

Yeah i'm probably one of the two users that use niri Window manager around here but are there any plans to support this window manager ?

Affected Desktop Environments

Linux, Any other Wayland-based environment, Other (specify below)

Additional Information

Niri window manager

@Spider1x0 Spider1x0 added the feature request New feature or request label Dec 4, 2024
@Schneegans
Copy link
Contributor

Hi there! Thanks for the suggestion. I personally do not have any plans, but if anybody wants to do this, go ahead! If Niri offers the required functionality somehow, writing the backend code will be easy.

You only have to implement a Niri-specific backend. This backend must be able to do the following things:

  • Return the current pointer position (even if Kando does not have focus).
  • Return the title of the currently focused window.
  • Return the name of the currently focused app.
  • Warp the mouse pointer to a given coordinate.
  • Simulate key presses.
  • Bind and unbind global shortcuts.

On Hyprland, there is the hyprctl tool which allows for most of this. If Niri as APIs to do this, writing a custom backend will be very easy.

@Schneegans Schneegans added contributions welcome It would be cool if somebody worked on this one Linux This affects Kando on Linux Wayland This affects Kando under Wayland Linux labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome It would be cool if somebody worked on this one feature request New feature or request Linux This affects Kando on Linux Wayland This affects Kando under Wayland Linux
Projects
None yet
Development

No branches or pull requests

2 participants