Comments (11)
Hi, I've implemented this feature in a branch called custom-keybinds
. I'll use this feature for a few days before making a release. Meanwhile, anyone wants to test it, please do and report errors/bugs if any.
from tessen.
Interesting, can you give an example of how you are using it?
I should've documented the feature.
I've mapped exit codes starting from 10 in the following order
- 10 is mapped to the default auto type action which is usually username + password
- 11 is mapped to auto typing the username
- 12 is mapped to auto typing the password
- 13 is mapped to opening the default URL
- 14 is mapped to copying the username
- 15 is mapped to copying the password
- 16 is mapped to copying the URL
You can use dmenu programs like fuzzel, bemenu, and rofi to map these exit codes to whatever shortcuts you like.
It would be nice to have OTP actions mapped too.
Thanks for the suggestion, I'll map this action to exit code 17.
from tessen.
Hi @pengux
Unfortunately, I don't think I'll work on this feature at this moment because
- native wayland support for rofi hasn't been merged upstream
- only rofi supports customizable keyboard shortcuts, no other wayland native dmenu program does this at the moment
I'd be willing to work on this feature if rofi ever gets upstream native wayland support. It doesn't look like this is going to happen anytime soon.
from tessen.
@ayushnix thanks for the reply. Currently, as I understand it, rofi does work with Wayland as I was using it with Sway. And the fork which supports Wayland natively fixes some issues such as clipboard access for me and it seems to be up-to-date with upstream. But even if Wayland support is missing, there are some keybindings that can still be implemented such as copy_name
and copy_pass
for example as it doesn't require xdotool or ydotool. I've also noticed that tools such as rofi-rbw is using wtype
to accomplish autotype in wayland so perhaps that is an option?
from tessen.
rofi does work with Wayland as I was using it with Sway. And the fork which supports Wayland
That's what I meant, the upstream rofi software doesn't support wayland, a fork made by lbonn does.
I've also noticed that tools such as rofi-rbw is using wtype to accomplish autotype in wayland so perhaps that is an option?
tessen uses wtype
to perform autotype operations on sway.
I noticed that wofi also supports custom keybindings. Considering wofi is a wayland native dmenu program, I'm now inclined to support custom keybindings in tessen.
Thanks, I'll try to implement this feature. Meanwhile, if you want to submit a pull request, that'd be welcome as well. Please see the CONTRIBUTING.md if you're interested.
from tessen.
Thanks, I'll try to implement this feature. Meanwhile, if you want to submit a pull request, that'd be welcome as well. Please see the CONTRIBUTING.md if you're interested.
That's great! My knowledge of shell scripts is not good enough for a PR but I'll help test things out if you need it.
from tessen.
Hi, I've implemented this feature in a branch called
custom-keybinds
.
Interesting, can you give an example of how you are using it? It would be nice to have OTP actions mapped too.
from tessen.
Thanks, I was using tofi, and wasn't aware that the others had that functionality.
from tessen.
The next stable release will promote fuzzel as the default dmenu backend for tessen.
from tessen.
I've mapped autotyping and copying OTP to custom exit codes as well. The v2.2.0 release should probably be out tomorrow.
from tessen.
This feature has now been added in version 2.2.0. Let me know if anyone has any questions or issues using it.
from tessen.
Related Issues (20)
- Passing backend options HOT 4
- Add support for gopass HOT 4
- using tessen in guix / rde HOT 2
- add support for bitwarden HOT 1
- add support for keepassxc
- add support for ydotool HOT 2
- autotype clears clipboard HOT 7
- Feature request: support for smartcards/yubikey HOT 5
- Tessen creates an "invisible" folder HOT 2
- Gopass multi store/mounts not working HOT 9
- Using `-a autotype` or `action=autotype` in config doesn't work as expected HOT 1
- Notification mentions "username" no matter what the field you copy HOT 1
- Support to ignore upper and lower case when searching HOT 7
- ignore spaces HOT 2
- select password by default HOT 4
- add the default config file in `XDG_CONFIG_DIRS` HOT 1
- gopass backend is not functional with gopass v1.15+ HOT 1
- Yofi backend support ? HOT 19
- config variable `pass_backend` no longer working in v2.2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tessen.