forked from Shinonome/dots-hyprland
41 lines
1.1 KiB
Lua
41 lines
1.1 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: re-add the files if it updates later
|
|
-- require("workspaces")
|
|
-- require("monitors")
|
|
|
|
-- Shell overrides --
|
|
require("hyprland.shellOverrides.main")
|