Skip to content

Add configurable GTK border-radius#90

Closed
Kasui92 wants to merge 1 commit intobjarneo:mainfrom
omakasui:add-border-radius
Closed

Add configurable GTK border-radius#90
Kasui92 wants to merge 1 commit intobjarneo:mainfrom
omakasui:add-border-radius

Conversation

@Kasui92
Copy link
Copy Markdown
Contributor

@Kasui92 Kasui92 commented Mar 26, 2026

Replaces the hardcoded border-radius: 0 in gtk.css with a {gtk_border_radius} template variable controlled by a new settings gtk field (default: 0px / sharp corners, as prev Hyprland inspired).

A dropdown in the Templates section lets users choose between Sharp (0px), Subtle (6px), Rounded (12px), More (18px), and Extra (24px). The setting is persisted in settings.json.

Replaces the hardcoded border-radius: 0 in gtk.css with a
{gtk_border_radius} template variable controlled by a new
Settings.GtkBorderRadius field (default: 0px / sharp corners).

A dropdown in the Templates section lets users choose between
Sharp (0px), Subtle (6px), Rounded (12px), More (18px), and
Extra (24px). The setting is persisted in settings.json.
@bjarneo
Copy link
Copy Markdown
Owner

bjarneo commented Mar 26, 2026

Can you add a screenshot of how it looks in Aether?

@Kasui92
Copy link
Copy Markdown
Contributor Author

Kasui92 commented Mar 26, 2026

Screenshot From 2026-03-26 13-11-00

yep, it's probably not the best position/format. 😅
But it gives you the idea!

Open to suggestions and requests!

@Kasui92
Copy link
Copy Markdown
Contributor Author

Kasui92 commented Mar 26, 2026

Maybe in the same way as Neovim Theme/Accessibility and before Templates?

@bjarneo
Copy link
Copy Markdown
Owner

bjarneo commented Mar 29, 2026

I hear you on this one, but I would love to keep the app as easy as possible. If such a border radius should exist, it should be applied to more than GTK.

If you want to have a custom setup for your template, you can use template overrides (see the docs).

@bjarneo bjarneo closed this Mar 29, 2026
@Kasui92
Copy link
Copy Markdown
Contributor Author

Kasui92 commented Mar 30, 2026

What if I introduced it as a configuration to apply to gtk in TEMPLATE OVERRIDES?

clipboard_2026-03-30_15-56

Ultimately, it would still be something that's part of that file.
Moreover, that file, running in both gtk-3.0 and gtk-4.0, still changes many windows in DE like GNOME.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants