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 {
|
||||
id: bar
|
||||
|
||||
property int spacing: 6
|
||||
property int spacing: 8
|
||||
property int border: 2
|
||||
property int height: 50
|
||||
property int verticalMargins: 4
|
||||
|
|
@ -28,7 +28,6 @@ Singleton {
|
|||
id: clock
|
||||
|
||||
property int fontSize: 14
|
||||
property int width: 130
|
||||
property int height: 30
|
||||
property int horizontalPadding: 8
|
||||
property int verticalPadding: 6
|
||||
|
|
@ -38,6 +37,7 @@ Singleton {
|
|||
id: workspace
|
||||
|
||||
property int spacing: 5
|
||||
property int iconSize: 16
|
||||
property int width: 30
|
||||
property int height: 30
|
||||
property int verticalPadding: 6
|
||||
|
|
|
|||
|
|
@ -49,6 +49,11 @@ Scope {
|
|||
|
||||
spacing: Dimensions.bar.spacing
|
||||
|
||||
SystemLogo {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitSize: 22
|
||||
}
|
||||
|
||||
Workspaces {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,12 +7,11 @@ import "../../../config/"
|
|||
Item {
|
||||
id: root
|
||||
|
||||
implicitWidth: Dimensions.clock.width
|
||||
implicitWidth: childrenRect.width
|
||||
implicitHeight: Dimensions.clock.height
|
||||
|
||||
StyledLabel {
|
||||
anchors.fill: parent
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
|
||||
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
|
||||
ColorAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
duration: 200
|
||||
easing.type: Easing.InOutCubic
|
||||
}
|
||||
}
|
||||
|
|
@ -66,11 +66,11 @@ Item {
|
|||
reversible: true
|
||||
ParallelAnimation {
|
||||
RotationAnimation {
|
||||
duration: 300
|
||||
duration: 200
|
||||
easing.type: Easing.InOutCubic
|
||||
}
|
||||
ColorAnimation {
|
||||
duration: 300
|
||||
duration: 200
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue