Today, pulsar put the config folder .pulsar in the home directory.
And the only way to change the location is via a Enviroment Variable.
This solution, even simple, is not good enough in some directory schemas.
For example, in my case i want all config files and folders be inside the ~/.config folder.
If the program searched in other "default" config places would be much easier.
What benefits does this feature provide?
More flexibily to save and organize the config files.
Many people use .config as the default place for their dotfiles (just search "dotfiles" in github).
Any alternatives?
There is a community package - "syncsettings" - but it puts the program configuration inside a private Gist wich is not really invisible.
Other examples:
This will be more compicated, but ...
Change the "desktop icon" to open with the ENV_VAR setted.
Have you checked for existing feature requests?
Summary
Today,
pulsar
put the config folder.pulsar
in the home directory.And the only way to change the location is via a Enviroment Variable.
This solution, even simple, is not good enough in some directory schemas.
For example, in my case i want all config files and folders be inside the
~/.config
folder.If the program searched in other "default" config places would be much easier.
What benefits does this feature provide?
More flexibily to save and organize the config files.
Many people use
.config
as the default place for their dotfiles (just search "dotfiles" in github).Any alternatives?
There is a community package - "syncsettings" - but it puts the program configuration inside a private Gist wich is not really invisible.
Other examples:
This will be more compicated, but ...
Other
Function is case: https://github.com/pulsar-edit/pulsar/blob/master/src/main-process/start.js#L137
Called in: https://github.com/pulsar-edit/pulsar/blob/5ff5295f1a3d7be48775859d4f3d60da0b81858b/src/main-process/start.js#L57