Closed sebdanielsson closed 3 years ago
Hi @SebDanielsson, thank you, I'm familiar with XDG Based Directory spec.
Can you explain how it applies to SwiftBar?
By following the spec SwiftBar would store config files at: ~/.config/swiftbar
SwiftBar doesn't have any dedicated config files at this moment. We use defaults
as a standard way to store configurable values for apps on macOS
The spec also recommends storing cache and other temporary files at: ~/.cache/swiftbar
On macOS the best practice is to use dedicated cache folders, this will allow system to purge it if needed
Sorry, didn't realize there was an "Change Plugin Folder..." option. Closing now. Thanks for this great software :)
TLDR: Our home directories have turned into a miss of dotfiles and application directories. Most of my software now follow the XDG Base Directory spec by default or scans it before creating the config files in the home directory.
By following the spec SwiftBar would store config files at: ~/.config/swiftbar
The spec also recommends storing cache and other temporary files at: ~/.cache/swiftbar
The standard: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Software that supports the XDG Base Directory standard: https://wiki.archlinux.org/title/XDG_Base_Directory#Support