I would like to customise eaglemode without root privileges when it's installed system wide, but I have set $HOME as read-only as per this procedure for defending my $HOME from all the roge dotfiles and dotdirs. Therefore, I would really appreciate if you let me use the .config directory (or any $XDG_CONFIG_HOME for that matter) to save my configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can change the Eagle Mode configuration directory by setting the EM_USER_CONFIG_DIR environment variable. For example in your .bashrc or in eaglemode.sh:
export EM_USER_CONFIG_DIR=$HOME/.config/eaglemode
I understand that I should add support for XDG_CONFIG_HOME one day. But it's troublesome to keep compatibility with old configurations (detect and copy it silently, or ask user...).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to customise eaglemode without root privileges when it's installed system wide, but I have set $HOME as read-only as per this procedure for defending my $HOME from all the roge dotfiles and dotdirs. Therefore, I would really appreciate if you let me use the .config directory (or any $XDG_CONFIG_HOME for that matter) to save my configuration.
You can change the Eagle Mode configuration directory by setting the EM_USER_CONFIG_DIR environment variable. For example in your .bashrc or in eaglemode.sh:
export EM_USER_CONFIG_DIR=$HOME/.config/eaglemode
I understand that I should add support for XDG_CONFIG_HOME one day. But it's troublesome to keep compatibility with old configurations (detect and copy it silently, or ask user...).