Skip to content

Commit 56a63af

Browse files
committed
really take into account PATH_DEFAULT and PATH_DEFAULT_RIGHT
Signed-off-by: Michel-FK <[email protected]>
1 parent 84c7036 commit 56a63af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ struct Config {
1818
bool disp_autoscale_dpi = static_cast<bool>(AUTOSCALE_DPI);
1919

2020
// Default paths to the left and right panels
21-
std::string path_default = std::getenv("PWD"); // $PWD in the config
22-
std::string path_default_right = std::getenv("HOME"); // $HOME in the config
21+
std::string path_default = PATH_DEFAULT;
22+
std::string path_default_right = PATH_DEFAULT_RIGHT;
2323

2424
// Used if `path_default_right` does not exist or left path == right path.
2525
std::string path_default_right_fallback;

0 commit comments

Comments
 (0)