Back to Superfile

Config file path

website/src/content/docs/configure/config-file-path.md

1.5.03.0 KB
Original Source

:::tip If you want to get the set path you can try spf pl which will print out the file locations of all superfile. :::

Directories

Config directory

LinuxmacOSWindows
~/.config/superfile~/Library/Application Support/superfile%LOCALAPPDATA%/superfile

Theme directory

LinuxmacOSWindows
~/.config/superfile/theme~/Library/Application Support/superfile/theme%LOCALAPPDATA%/superfile/theme

Data directory

LinuxmacOSWindows
~/.local/share/superfile~/Library/Application Support/superfile/%LOCALAPPDATA%/superfile

Changing Config File Path

You can use the -c or --config-file flag to specify a different path for the config.toml file:

bash
spf -c /path/to/your/config.toml

You can use the --hotkey-file flag to specify a different path for the hotkey.toml file:

bash
spf --hotkey-file /path/to/your/hotkey.toml

Log directory

LinuxmacOSWindows
~/.local/state/superfile~/Library/Application Support/superfile%LOCALAPPDATA%/superfile

All config file path

Config

LinuxmacOSWindows
~/.config/superfile/config.toml~/Library/Application Support/superfile/config.toml%LOCALAPPDATA%/superfile/config.toml

Hotkeys

LinuxmacOSWindows
~/.config/superfile/hotkeys.toml~/Library/Application Support/superfile/hotkeys.toml%LOCALAPPDATA%/superfile/hotkeys.toml

Log file

LinuxmacOSWindows
~/.local/state/superfile/superfile.log~/Library/Application Support/superfile/superfile.log%LOCALAPPDATA%/superfile/superfile.log