[Hypr] Start new hyprland config
This commit is contained in:
@@ -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,
|
||||
})
|
||||
@@ -0,0 +1,9 @@
|
||||
return function()
|
||||
return {
|
||||
gaps_in = 3,
|
||||
gaps_out = 4,
|
||||
border_size = 2,
|
||||
|
||||
layout = "dwindle",
|
||||
}
|
||||
end
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user