Skip to content

Commit

Permalink
oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Jul 8, 2024
1 parent 21f2b93 commit 5f5874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path/Path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Hyprutils::Path {
std::optional<std::string> getHome() {
static const auto homeDir = getenv("HOME");

if (!homeDir || std::filesystem::path(homeDir).is_absolute())
if (!homeDir || !std::filesystem::path(homeDir).is_absolute())
return std::nullopt;

static const std::optional<std::string> home = std::string(homeDir).append("/.config");
Expand Down

0 comments on commit 5f5874f

Please sign in to comment.