hyprland migration from hyprlang to lua

This commit is contained in:
Thomas
2026-05-13 15:57:05 +02:00
parent 6c4519b70a
commit 76d4defbe7
27 changed files with 305 additions and 384 deletions
+6
View File
@@ -0,0 +1,6 @@
-- User-specific autostart. Loaded after hyprland/autostart.lua.
hl.on("hyprland.start", function()
hl.exec_cmd("dbus-update-activation-environment --systemd --all")
hl.exec_cmd("systemctl --user start hyprland-session.target")
end)
+1
View File
@@ -0,0 +1 @@
-- User-specific environment variables. Loaded after hyprland/environments.lua.
+3
View File
@@ -0,0 +1,3 @@
-- User-specific input config (kb_layout, per-device, gestures). Loaded after hyprland/inputs.lua.
hl.device({ name = "logitech-g-pro--1", sensitivity = -0.8 })
+1
View File
@@ -0,0 +1 @@
-- User-specific keybindings. Loaded after hyprland/keybinds.lua.
+4
View File
@@ -0,0 +1,4 @@
-- User-specific monitor overrides. Loaded after hyprland/monitors.lua.
hl.monitor({ output = "eDP-1", mode = "2256x1504@60", position = "auto", scale = 1.33, bitdepth = 10, vrr = 1 })
hl.monitor({ output = "DP-3", mode = "3440x1440@99", position = "auto", scale = 1, bitdepth = 10, vrr = 1 })
+14
View File
@@ -0,0 +1,14 @@
-- User-specific window rules. Loaded after hyprland/windowrules.lua.
hl.window_rule({
name = "reaper",
match = { class = "REAPER" },
move = {"cursor_x-(window_w*0.5))", "(cursor_y-(window_h*0.5))"},
float = true,
})
hl.window_rule({
name = "reaper-title",
match = { class = "REAPER", title = "^(menu)$" },
no_initial_focus = true,
})