l4l / yofi

yofi is a minimalistic menu for wayland
https://crates.io/crates/yofi
MIT License
375 stars 21 forks source link

[Feature request] Parameter for config path #157

Closed EmnichtdaYT closed 8 months ago

EmnichtdaYT commented 8 months ago

Hello! I love yofi so far, I use it as my application launcher and with some hacky scripts as a menu to select passwords from my password manager. The issue here is, the names of my passwords are quite long, therefore I would like yofi to be opened as a bigger window when I use it as my password menu. But there are no command line arguments to do that, so I'd suggest adding a parameter to set the path of the config file to be applied when specified. That would be rly cool, I hope this isn't too hard to implement! Thanks! ~Zoe

l4l commented 8 months ago

Isn't it yofi --config-file <path>?

EmnichtdaYT commented 8 months ago

Oh, I am not familiar with rust and the yofi code, and I couldn't find this parameter anywhere in the documentation so I had no idea this parameter existed. So maybe update the documentation? Thanks tho!

l4l commented 8 months ago

Not sure that any arguments are documented anywhere except yofi --help. And I don't sure documenting elsewhere is a good idea because eventually the document become outdated.