Lepton icon indicating copy to clipboard operation
Lepton copied to clipboard

Use $XDG_CONFIG_HOME/lepton/leptonrc as well as $HOME/.leptonrc for configuration

Open foundObjects opened this issue 3 years ago • 0 comments

Environment info

  • OS: Arch Linux
  • App Version (Command/Ctrl + ,): 1.9.2

Description of the problem / feature request / question:

To avoid cluttering the user's homedir check for a config file at $XDG_CONFIG_HOME/lepton/leptonrc as well as $HOME/.leptonrc

edit: it looks like this would be app.getPath(appData) to fetch XDG_CONFIG_HOME

If possible, provide a sample gist or screenshot:

n/a

If possible, provide the log files

n/a

foundObjects avatar Jun 14 '21 22:06 foundObjects