Open antisocrates opened 2 years ago
It already looks for $HOME/.config/rtorrent/rtorrent.rc see #251.
It already looks for $HOME/.config/rtorrent/rtorrent.rc see #251.
Oh thanks didn't find that in the manual. Do you also happen to know if he added support for .config/rtorrent/session?
Do you also happen to know if he added support for .config/rtorrent/session?
The default is to use no session directory at all, so you can set it to whatever you like.
According to XDG Base directory specification: User data should go into $XDG_DATA_HOME (which default to ~/.local/share), user preferences should go into $XDG_CONFIG_HOME (which default to ~/.config) and cached data should go to $XDG_CACHE_HOME (which default to ~/.cache).
Therefore I suggest for rtorrent to look into $HOME/.config/rtorrent/rtorrent.rc for the config file and if it's not found look at $HOME/.rtorrent.rc as backwards compatibility.