diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 095be8c..40c70f7 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -7,9 +7,11 @@ Scope { PanelWindow { id: root - anchors.top: true - anchors.left: true - anchors.right: true + anchors { + top: true + left: true + right: true + } implicitHeight: Dimensions.bar.height color: 'transparent' diff --git a/modules/bar/components/Clock.qml b/modules/bar/components/Clock.qml index 6e8bd8c..0912d84 100644 --- a/modules/bar/components/Clock.qml +++ b/modules/bar/components/Clock.qml @@ -16,7 +16,7 @@ Item { StyledText { id: text - anchors.verticalCenter: parent.verticalCenter + anchors.centerIn: parent topPadding: Dimensions.clock.verticalPadding bottomPadding: Dimensions.clock.verticalPadding leftPadding: Dimensions.clock.horizontalPadding diff --git a/modules/bar/components/SystemLogo.qml b/modules/bar/components/SystemLogo.qml index 2395cd8..c7bb910 100644 --- a/modules/bar/components/SystemLogo.qml +++ b/modules/bar/components/SystemLogo.qml @@ -1,17 +1,6 @@ import Quickshell -import Quickshell.Io import Quickshell.Widgets IconImage { - id: root - - Process { - running: true - command: ["sh", "-c", ". /etc/os-release && echo $LOGO"] - stdout: StdioCollector { - onStreamFinished: () => { - root.source = Quickshell.iconPath(this.text.trim()); - } - } - } + source: Quickshell.iconPath("archlinux-logo") }