Remove the "rounded-window-corners" GNOME extension

This commit is contained in:
Alexander Hess 2026-10-20 14:15:20 +02:00
commit ae3b7100a9
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
4 changed files with 14 additions and 46 deletions

View file

@ -154,13 +154,10 @@ GNOME_NEUTRALS = {
_LIGHTNESS_RESOLUTION = 0.001
# Corner geometry:
# - Windows are clipped to `WINDOW_RADIUS`
# by the rounded-window-corners-reborn extension
# - forge's rings sit slightly outside the window frame
# => The ring radius adds 1px so the curves stay concentric
# (forge's stock inset is actually 3; see window.js)
WINDOW_RADIUS = 12
# forge's focus rings sit between a square frame (`alacritty`, GTK3)
# and libadwaita's 12px corners; 10px splits the difference,
# leaving about 2px of mismatch either way
FORGE_RING_RADIUS = 10
# Template for the stylesheet used by the GNOME shell extension `forge`
@ -822,7 +819,7 @@ def render_forge_css(colors: dict[str, str]) -> str:
emphasis_dim=as_rgb(colors["emphasis-dim"]),
emphasis_dim_a30=as_rgba(colors["emphasis-dim"], alpha=0.3),
emphasis_dim_a40=as_rgba(colors["emphasis-dim"], alpha=0.4),
ring_radius=f"{WINDOW_RADIUS + 1}px",
ring_radius=f"{FORGE_RING_RADIUS}px",
scheme_name=colors["_scheme"],
surface_dim=as_rgb(colors["surface-dim"]),
surface_dim_a60=as_rgba(colors["surface-dim"], alpha=0.6),