lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
1.03k stars 43 forks source link

[REQUEST] windowcd mode? #159

Open mightyiam opened 2 days ago

mightyiam commented 2 days ago

Before opening a feature request

What is the user problem or growth opportunity you want to see solved?

I'd love to be able to use the windowcd mode. Is it disabled in this fork?

How do you know that this problem exists today? Why is this important?

rofi seems to report that there is no such mode.

Who will benefit from it?

One who wants to rofi-style switch between windows but only of the current desktop, ya know.

Rofi version (rofi -v)

1.7.5+wayland3

Configuration

Perhaps not necessary in this case?

Additional information

No response

lbonn commented 2 days ago

Is it disabled in this fork?

Kind of, it's not been implemented. See https://github.com/lbonn/rofi/blob/0a0cc5f6d7b6d028cc7f6140edf5416d187b3696/source/modes/wayland-window.c#L618

Maybe it can work with output_{enter,leave}in the protocol https://wayland.app/protocols/wlr-foreign-toplevel-management-unstable-v1#zwlr_foreign_toplevel_handle_v1:event:output_enter