Repository navigation
|
Some vars in Just for clarity, decoration block: general block: |
Replies: 1 comment 1 reply
|
The current load order is visible in
That explains the particular split you see: Put personal overrides in hl.config({
decoration = {
rounding = 5,
rounding_power = 1.5,
},
general = {
gaps_in = 1,
gaps_out = 0,
border_size = 2,
},
})That is also the location documented in the Lua migration guide, and HyDE's shipped user file notes that it is not overwritten during updates. Then reload and inspect the effective values: hyprctl reload
hyprctl getoption decoration:rounding
hyprctl getoption decoration:rounding_power
hyprctl getoption general:gaps_in
hyprctl getoption general:gaps_out
hyprctl getoption general:border_sizeIf the first, third, fourth, and fifth values still change, run One Lua detail explains the lack of an error from this test: this_is_a_meme = asdfAn undeclared Lua global such as |
defaults.luais being read, but it is only HyDE's baseline layer. Later layers can replace those values.The current load order is visible in
hyde.lua:defaultsdynamic(which applies the active theme'slua_state.hypr_themehere)~/.config/hypr/hyprland.luaThat explains the particular split you see:
rounding,gaps_in,gaps_out, andborder_sizeare common theme/workflow values, whilerounding_poweris usually left alone. For example, the Snappy workflow explicitly sets all four of those values here.Put personal overrides in
~/.config/hypr/hyprland.lua, not~/.local/share/hypr/lua/defaults.lua: