diff --git a/Bar.qml b/Bar.qml index fee6f9f..0837f5a 100644 --- a/Bar.qml +++ b/Bar.qml @@ -10,7 +10,7 @@ PanelWindow { anchors { top: true bottom: true - right: true + left: true } width: 60 diff --git a/ClockWidget.qml b/ClockWidget.qml index 4b75dd2..2e58c2e 100644 --- a/ClockWidget.qml +++ b/ClockWidget.qml @@ -4,11 +4,11 @@ import Quickshell Rectangle { width: parent.width - height: width * 1.5 + height: text.height + 10 border.color: "black" - border.width: 1 + border.width: 2 radius: 5 - // color: "green" + color: "#30c0ffff" Item { width: parent.width @@ -26,9 +26,9 @@ Rectangle { anchors.centerIn: parent property var date: Date() - text: Qt.formatDateTime(clock.date, "hh\nmm\nss") + text: Qt.formatDateTime(clock.date, "hh\nmm") - font.family: "Iosevka NF" + font.family: "ComicShannsMono Nerd Font Mono" font.weight: Font.ExtraBold font.pointSize: 18 diff --git a/Launcher.qml b/Launcher.qml index 23522bd..30dacdb 100644 --- a/Launcher.qml +++ b/Launcher.qml @@ -48,10 +48,10 @@ Singleton { } } width: 450 - color: "white" + color: "#30c0afaf" radius: 5 border.color: "black" - border.width: 1 + border.width: 2 ColumnLayout { anchors.fill: parent @@ -254,14 +254,14 @@ Singleton { highlight: Rectangle { radius: 5 - color: "green" + color: "#20e0ffff" border.color: "#30ffffff" border.width: 1 } keyNavigationEnabled: true keyNavigationWraps: true highlightMoveVelocity: -1 - highlightMoveDuration: 100 + highlightMoveDuration: 50 preferredHighlightBegin: list.topMargin preferredHighlightEnd: list.height - list.bottomMargin highlightRangeMode: ListView.ApplyRange @@ -297,6 +297,7 @@ Singleton { Text { text: modelData.name color: "black" + font.family: "ComicShannsMono Nerd Font Mono" Layout.alignment: Qt.AlignVCenter } } diff --git a/ReloadPopup.qml b/ReloadPopup.qml index 6f2d834..9c6e2fc 100644 --- a/ReloadPopup.qml +++ b/ReloadPopup.qml @@ -79,7 +79,7 @@ Scope { } Text { - text: root.failed ? "Reload failed." : "Reloaded completed!" + text: root.failed ? "Reloaing failed." : "Reloading completed!" color: "white" } diff --git a/SysTray.qml b/SysTray.qml index cadc4ee..3fe54c5 100644 --- a/SysTray.qml +++ b/SysTray.qml @@ -11,11 +11,18 @@ Rectangle { id: root required property var bar - anchors.horizontalCenter: parent.horizontalCenter + width: parent.width + height: column.height + 10 + color: "#30c0ffff" + radius: 5 + border.color: "black" + border.width: 2 ColumnLayout { id: column - spacing: 35 + spacing: 10 + + anchors.centerIn: parent Repeater { model: SystemTray.items @@ -25,25 +32,21 @@ Rectangle { required property SystemTrayItem modelData - Item { - height: 30 - width: 30 - anchors.horizontalCenter: parent.horizontalCenter + height: 35 + width: 35 - Image { - source: item.modelData.icon + Image { + source: item.modelData.icon + anchors.fill: parent + + MouseArea { anchors.fill: parent - - MouseArea { - anchors.fill: parent - onClicked: function (mouse) { - if (mouse.button === Qt.LeftButton) { - item.modelData.activate(); - } - if (mouse.button === Qt.RightButton) { - if (item.modelData.hasMenu) { - } - } + onClicked: function (mouse) { + if (mouse.button === Qt.LeftButton) { + item.modelData.activate(); + } + if (mouse.button === Qt.RightButton) { + if (item.modelData.hasMenu) {} } } } diff --git a/WorkspaceWidget.qml b/WorkspaceWidget.qml index 171113c..e2ceecf 100644 --- a/WorkspaceWidget.qml +++ b/WorkspaceWidget.qml @@ -3,7 +3,6 @@ // Please make sure to check out his setup. pragma ComponentBehavior: Bound import QtQuick -import QtQuick.Layouts import Quickshell.Hyprland Rectangle { @@ -27,8 +26,8 @@ Rectangle { width: parent.width height: width border.color: "black" - // color: "blue" - border.width: 1 + color: "#30c0ffff" + border.width: 2 radius: 5 // destructor takes care of nulling @@ -90,8 +89,7 @@ Rectangle { Rectangle { anchors.centerIn: parent - height: 10 - // width: (wsItem.active ? parent.width : parent.width - 20) + height: wsItem.height - 5 width: parent.width * wsItem.animActive radius: height / 2 border.color: "black" diff --git a/shell.qml b/shell.qml index e94cae1..4f7231f 100644 --- a/shell.qml +++ b/shell.qml @@ -6,7 +6,7 @@ import QtQuick ShellRoot { id: shellroot - Component.onCompleted: [Launcher.init(), AudioPopup.init()] + Component.onCompleted: [Launcher.init()] ReloadPopup {}