hyprland migration from hyprlang to lua
This commit is contained in:
@@ -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)
|
||||
@@ -0,0 +1 @@
|
||||
-- User-specific environment variables. Loaded after hyprland/environments.lua.
|
||||
@@ -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 })
|
||||
@@ -0,0 +1 @@
|
||||
-- User-specific keybindings. Loaded after hyprland/keybinds.lua.
|
||||
@@ -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 })
|
||||
@@ -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,
|
||||
})
|
||||
Reference in New Issue
Block a user