ayushnix / tessen

an interactive menu to autotype and copy pass and gopass data
GNU General Public License v2.0
74 stars 12 forks source link

select password by default #32

Closed sambaccessnow closed 1 year ago

sambaccessnow commented 1 year ago

Hi, I'm looking for a way to select automatically the password once selected in tessen and skip the user/password selection as below

Screenshot from 2022-10-12 15-27-46

Is there a way to automatically select the password in tessen ?

ayushnix commented 1 year ago

This feature request is similar to another issue that has asked for keyboard shortcuts to select keys and perform actions.

I'm waiting for the next major release of fuzzel which will introduce file based configuration and custom keybindings. Once that's released, I'll start working custom keybindings which will allow you to select the password using a keyboard shortcut.

so-rose commented 1 year ago

I'm looking for the same! Is there any way to set a CLI or environment variable that bypasses this menu entirely, letting one pre-select ex. "password" or "user"?

ayushnix commented 1 year ago

@so-rose I don't think adding a CLI flag or an environment variable to select a specific key makes sense. If a user doesn't want to automatically select a password in some cases, launching tessen without that flag/env var doesn't sound like a good workflow.

The intended solution to this issue is using keyboard shortcuts with dmenu programs like fuzzel. Once keyboard shortcuts are implemented in fuzzel, we can assign a shortcut to automatically type/copy a username, password, and possibly other keys like URLs, OTPs.

ayushnix commented 1 year ago

I'm closing this ticket in favor of #30 since both of them have requested the same feature. Please leave your comments, if any, on that ticket.