Compare commits

...

2 commits

Author SHA1 Message Date
Benjamin Palko
9aa8084df9 clock size relative to text 2025-07-19 23:30:36 -04:00
Benjamin Palko
a5b62b4af8 add system logo 2025-07-19 23:30:12 -04:00
4 changed files with 15 additions and 3 deletions

View file

@ -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: 18
property int width: 30
property int height: 30
property int verticalPadding: 6

View file

@ -49,6 +49,10 @@ Scope {
spacing: Dimensions.bar.spacing
SystemLogo {
anchors.verticalCenter: parent.verticalCenter
}
Workspaces {
anchors.verticalCenter: parent.verticalCenter
}

View file

@ -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 {

View file

@ -0,0 +1,9 @@
import QtQuick
import QtQuick.Controls
Button {
icon.name: "archlinux-logo"
icon.height: 18
icon.width: 18
background: undefined
}