Migrate hyprland config to lua

This commit is contained in:
Tobias Reisinger 2026-09-03 12:41:22 +02:00
commit bdaeb19666
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
29 changed files with 485 additions and 437 deletions

18
.config/hypr/hyprland.lua Normal file
View file

@ -0,0 +1,18 @@
require("dracula")
require("defaults")
require("host")
require("env")
require("vars")
require("binds")
require("rules")
hl.on("hyprland.start", function()
hl.exec_cmd("autostart-manage sync wayland,hyprland")
hl.exec_cmd("autostart-manage run-wayland")
end)
-- MIGRATION_NOTE: 'exec' (non-once) commands — these run on every reload.
-- Consider if they should be in hyprland.start or another event.
hl.on("monitor.layout_changed", function()
hl.exec_cmd("xsetroot -cursor_name left_ptr")
end)