-
Notifications
You must be signed in to change notification settings - Fork 32
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 option to copy to clipboard #110
Comments
I second this. It's especially valuable on multi-screen setups when you're having a video call and need to login into the website you're showing discreetly without exposing your database. |
@vaygr - I pushed an initial stab at this to the
Thanks! |
Excellent, thanks for implementing this. I tested this both in regular and TOTP mode: works perfectly. One request though: maybe add |
Thanks for testing! I appreciate the second set of eyes. Yeah, I can add xsel. I didn't at first because of course it uses different CLI |
@firecat53 I think you meant "I can add xclip" :) |
Heh, oops 🤭 I'm mostly done adding xclip actually. |
Added xclip support to develop branch. Test for me? |
Tried it, copy/paste works as expected. The commit changed clear behavior though? I use |
Are you sure you pulled down the most recent changes? I force-pushed some this morning (sorry). The diff you posted is right, but that should be the correct behavior. I tested in Sway and Gnome(Xorg). |
Yeah, I cloned the fresh repo right before I posted this comment. |
Hmmm. The symptom you described was what I fixed this morning. I've tested that block of code from type.py with wl-copy, xsel and xclip and it all clears the clipboard appropriately.
|
OK, steps to reproduce:
Same result with This is latest bspwm on Manjaro. |
Do you have a small utility that synchronizes your clipboard with the primary selection? I'm only clearing the clipboard because that's where the information is copied to, not to the primary selection. |
I know what was happening: while testing copy-paste in the browser I was accidentally selecting the whole entry with the mouse to delete it in the input field, which was copying it to primary. Sorry for the confusion, this is good to go. |
Hmm, strange. Tried to use totp mode today: it seems it stopped working with the latest clipboard changes. |
You're gonna have to be more specific :) Seems to still be working here, both typing and typing to clipboard. Edit: I'm running from the develop branch, FYI |
Yeah, it works on one machine and doesn't on another. I'll be able to provide more info soon. |
The problem disappeared on its own after updating to the latest commit. I think it's safe to mark it as resolved. |
Thanks for spending the time to troubleshoot! |
i have a suggestion.
(from
|
Consider adding a feature to switch to clipboard instead of typing. Some
websites lose focus on the input field as soon as keepmenu is opened.
The text was updated successfully, but these errors were encountered: