2026-07-28 13:58:28 +01:00
|
|
|
# settings/ui.nix — shared UI metrics.
|
|
|
|
|
#
|
|
|
|
|
# Single source of truth for corner rounding. Both the quickshell shell
|
|
|
|
|
# (settings/quickshell.nix -> Theme.qml) and hyprland's window decoration
|
|
|
|
|
# (settings/hyprland.nix) read `radius` from here, and every other rounding
|
|
|
|
|
# value is derived from it, so this one number rescales the roundness of the
|
|
|
|
|
# whole desktop — panels, cards, pills, hover rows and window corners.
|
|
|
|
|
#
|
|
|
|
|
# Derived values live next to their consumers:
|
|
|
|
|
# Theme.radiusCard = radius - panelGap (concentric nesting, see Theme.qml)
|
|
|
|
|
# Theme.radiusSmall = radius * 0.75
|
|
|
|
|
# Theme.radiusTiny = radius * 0.5
|
|
|
|
|
# hyprland decoration.rounding = radius
|
|
|
|
|
{
|
2026-07-28 15:05:05 +01:00
|
|
|
radius = 20;
|
2026-07-28 13:58:28 +01:00
|
|
|
}
|