From 9e1310106a31fff8ee5e7677cdefe111c5cb65fa Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 14 May 2026 11:32:03 +0200 Subject: [PATCH] Too defensive --- bin/omarchy-menu-keybindings | 2 +- default/hypr/paths.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/omarchy-menu-keybindings b/bin/omarchy-menu-keybindings index ddaa6106..78435e76 100755 --- a/bin/omarchy-menu-keybindings +++ b/bin/omarchy-menu-keybindings @@ -187,7 +187,7 @@ hl = setmetatable({ end, }) -local config = (os.getenv("HOME") or "") .. "/.config/hypr/hyprland.lua" +local config = os.getenv("HOME") .. "/.config/hypr/hyprland.lua" local file = io.open(config, "r") if file then diff --git a/default/hypr/paths.lua b/default/hypr/paths.lua index 4671cf64..4e2d2428 100644 --- a/default/hypr/paths.lua +++ b/default/hypr/paths.lua @@ -2,7 +2,7 @@ -- Lua files loaded with require() have separate local scopes, so modules that -- need these paths import this table instead of repeating os.getenv() lookups. -local home = os.getenv("HOME") or "" +local home = os.getenv("HOME") return { home = home,