Separate config and data files for Windows (#2051)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-07-19 21:32:12 +10:00
1 parent 93400c11a0
commit 82a983d934
4 files changed
+25 -26

No files matched your search

+6 -7
View File
@@ -311,19 +311,19 @@ Configuration files should be located at:
OS system-wide user-specific
Unix /etc/lf/lfrc ~/.config/lf/lfrc
Windows C:\ProgramData\lf\lfrc C:\Users\<user>\AppData\Local\lf\lfrc
Windows C:\ProgramData\lf\lfrc C:\Users\<user>\AppData\Roaming\lf\lfrc
The colors file should be located at:
OS system-wide user-specific
Unix /etc/lf/colors ~/.config/lf/colors
Windows C:\ProgramData\lf\colors C:\Users\<user>\AppData\Local\lf\colors
Windows C:\ProgramData\lf\colors C:\Users\<user>\AppData\Roaming\lf\colors
The icons file should be located at:
OS system-wide user-specific
Unix /etc/lf/icons ~/.config/lf/icons
Windows C:\ProgramData\lf\icons C:\Users\<user>\AppData\Local\lf\icons
Windows C:\ProgramData\lf\icons C:\Users\<user>\AppData\Roaming\lf\icons
The selection file should be located at:
@@ -358,12 +358,11 @@ with their order of precedences and their default values:
~/.local/share
Windows
%ProgramData%
C:\ProgramData
%LF_CONFIG_HOME%
%APPDATA%
%LF_DATA_HOME%
%LOCALAPPDATA%
C:\Users\<user>\AppData\Local
A sample configuration file can be found at
https://github.com/gokcehan/lf/blob/master/etc/lfrc.example