Files
Hyprland-config/modules/looks.lua
2026-05-22 05:51:26 -05:00

81 lines
2.4 KiB
Lua

local theme = require("modules.theme")
hl.config({
general = {
gaps_in = 3,
gaps_out = 5,
border_size = 1,
["col.active_border"] = theme.primary,
["col.inactive_border"] = theme.surface,
resize_on_border = true,
allow_tearing = false,
layout = "dwindle"
},
decoration = {
rounding = 10,
rounding_power = 2,
active_opacity = 1.0,
inactive_opacity = 1.0,
shadow = {
enabled = true,
range = 4,
render_power = 3,
color = "rgba(1a1a1aee)"
},
blur = {
enabled = true,
size = 3,
passes = 1,
vibrancy = 0.1696
}
},
animations = {
enabled = true,
bezier = {
"easeOutQuint, 0.23, 1, 0.32, 1",
"easeInOutCubic, 0.65, 0.05, 0.36, 1",
"linear, 0, 0, 1, 1",
"almostLinear, 0.5, 0.5, 0.75, 1",
"quick, 0.15, 0, 0.1, 1"
},
animation = {
"global, 1, 10, default",
"border, 1, 5.39, easeOutQuint",
"windows, 1, 4.79, easeOutQuint",
"windowsIn, 1, 4.1, easeOutQuint, popin 87%",
"windowsOut, 1, 1.49, linear, popin 87%",
"fadeIn, 1, 1.73, almostLinear",
"fadeOut, 1, 1.46, almostLinear",
"fade, 1, 3.03, quick",
"layers, 1, 3.81, easeOutQuint",
"layersIn, 1, 4, easeOutQuint, fade",
"layersOut, 1, 1.5, linear, fade",
"fadeLayersIn, 1, 1.79, almostLinear",
"fadeLayersOut, 1, 1.39, almostLinear",
"workspaces, 1, 1.94, almostLinear, fade",
"workspacesIn, 1, 1.21, almostLinear, fade",
"workspacesOut, 1, 1.94, almostLinear, fade",
"zoomFactor, 1, 7, quick"
}
},
master = {
new_status = "master"
},
misc = {
force_default_wallpaper = 0,
disable_hyprland_logo = false
},
group = {
["col.border_active"] = theme.secondary,
["col.border_inactive"] = theme.surface,
["col.border_locked_active"] = theme.error,
["col.border_locked_inactive"] = theme.surface,
groupbar = {
["col.active"] = theme.secondary,
["col.inactive"] = theme.surface,
["col.locked_active"] = theme.error,
["col.locked_inactive"] = theme.surface
}
}
})