IJHack / QtPass

QtPass is a multi-platform GUI for pass, the standard unix password manager.
https://qtpass.org/
GNU General Public License v3.0
1.02k stars 160 forks source link

Move "runtime settings" in QtPass.conf to .cache #536

Open ckotte opened 4 years ago

ckotte commented 4 years ago

Would it be possible to move the [mainwindow] section to a file in .cache instead of .config/IJHack/QtPass.conf?

I track my config files in a git repository (a.k.a dotfiles). The following settings are changed almost every time I open/close the program.

I think the window position is not that important and could be stored in the .cache directory as well.

 [mainwindow]
-geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x9a\0\0\0\xe9\0\0\x5p\0\0\x3m\0\0\x1\x9a\0\0\x1\t\0\0\x5p\0\0\x3m\0\0\0\0\0\0\0\0\a\x80\0\0\x1\x9a\0\0\x1\t\0\0\x5p\0\0\x3m)
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xc0\0\0\0\xd7\0\0\x5\x96\0\0\x3[\0\0\x1\xc0\0\0\0\xf7\0\0\x5\x96\0\0\x3[\0\0\0\0\0\0\0\0\a\x80\0\0\x1\xc0\0\0\0\xf7\0\0\x5\x96\0\0\x3[)
 maximized=false
-pos=@Point(410 233)
+pos=@Point(448 215)

See also https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html.

Also the version was changed after I did an update last time. Does this value changes with every new release? Also if the schema doesn't change? Would it be possible for QtPass to read a config file with an older version?

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.