[Hypr] Start new hyprland config

This commit is contained in:
2026-05-12 11:43:42 +02:00
parent 4b9bbde225
commit 820e4c9982
7 changed files with 74 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
-- TODO: Laptop vs desktop vs docked config
local swap_escape = false
hl.config({
general = require("hyprland.core.general")(),
input = require("hyprland.core.input")(swap_escape),
xwayland = {
force_zero_scaling = true,
},
misc = {
disable_hyprland_logo = true,
disable_splash_rendering = false,
vrr = 3,
allow_session_lock_restore = true,
},
dwindle = {
pseudotile = true,
force_split = 2,
preserve_split = true,
},
})
hl.device({
name = "pnp0c50:00-093a:0255-touchpad",
enabled = true,
})
+9
View File
@@ -0,0 +1,9 @@
return function()
return {
gaps_in = 3,
gaps_out = 4,
border_size = 2,
layout = "dwindle",
}
end
+27
View File
@@ -0,0 +1,27 @@
--- @param swap_escape boolean
return function(swap_escape)
return {
kb_options = swap_escape and "caps:swapescape" or "",
kb_layout = "us",
kb_variant = "altgr-intl",
natural_scroll = "true",
numlock_by_default = true,
repeat_delay = 400,
follow_mouse = 2,
mouse_refocus = true,
scroll_factor = 2,
accel_profile = "flat",
touchpad = {
disable_while_typing = true,
natural_scroll = true,
scroll_factor = 4,
},
focus_on_close = 1,
sensitivity = 0,
}
end
View File
+3
View File
@@ -0,0 +1,3 @@
-- Custom layout manager
-- Very work in progress, currently, dwindle layout is still in use,
-- but once this is completed, will switch over to this