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

How do I detect if the drawer is showing? #120

Open
bincat233 opened this issue Jun 13, 2024 · 2 comments
Open

How do I detect if the drawer is showing? #120

bincat233 opened this issue Jun 13, 2024 · 2 comments

Comments

@bincat233
Copy link
Contributor

Hi there,

I'm trying to bind nwg-drawer with libinput gesture, and I'd love to be able to bind open and close in different gestures. However, I couldn't find a way to detect if the drawer is showing or not. Is there any way I can do this?

Thanks in advance!

@bincat233
Copy link
Contributor Author

I'm using swaywm on archlinux, and I have tried swaymsg -t get_tree , but it didn't show anything about nwg-drawer.

@bincat233
Copy link
Contributor Author

And maybe I could add two flags if you want:

-open
    open drawer of existing instance
-close
    close drawer of existing instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant