mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
45 lines
1.2 KiB
Lua
45 lines
1.2 KiB
Lua
-- This file sources other files in `hyprland` and `custom` folders
|
|
-- You wanna add your stuff in files in `custom`
|
|
|
|
-- Internal stuff --
|
|
require("hyprland.lib")
|
|
require("hyprland.services")
|
|
|
|
-- Environment variables --
|
|
require("hyprland.env")
|
|
if is_file_exists(HOME .. "/.config/hypr/custom/env.lua") then
|
|
require("custom.env")
|
|
end
|
|
|
|
-- Default configurations --
|
|
require("hyprland.execs")
|
|
require("hyprland.general")
|
|
require("hyprland.rules")
|
|
require("hyprland.colors")
|
|
require("hyprland.keybinds")
|
|
|
|
-- Custom configurations --
|
|
if is_file_exists(HOME .. "/.config/hypr/custom/execs.lua") then
|
|
require("custom.execs")
|
|
end
|
|
if is_file_exists(HOME .. "/.config/hypr/custom/general.lua") then
|
|
require("custom.general")
|
|
end
|
|
if is_file_exists(HOME .. "/.config/hypr/custom/rules.lua") then
|
|
require("custom.rules")
|
|
end
|
|
if is_file_exists(HOME .. "/.config/hypr/custom/keybinds.lua") then
|
|
require("custom.keybinds")
|
|
end
|
|
|
|
-- nwg-displays support --
|
|
if is_file_exists(HOME .. "/.config/hypr/workspaces.lua") then
|
|
require("workspaces")
|
|
end
|
|
if is_file_exists(HOME .. "/.config/hypr/monitors.lua") then
|
|
require("monitors")
|
|
end
|
|
|
|
-- Shell overrides --
|
|
require("hyprland.shellOverrides.main")
|