summaryrefslogtreecommitdiff
path: root/bar/ActiveWindow.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-02-15 14:24:23 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-02-15 14:24:23 +0800
commit19635217b2ef957ff38719b046cb7fe380a70b88 (patch)
tree2d1b8b879ba56c9c5ff2027fa0e2027af14ddc28 /bar/ActiveWindow.qml
parent3d8d5969f26cf343ba732361e39ab26a575e1ba6 (diff)
style: no longer floating, docked
Diffstat (limited to 'bar/ActiveWindow.qml')
-rw-r--r--bar/ActiveWindow.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/bar/ActiveWindow.qml b/bar/ActiveWindow.qml
index 106dd8f..17d2322 100644
--- a/bar/ActiveWindow.qml
+++ b/bar/ActiveWindow.qml
@@ -18,7 +18,7 @@ IRect {
property var activated: toplevel?.activated || false
implicitWidth: activated ? rowLayout.implicitWidth + General.rectMargin * 4 : 0
- implicitHeight: rowLayout.implicitHeight + General.rectMargin * 2
+ implicitHeight: rowLayout.implicitHeight + General.rectMargin * 2 + Bar.topMargin * 2
anchors.centerIn: parent
color: Qt.rgba(Colors.background3.r, Colors.background3.g, Colors.background3.b, Bar.bgTransparency)
@@ -26,7 +26,8 @@ IRect {
// hypr toplevel.activated is always true and doesn't change either so..
opacity: activated ? 1 : 0
- radius: Style.rounding.smaller
+ bottomLeftRadius: Bar.moduleRadius
+ bottomRightRadius: Bar.moduleRadius
function strip(s) {
var out = s;