commit
57fb71f574
16 changed files with 91 additions and 21 deletions
|
|
@ -159,6 +159,7 @@ Scope {
|
|||
offsetX: -39
|
||||
offsetY: 0
|
||||
anchors.top: parent.top
|
||||
visible: Settings.settings.showCorners
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -185,6 +186,7 @@ Scope {
|
|||
offsetX: 39
|
||||
offsetY: 0
|
||||
anchors.top: parent.top
|
||||
visible: Settings.settings.showCorners
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -210,6 +212,7 @@ Scope {
|
|||
offsetX: -39
|
||||
offsetY: 0
|
||||
anchors.top: parent.top
|
||||
visible: Settings.settings.showCorners
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -235,6 +238,7 @@ Scope {
|
|||
offsetX: 39
|
||||
offsetY: 0
|
||||
anchors.top: parent.top
|
||||
visible: Settings.settings.showCorners
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,6 @@ PanelWindow {
|
|||
text: ToplevelManager?.activeToplevel?.title && ToplevelManager?.activeToplevel?.title.length > 60 ? ToplevelManager?.activeToplevel?.title.substring(0, 60) + "..." : ToplevelManager?.activeToplevel?.title || ""
|
||||
font.pixelSize: 12
|
||||
color: Theme.textSecondary
|
||||
elide: Text.ElideRight
|
||||
anchors.left: icon.right
|
||||
anchors.leftMargin: Settings.settings.showActiveWindowIcon ? 4 : 6
|
||||
anchors.right: parent.right
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Item {
|
|||
|
||||
width: pill.width
|
||||
height: pill.height
|
||||
visible: brightness >= 0
|
||||
|
||||
Process {
|
||||
id: getBrightnessProcess
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ PopupWindow {
|
|||
Rectangle {
|
||||
id: bg
|
||||
anchors.fill: parent
|
||||
color: Theme.backgroundElevated || "#222"
|
||||
border.color: Theme.border || "#444"
|
||||
color: Theme.surfaceVariant || "#222"
|
||||
border.color: Theme.outline || "#444"
|
||||
border.width: 1
|
||||
radius: 12
|
||||
z: 0
|
||||
|
|
@ -84,7 +84,7 @@ PopupWindow {
|
|||
anchors.centerIn: parent
|
||||
width: parent.width - 20
|
||||
height: 1
|
||||
color: Qt.darker(Theme.backgroundElevated || "#222", 1.4)
|
||||
color: Qt.darker(Theme.surfaceVariant || "#222", 1.4)
|
||||
visible: modelData?.isSeparator ?? false
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -168,11 +168,16 @@ Item {
|
|||
color: {
|
||||
if (model.isFocused)
|
||||
return Theme.accentPrimary;
|
||||
if (model.isActive)
|
||||
return Theme.accentPrimary.lighter(130);
|
||||
if (model.isUrgent)
|
||||
return Theme.error;
|
||||
return Qt.lighter(Theme.surfaceVariant, 1.6);
|
||||
if (model.isActive)
|
||||
return Theme.accentSecondary;
|
||||
if (model.isOccupied)
|
||||
return Theme.accentSecondary;
|
||||
if (model.isUrgent)
|
||||
return Theme.error;
|
||||
|
||||
return Theme.surfaceVariant.lighter(1.5);
|
||||
}
|
||||
scale: model.isFocused ? 1.0 : 0.9
|
||||
z: 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue