Makrennel / hyprland-void

void linux hyprland templates for building with xbps-src
Other
114 stars 11 forks source link

Rofi launcher opens in full screen #68

Closed sofijacom closed 1 month ago

sofijacom commented 1 month ago

screenshot-20240621-155932

soanvig commented 1 month ago

This is only package for Hyprland. I find that issue should be reported in Hyprland repo.

However answering your problem, you can add windowrule for class:(Rofi) in hyprland config to open floating or at certain size. Something like that for example:

windowrulev2 = size 1600 900,class:(Rofi)
windowrulev2 = float,class:(Rofi)

Another thing is that Rofi is not wayland app, so it opens through xwayland. Consider switching to an alternative (my research already showed me that none of the alternatives offers such extended styling)

sofijacom commented 1 month ago

Yes, that’s much better, thank you! for your help.

windowrulev2 = size 400 550,class:(Rofi)
windowrulev2 = center, class:(Rofi)
windowrulev2 = float,class:(Rofi)

screenshot-20240621-171504

Makrennel commented 1 month ago

Rofi isn't really designed for Wayland, maybe give wofi or fuzzel a shot.