mattydebie/bitwarden-rofi

Fix AUR PKGBUILD

mattydebie opened this issue · 6 comments

Now that we depend on lib/helper.sh, we also need to install that to a place on users' filesystem.
Right now we expect the file to be in $PWD/lib/helper.sh which is not the correct place when installing bwmenu to /usr/bin/bwmenu.

renamed lib/helper.sh to lib-bwmenu and added it to install with PKGBUILD for bitwarden-rofi-git.

Mange commented

I would actually recommend to just inline the file. It's only used in a single place, so I don't see the need to have it in a different file in the first place.

That is also a correct assumption 😛

I created that file because i don't like scrolling :) and it makes the codebase more readable IMO. I'm wondering if it's possible to generate a single file by dereferencing the source commands at install time... no idea if this exists in bash.

Hey guys, just chiming in to let you know this project inspired me to write this https://github.com/remyrd/jimpass over the last few weeks in my free time.

I had many ideas in mind, but keeping everything in a single file and bash would have never been possible. I warmly invite you to take a look at what I did. If you're interested I'll gladly make you contributors or something (not sure what github offers in this regard).

Again, thanks for the inspiration!

That's looking quite good! I also was thinking about using python or go in stead of bash but here we are 😛
Good luck with the project!