From 06d6d3a9cac15668ab8ddc901f26f1b4a13bc26b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 20 Sep 2025 13:05:23 +0200 Subject: [PATCH] bar: adjust xkb layout indicator font size --- .config/quickshell/ii/modules/bar/BarContent.qml | 2 +- .../quickshell/ii/modules/verticalBar/VerticalBarContent.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/ii/modules/bar/BarContent.qml b/.config/quickshell/ii/modules/bar/BarContent.qml index b17fda1e9..d8c4318d1 100644 --- a/.config/quickshell/ii/modules/bar/BarContent.qml +++ b/.config/quickshell/ii/modules/bar/BarContent.qml @@ -300,7 +300,7 @@ Item { // Bar content region anchors.centerIn: parent horizontalAlignment: Text.AlignHCenter text: HyprlandXkb.currentLayoutCode.split(":").join("\n") - font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smaller : Appearance.font.pixelSize.small + font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smallie : Appearance.font.pixelSize.small color: rightSidebarButton.colText animateChange: true } diff --git a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml index 5b4053e64..2c37f89f4 100644 --- a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml +++ b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml @@ -281,7 +281,7 @@ Item { // Bar content region anchors.centerIn: parent horizontalAlignment: Text.AlignHCenter text: HyprlandXkb.currentLayoutCode.split(":").join("\n") - font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smaller : Appearance.font.pixelSize.small + font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smallie : Appearance.font.pixelSize.small color: rightSidebarButton.colText animateChange: true }