hypr: bugfix in loading envs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
local config_home = os.getenv("XDG_CONFIG_HOME") or os.getenv("HOME") .. "/.config"
|
||||
|
||||
local fid_env = io.open(config_home .. "/hypr/env")
|
||||
local fid_env = io.open(config_home .. "/hypr/env.lua")
|
||||
local env = {}
|
||||
if fid_env then
|
||||
env = require("env")
|
||||
@@ -51,7 +51,7 @@ require("modules.keybinds")
|
||||
require("modules.windows_and_workspaces")
|
||||
|
||||
-- HyprMod managed settings
|
||||
local fid_gui = io.open(config_home .. "/hypr/hyprland-buntes-monster-gui")
|
||||
local fid_gui = io.open(config_home .. "/hypr/hyprland-buntes-monster-gui.lua")
|
||||
if fid_gui then
|
||||
fid_gui:close()
|
||||
require("hyprland-buntes-monster-gui")
|
||||
|
||||
Reference in New Issue
Block a user