hl: make custom stuff optional

This commit is contained in:
end-4
2026-05-14 12:35:29 +02:00
parent 798d35a538
commit 28ba8a4f43
4 changed files with 38 additions and 17 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
require("hyprland.lib")
require("hyprland.variables")
require("custom.variables")
if is_file_exists(HOME .. "/.config/hypr/custom/variables.lua") then
require("custom.variables")
end
if is_file_exists(HOME .. "/.config/hypr/custom/keybinds.lua") then
require("custom.keybinds")
end
local qsScripts = "$HOME/.config/quickshell/$qsConfig/scripts"
local hyprScripts = "$HOME/.config/hypr/hyprland/scripts"