nwg-piotr / nwg-drawer

Application drawer for wlroots-based Wayland compositors
MIT License
233 stars 25 forks source link

Can't click on waybar when nwg-drawer is open #109

Closed Elu43 closed 8 months ago

Elu43 commented 8 months ago

Hello,

Thank your for your amazing work. I use nwg-drawer with hyprland on arch.

I would like to know how I could keep waybar usable when nwg-drawer is open.

I use waybar with a shortcut to launch nwg-drawer, and I would like to click again to close it (I'm using laptop in tablet mode so no keyboard). But it's impossible to click on any element of waybar when nwg-drawer is open.

I noticed nwg-drawer is not opening as a classic window : no borders, I cannot resize it or move it, so maybe it's the reason.

Best regards

nwg-piotr commented 8 months ago

Hi,

The drawer by default opens on the top layer of gtk-layer-shell, unless you specify the overlay layer with the -ovl argument. You need to check which layer your waybar is placed on.

Also: you can right-click alongside the icons to close the drawer.

Elu43 commented 8 months ago

I didn't know about that concept of layers. I changed waybar layer to overlay and it works now. Thank you for your help, sorry to have bothered you.

Best regards

nwg-piotr commented 8 months ago

Thank you for your help, sorry to have bothered you.

You're welcome. For quick Q&A feel free to join the nwg-shell Matrix space.