Skip to content

[BUG] window-command not working under Wayland (niri) #2231

@Lodifice

Description

@Lodifice

Rofi version (rofi -v or git commit in case of build issue)

2.0.0

Configuration

https://gist.github.com/Lodifice/ed1ac229644f9d05717030027d214c40

Theme

https://gist.github.com/Lodifice/dcea5f9f08e8e4fb4bd28fbb0ff35a7e

Timing report

No response

Launch command

rofi -show window -mode window -window-command "notify-send rofi {window}"

Step to reproduce

Just run the launch command from a terminal (optionally skip -window-command since it is also in the config). Then press Shift+Enter on any entry.

Expected behavior

A notification pops up.

Actual behavior

The window manager (niri) switches to the selected window.

Additional information

I've tried different commands and different key bindings for kb-accept-alt. It's always the same, as if the normal accept was hit. However, under Xorg (dwm) it works as intended.

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions