############ ### 外观 ### ############ general { # 边距 gaps_in = 4 gaps_out = 0,8,8,8 # gaps_out = 0,0,0,0 # 边框 border_size = 2 # 边框颜色 col.active_border = rgba(EFEFEF32) 45deg col.inactive_border = rgba(2A4A7400) # 拖动窗口边缘缩放 resize_on_border = false # 允许撕裂 allow_tearing = false # 布局 layout = dwindle # dwindle, master # no_focus_fallback = false } # 窗口边框 decoration { # 圆角 rounding = 4 rounding_power = 5 # 窗口透明度 active_opacity = 1.0 inactive_opacity = 1.0 # 阴影 shadow { enabled = true, must! range = 4 render_power = 5 color = rgba(1a1a1aee) } # 模糊 blur { enabled = true size = 4 passes = 3 vibrancy = 0.1696 } } # 动画 animations { enabled = yes, please :) # 默认曲线,参见 https://wiki.hypr.land/Configuring/Animations/#curves # 名称, X0, Y0, X1, Y1 bezier = easeOutQuint, 0.23, 1, 0.32, 1 bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1 bezier = linear, 0, 0, 1, 1 bezier = almostLinear, 0.5, 0.5, 0.75, 1 bezier = quick, 0.15, 0, 0.1, 1 # 默认动画,参见 https://wiki.hypr.land/Configuring/Animations/ # 名称, 开关, 速度, 曲线, [样式] animation = global, 1, 10, default animation = border, 1, 5.39, easeOutQuint animation = windows, 1, 4.79, easeOutQuint animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% animation = windowsOut, 1, 3.49, linear, popin 87% animation = fadeIn, 1, 1.73, almostLinear animation = fadeOut, 1, 1.46, almostLinear animation = fade, 1, 3.03, quick animation = layers, 1, 3.81, easeOutQuint animation = layersIn, 1, 4, easeOutQuint, fade animation = layersOut, 1, 1.5, linear, fade animation = fadeLayersIn, 1, 1.79, almostLinear animation = fadeLayersOut, 1, 1.39, almostLinear animation = workspaces, 1, 1.94, easeInOutCubic, slide animation = workspacesIn, 1, 3, easeInOutCubic, slide animation = workspacesOut, 1, 3, easeInOutCubic, slide animation = zoomFactor, 1, 7, quick } layerrule = blur on, match:namespace waybar layerrule = blur on, match:namespace wofi dwindle { # pseudotile = true # 伪平铺的主开关。在下面的键绑定部分中,启用绑定到 mainMod + P preserve_split = true # 您可能想要这个 } # 更多信息参见 https://wiki.hypr.land/Configuring/Master-Layout/ master { new_status = master } # https://wiki.hypr.land/Configuring/Variables/#misc misc { force_default_wallpaper = -1 # 设置为 0 或 1 以禁用动漫吉祥物壁纸 disable_hyprland_logo = true # 如果为 true,则禁用随机的 hyprland 标志 / 动漫女孩背景。:( }