change battery icon
This commit is contained in:
parent
dbfedc2cb8
commit
95ac7e9c4f
@ -67,7 +67,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
if (frame1) {
|
if (frame1) {
|
||||||
lowBat.running = true;
|
lowBat.running = true;
|
||||||
return "battery_android_frame_1";
|
return "battery_android_alert";
|
||||||
}
|
}
|
||||||
if (frame2) {
|
if (frame2) {
|
||||||
return "battery_android_frame_2";
|
return "battery_android_frame_2";
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import qs.reusables
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: root
|
id: root
|
||||||
color: "transparent"
|
color: Colors.surfaceContainer
|
||||||
|
|
||||||
implicitWidth: workspaceRow.implicitWidth + 10
|
implicitWidth: workspaceRow.implicitWidth + 10
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
@ -38,9 +38,9 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
required property var modelData
|
required property var modelData
|
||||||
width: Settings.config.barHeight - 8
|
width: 20
|
||||||
height: Settings.config.barHeight - 10
|
height: Settings.config.barHeight - 10
|
||||||
color: modelData.focused ? Colors.primaryContainer : "transparent"
|
color: "transparent"
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
|
||||||
@ -54,6 +54,8 @@ Rectangle {
|
|||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: parent.modelData.id
|
text: parent.modelData.id
|
||||||
|
color: Colors.primary
|
||||||
|
opacity: workspaceNumber.modelData.focused ? 1 : 0.5
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import qs.settings
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: root
|
id: root
|
||||||
color: Colors.onSurfaceColor
|
color: Colors.primary
|
||||||
property real iconSize: 16
|
property real iconSize: 16
|
||||||
property real fill: 1
|
property real fill: 1
|
||||||
property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping
|
property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import qs
|
|||||||
import qs.settings
|
import qs.settings
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: Colors.onSurfaceColor
|
color: Colors.primary
|
||||||
font.family: Settings.config.font
|
font.family: Settings.config.font
|
||||||
font.pixelSize: Settings.config.fontSize
|
font.pixelSize: Settings.config.fontSize
|
||||||
font.weight: Settings.config.fontWeight
|
font.weight: Settings.config.fontWeight
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user