firecat53 / keepmenu

Dmenu/Rofi frontend for Keepass databases
GNU General Public License v3.0
204 stars 32 forks source link

Add -c/--config option #145

Closed mraethel closed 1 year ago

mraethel commented 1 year ago

Currently there is no way to specify the config location.

This PR adds the command line option ( -c/--config path/to/config ) to read the specified config file on startup. Omitting this option leads to previous behavior ( reading from ~/.config/keepmenu/config.ini ). Paths using " ~ " ( e.g. ~/path/to/config ) are allowed.

firecat53 commented 1 year ago

Thanks very much! I rebased on current main and added one commit to fix the tests.