From 33f419c6585bfb3ce9be144321c988245bfca3c2 Mon Sep 17 00:00:00 2001 From: rope Date: Sun, 30 Aug 2026 15:03:26 +0100 Subject: [PATCH] quickshell: frame border is base04, matching hyprland's active border The shell outline was base03, hyprland's col.inactive_border, so it sat a visible shade off the focused window's base04 border it runs beside. --- settings/quickshell.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 5a3fb5a..70add44 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -632,7 +632,8 @@ in readonly property string fontFamily: "${sansFont}" // Ligature-based icon font: text "wifi-high" renders the icon readonly property string iconFont: "lucide" - // Matches hyprland general.border_size (col.inactive_border = base03) + // Matches hyprland general.border_size; the colour is base04, + // its col.active_border (see chromeSdf.borderColor) readonly property int borderWidth: 2 // Screen frame band; sits inside hyprland's gaps_out (12) readonly property int frameWidth: 6 @@ -2339,7 +2340,12 @@ in launcherPanel.width / 2, (launchBot - launcherPanel.y) / 2) : Qt.vector4d(0, 0, 0, 0) property vector4d fillColor: Qt.vector4d(Theme.barBg.r, Theme.barBg.g, Theme.barBg.b, Theme.barBg.a) - property vector4d borderColor: Qt.vector4d(Theme.base03.r, Theme.base03.g, Theme.base03.b, 1) + // base04, hyprland's col.active_border — NOT base03, its + // col.inactive_border. The shell frame runs alongside + // whatever window has focus, so that is the border it is + // read against; matching the inactive one left the two + // outlines a visible shade apart all the time. + property vector4d borderColor: Qt.vector4d(Theme.base04.r, Theme.base04.g, Theme.base04.b, 1) property vector2d res: Qt.vector2d(width, height) property real cutoutR: Theme.radius property real panelR: Theme.radius