graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

Don't use a hidden file in ~/.config/psd #151

Closed trizen closed 9 years ago

trizen commented 9 years ago

Hello Graysky,

Just a minor issue here: it seems like psd uses a hidden config file ( .psd.conf -- https://github.com/graysky2/profile-sync-daemon/blob/master/common/profile-sync-daemon.in#L66) instead of psd.conf.

I just discovered that I have two files in ~/.config/psd. I'm not sure if this is intended, as it conflicts with the documentation and may cause some confusion.

Hope it will get fixed. Nice tool, btw. Keep up the good work!

graysky2 commented 9 years ago

Yes, it is by design. If you stop psd you'll see it will be removed.

The hidden copy is created when psd is active and thus keeps your data sane. Without it, if you were to edit psd.conf, each time the script is run, it would source it which could lead to bad things particularly if browsers are changed while active. I had this more prominently featured in the manpage in the past but wanted a less complicated version more recently.

trizen commented 9 years ago

Oh, got it. Thanks