mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 04:37:49 +02:00
44 lines
1.4 KiB
Lua
44 lines
1.4 KiB
Lua
-- Learn how to configure Hyprland: https://wiki.hypr.land/Configuring/Start/
|
|
|
|
local home = os.getenv("HOME") or ""
|
|
|
|
-- Hyprland recommends require() for split Lua configs. These two roots let us
|
|
-- load user modules from ~/.config and Omarchy defaults from $OMARCHY_PATH.
|
|
package.path = home .. "/.config/?.lua;" .. (os.getenv("OMARCHY_PATH") or (home .. "/.local/share/omarchy")) .. "/?.lua;" .. package.path
|
|
|
|
local paths = require("default.hypr.paths")
|
|
require("default.hypr.helpers")
|
|
|
|
-- Use Omarchy defaults, but don't edit these directly.
|
|
require("default.hypr.autostart")
|
|
require("default.hypr.bindings.media")
|
|
require("default.hypr.bindings.clipboard")
|
|
require("default.hypr.bindings.tiling-v2")
|
|
require("default.hypr.bindings.utilities")
|
|
require("default.hypr.envs")
|
|
require("default.hypr.looknfeel")
|
|
require("default.hypr.input")
|
|
require("default.hypr.windows")
|
|
|
|
-- Current theme overrides.
|
|
do
|
|
local theme = io.open(paths.config_home .. "/omarchy/current/theme/hyprland.lua", "r")
|
|
if theme then
|
|
theme:close()
|
|
require("omarchy.current.theme.hyprland")
|
|
end
|
|
end
|
|
|
|
-- Change your own setup in these files and override defaults.
|
|
require("hypr.monitors")
|
|
require("hypr.input")
|
|
require("hypr.bindings")
|
|
require("hypr.looknfeel")
|
|
require("hypr.autostart")
|
|
|
|
-- Toggle config flags dynamically.
|
|
require("default.hypr.toggles")
|
|
|
|
-- Add any other personal Hyprland configuration below.
|
|
-- hl.window_rule({ match = { class = "qemu" }, workspace = "5" })
|