Comments (4)
Maybe the most generic way to handle this is to indeed use a second rofi to finetune the selection.
When you use bwmenu for searching folders this actually already happens. This could be really easy to add imo.
from bitwarden-rofi.
Problem is I'm not sure rofi can hide part of the input it's been given...
It can not. I've tried this before.
fzf
can do it --nth
and --with-nth
options:
-n, --nth=N[,..] Comma-separated list of field index expressions
for limiting search scope. Each can be a non-zero
integer or a range expression ([BEGIN]..[END]).
--with-nth=N[,..] Transform the presentation of each line using
field index expressions
I wish rofi had something similar to this. :(
from bitwarden-rofi.
Just a thought, I believe there are other ways out of this...
- I commented on another issue #12 (comment) and well, assuming the user can "visually" deduplicate the entries since there is more metadata on each item and some templating maps the format to the fields in
ITEMS
, one could use additionalselect()
statements (functions?) injq
to return the one good entry. Still, the user can't expect to get a different entry when selecting the second identical option - Deduplication could be offloaded to another rofi instance, offering initially a list of entries uniquely identified by whatever string the user configures.
from bitwarden-rofi.
When I did Mange/rofi-lpass (LastPass in Rofi) I added the ID to each entry like this:
Some Site [
<ID>
]
Copy password [
<ID>
]
Copy username [<ID>
]
…
Then I could extract the ID on each line.
We could also use the built-in support for Pango markup (with the -markup-rows
option to Rofi) to make the ID markers really small so it doesn't stick out as much.
from bitwarden-rofi.
Related Issues (20)
- Feature request: Automatic login HOT 2
- Increasing Loadspeed HOT 2
- notification showing html brackets HOT 1
- Workaround for error "Could not load items" HOT 5
- Switch between name and dirs closes the app HOT 1
- Totp not showing up HOT 1
- Race condition between xdotool and user's finger when autotyping HOT 1
- I can't change the theme HOT 1
- Error and master password prompt dont respect passed arguments HOT 2
- rofi 1.7.0 moved width and lines from config to Theme HOT 1
- Rofi's command-line options changed
- Changing keybinding HOT 2
- Add support for user-defined autotype tool
- autofill fill all account of the same domain
- Update AUR packages HOT 1
- Focus last active i3 window HOT 1
- Could not load items - mac failed HOT 2
- Not able to unlock session HOT 3
- "Could not load items:" HOT 3
- Could not load items error HOT 9
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 bitwarden-rofi.