Migrate hyprland config to lua

This commit is contained in:
Tobias Reisinger 2026-09-03 12:41:22 +02:00
commit bdaeb19666
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
29 changed files with 485 additions and 437 deletions

57
.config/hypr/vars.lua Normal file
View file

@ -0,0 +1,57 @@
hl.config({
general = {
border_size = 1,
gaps_in = 3,
gaps_out = 6,
layout = "dwindle",
},
decoration = {
blur = {
enabled = true,
new_optimizations = true,
passes = 1,
size = 3,
},
rounding = 3,
},
input = {
accel_profile = "flat",
follow_mouse = 1,
kb_layout = "de",
kb_model = "",
kb_options = "compose:menu, caps:none",
kb_rules = "",
kb_variant = "",
mouse_refocus = true,
numlock_by_default = true,
sensitivity = 0,
touchpad = {
natural_scroll = false,
},
},
misc = {
anr_missed_pings = 10,
background_color = "rgba(1E1F29ff)",
disable_autoreload = true,
disable_hyprland_logo = true,
enable_anr_dialog = false,
},
xwayland = {
force_zero_scaling = true,
},
cursor = {
inactive_timeout = 0,
no_warps = true,
},
dwindle = {
force_split = 2,
preserve_split = true,
},
master = {
mfact = 0.5,
new_status = "master",
},
animations = {
enabled = false,
},
})