You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show/hide main window under mouse cursor combined option #2272
Is your feature request related to a problem? Please describe.
I'd like to combine "show/hide main window" and "Show main window under mouse cursor"
Describe the solution you'd like
I'd like a single keyboard shortcut to show the window under the cursor if it's currently hidden, and hide the window if it's shown.
Describe alternatives you've considered
I believe Ditto had this behaviour when I used it in the past
Additional context
Add any other context or screenshots about the feature request here.
[Command]Command=" copyq: if (visible()) hide() else showAt()"GlobalShortcut=ctrl+shift+a
Icon=\xf022
IsGlobalShortcut=true
Name=Show main window under mouse cursor
This makes sense. Let me just change the default behavior to also hide the window with "Show main window under mouse cursor". This will be available in the next release.
Activity
hluk commentedon Mar 4, 2023
You can use modified version of the command (here is how to add the command to CopyQ):
hluk commentedon Mar 4, 2023
Just change the Global Shortcut of the new command after you add it.
Chealer commentedon Mar 25, 2026
Thank you for reporting. This affects CopyQ 14.
Ditto basically behaves that way, but location depends on its configuration.
I suggest retitling this to:
License
All comments and attachments from myself on this ticket are offered under the terms of CC0 1.0.hluk commentedon Mar 26, 2026
This makes sense. Let me just change the default behavior to also hide the window with "Show main window under mouse cursor". This will be available in the next release.
Hide window if visible with the "Show under mouse cursor" shortcut