-
-
Notifications
You must be signed in to change notification settings - Fork 888
Description
Is your feature request related to a problem? Please describe.
When sharing configuration files across different machines (and OSs), having a hard-coded path is not ideal. Having my configuration file shared between a Linux and a macOS, the only diff I have between the two is the color_theme entry. On Linux:
color_theme = "/usr/share/btop/themes/nord.theme"
On macOS:
color_theme = "/opt/homebrew/Cellar/btop/1.2.9/share/btop/themes/nord.theme"
(Side-note: what happens on macOS when btop is updated? I suspect this path becomes invalid?)
Describe the solution you'd like
Avoid any hard-coded path. One option could be to copy/symlink the built-in themes in $XDG_CONFIG_PATH/btop/themes on startup or when selecting a built-in theme. Another one could be to only store the name for built-in themes rather than the full path.
Describe alternatives you've considered
N/A
Additional context
N/A