Giter VIP home page Giter VIP logo

Comments (4)

ayushnix avatar ayushnix commented on May 14, 2024 1

Better behaviour is to look for a user key in a file first.

Ah, understood.

So you want autotype to use the username from the file if the user or username key is present inside of it instead of assuming username as the file name, right?

Hmm, makes sense. I'll probably add this functionality since rofi-pass behaves the same way and some people would've chosen to write their usernames inside the file rather than in the filename itself.

Thanks for reporting this.

from tessen.

ayushnix avatar ayushnix commented on May 14, 2024 1

I've added a feature to use custom username key and prefer that instead of the filename if it's present. If a username key isn't present, tessen should fallback to using the basename of the selected file.

Please read the README or the man page for more details. Let me know if anything doesn't work as expected.

from tessen.

ayushnix avatar ayushnix commented on May 14, 2024

It would be nice to use user or username key to override a filename.

This should already be the case. If a user: your-username is present inside a file, it should show up in the menu. It shouldn't be username: your-username though, because tessen assumes username from the filename.

from tessen.

ejiektpobehuk avatar ejiektpobehuk commented on May 14, 2024

Exactly my point.
They are treated like different entities and only one of them is used for the autotype.

Better behaviour is to look for a user key in a file first.
Fallback to a filename only when it's not found.

from tessen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.