mirror of
https://github.com/polybar/polybar.git
synced 2026-03-05 15:59:37 +00:00
This fixes a regression introduced in56e24992dfwhere relative config file paths weren't recognized because file_util::expand just added a slash to the beginning. That is calling `polybar -c config example` would try to load the config file at `/config` instead of using the relative path as before. In all other cases where expand is used this change shouldn't matter because polybar only accepts absolute paths everyhwere else. Theoretically this would now allow relative paths (relative to the cwd where polybar was called) but this shouldn't used (or documented) because that behavior will change when merging #1523 which would make paths relative to the polybar config. Ref #1523 Ref56e24992df