lytex / orgzly-integrations

Integrations and workarounds to make orgzly work with org-mode on emacs
MIT License
10 stars 0 forks source link

Make a XDG compatible autostart #4

Open lytex opened 3 years ago

lytex commented 3 years ago

Problem

Currently the script is copied to $XDG_CONFIG_HOME/autostart-scripts/git-sync.sh, which is not part of the XDG Standard. As far as I know, this is an undocumented feature existing only in KDE

Likewise, to prevent git-sync from starting twice if you logout and then login, an exit script is copied to $XDG_CONFIG_HOME/plasma-workspace/shutdown/exit-git-sync.sh, which is again nonstandard

Possible solutions

lytex commented 2 years ago

This is solved by https://github.com/lytex/orgzly-integrations/commit/7be84bfe4d70c4803b12bca50b6a3e54b815bb3c, will close it when is merged to master