-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom config file not working on mac #120
Comments
Was also expecting to user .config folder. But for me even the Application Support folder doesn't seem to work. Tried with both creating the folder /superfile and putting the config.toml / hotkeys.toml directly in the Application Support folder. Any suggestions? Can't run |
You should be running v1.1.2 v1.1.2 does not have this feature :( |
Ahh. Tested building from source now instead, and now the pl command works, and I can get the config path. However, one thing I'm noticing is that if I try to copy the path and paste for just opening in an editor, it doesn't find the config file because it doesn't escape the space in the "Application Support". However since it seemed to work for OP I guess that's not the culprit here... |
@albinabc |
Just updated to try, did the config in |
Would you like to send your // ...
var HomeDir = xdg.Home
var SuperFileMainDir = "/home/nightcat/Documents/code/superfile" + "/superfile"
var SuperFileCacheDir = xdg.CacheHome + "/superfile"
var SuperFileDataDir = xdg.DataHome + "/superfile"
var SuperFileStateDir = xdg.StateHome + "/superfile"
// ... |
var HomeDir = xdg.Home
var SuperFileMainDir = "~/.config/superfile"
var SuperFileCacheDir = "~/.config/superfile"
var SuperFileDataDir = "~/.config/superfile"
var SuperFileStateDir = "~/.config/superfile" And also var (
ThemeFoldera string = SuperFileMainDir + "/theme"
LastCheckVersiona string = SuperFileDataDir + "/lastCheckVersion"
ThemeFileVersiona string = SuperFileDataDir + "/themeFileVersion"
FirstUseChecka string = SuperFileDataDir + "/firstUseCheck"
PinnedFilea string = SuperFileDataDir + "/pinned.json"
ConfigFilea string = SuperFileMainDir + "/config.toml"
HotkeysFilea string = SuperFileMainDir + "/hotkeys.toml"
ToggleDotFilea string = SuperFileDataDir + "/toggleDotFile"
LogFilea string = SuperFileStateDir + "/superfile.log"
) And yes this seems to apply, before I had updated it to .config/superfile I got the Application Support folder outputted from |
I tested it a little bit and I probably know why, you should use full paths instead of relative paths (~). |
Heyy that works! |
Describe the bug
A clear and concise description of what the bug is.
Installed from homebrew.
After install, there's no
~/.config/superfile/config.toml
or even the~/.config/superfile/
folder.I created the folder with
mkdir -p ~/.config/superfile/
, then touch & edited theconfig.toml
followed fromTutorial, Themes
section, nothting changed.then I found
~/Library/Application\ Support/superfile/
folder and after edit config files it works.Expected behavior
generate config files in
~/.config/superfile
folder and overwrite the default ones.Screenshots
If applicable, add screenshots to help explain your problem.
System information (please complete the following information):
The text was updated successfully, but these errors were encountered: