Migrate hyprland config to lua
This commit is contained in:
parent
3271f3924e
commit
bdaeb19666
29 changed files with 485 additions and 437 deletions
18
.config/hypr/hyprland.lua
Normal file
18
.config/hypr/hyprland.lua
Normal 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)
|
||||
Loading…
Reference in a new issue