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.
This commit is contained in:
parent
27414dafbc
commit
33f419c658
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue