Compare commits
3 commits
9aa8084df9
...
b84b29ed7f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b84b29ed7f | ||
|
|
6653588589 | ||
|
|
4af55f8117 |
5 changed files with 17 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ Singleton {
|
||||||
component Bar: QtObject {
|
component Bar: QtObject {
|
||||||
id: bar
|
id: bar
|
||||||
|
|
||||||
property int spacing: 6
|
property int spacing: 8
|
||||||
property int border: 2
|
property int border: 2
|
||||||
property int height: 50
|
property int height: 50
|
||||||
property int verticalMargins: 4
|
property int verticalMargins: 4
|
||||||
|
|
@ -28,7 +28,6 @@ Singleton {
|
||||||
id: clock
|
id: clock
|
||||||
|
|
||||||
property int fontSize: 14
|
property int fontSize: 14
|
||||||
property int width: 130
|
|
||||||
property int height: 30
|
property int height: 30
|
||||||
property int horizontalPadding: 8
|
property int horizontalPadding: 8
|
||||||
property int verticalPadding: 6
|
property int verticalPadding: 6
|
||||||
|
|
@ -38,6 +37,7 @@ Singleton {
|
||||||
id: workspace
|
id: workspace
|
||||||
|
|
||||||
property int spacing: 5
|
property int spacing: 5
|
||||||
|
property int iconSize: 16
|
||||||
property int width: 30
|
property int width: 30
|
||||||
property int height: 30
|
property int height: 30
|
||||||
property int verticalPadding: 6
|
property int verticalPadding: 6
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,11 @@ Scope {
|
||||||
|
|
||||||
spacing: Dimensions.bar.spacing
|
spacing: Dimensions.bar.spacing
|
||||||
|
|
||||||
|
SystemLogo {
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
implicitSize: 22
|
||||||
|
}
|
||||||
|
|
||||||
Workspaces {
|
Workspaces {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,11 @@ import "../../../config/"
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
implicitWidth: Dimensions.clock.width
|
implicitWidth: childrenRect.width
|
||||||
implicitHeight: Dimensions.clock.height
|
implicitHeight: Dimensions.clock.height
|
||||||
|
|
||||||
StyledLabel {
|
StyledLabel {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.centerIn: parent
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
|
|
|
||||||
6
modules/bar/components/SystemLogo.qml
Normal file
6
modules/bar/components/SystemLogo.qml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import Quickshell
|
||||||
|
import Quickshell.Widgets
|
||||||
|
|
||||||
|
IconImage {
|
||||||
|
source: Quickshell.iconPath("archlinux-logo")
|
||||||
|
}
|
||||||
|
|
@ -35,7 +35,7 @@ Item {
|
||||||
reversible: true
|
reversible: true
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
properties: "color"
|
properties: "color"
|
||||||
duration: 300
|
duration: 200
|
||||||
easing.type: Easing.InOutCubic
|
easing.type: Easing.InOutCubic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -66,11 +66,11 @@ Item {
|
||||||
reversible: true
|
reversible: true
|
||||||
ParallelAnimation {
|
ParallelAnimation {
|
||||||
RotationAnimation {
|
RotationAnimation {
|
||||||
duration: 300
|
duration: 200
|
||||||
easing.type: Easing.InOutCubic
|
easing.type: Easing.InOutCubic
|
||||||
}
|
}
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
duration: 300
|
duration: 200
|
||||||
easing.type: Easing.OutCubic
|
easing.type: Easing.OutCubic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue