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

Add a slash command to show (or toggle) the main window on demand #686

Open
Duckwhale opened this issue Nov 15, 2023 · 0 comments
Open

Add a slash command to show (or toggle) the main window on demand #686

Duckwhale opened this issue Nov 15, 2023 · 0 comments

Comments

@Duckwhale
Copy link
Member

Source: Discord (deleted message)

i hoped there is a command to show it without needing to use the minimap icon

Not sure how useful this is overall, but it should be pretty easy to do:

  1. Add new branch to the slash command handler
  2. Show the main window, probably using this code here
  3. Now turn it into a toggle, so that if it's run twice the UI is hidden again (?)

Might be a bit slow due to the LibQTip initialization delay, so possibly add some message to indicate the UI is loading?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Soon™
Timeline
Soon™
Development

No branches or pull requests

1 participant