From 50c4eaf75bbb7dd6aec90531572d77e652e3d4be Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:30:49 +1000 Subject: [PATCH] feat: add border smoothing option --- README.md | 1 + modules/drawers/ContentWindow.qml | 1 + plugin/src/Caelestia/Config/borderconfig.hpp | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index b7ead9bc..f5849cb8 100644 --- a/README.md +++ b/README.md @@ -483,6 +483,7 @@ For example, to disable the bar on DP-1: }, "border": { "rounding": 25, + "smoothing": 32, "thickness": 10 }, "dashboard": { diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index 0824d209..b69408dc 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -131,6 +131,7 @@ StyledWindow { id: blobGroup color: Colours.palette.m3surface + smoothing: root.contentItem.Config.border.smoothing Behavior on color { CAnim {} diff --git a/plugin/src/Caelestia/Config/borderconfig.hpp b/plugin/src/Caelestia/Config/borderconfig.hpp index abdd07d9..9de604e8 100644 --- a/plugin/src/Caelestia/Config/borderconfig.hpp +++ b/plugin/src/Caelestia/Config/borderconfig.hpp @@ -12,6 +12,7 @@ class BorderConfig : public ConfigObject { CONFIG_PROPERTY(int, thickness, 10) CONFIG_PROPERTY(int, rounding, 25) + CONFIG_PROPERTY(int, smoothing, 32) Q_PROPERTY(int minThickness READ minThickness CONSTANT) Q_PROPERTY(int clampedThickness READ clampedThickness NOTIFY thicknessChanged)