progress dump

This commit is contained in:
Bloxx12 2025-05-06 10:30:18 +02:00
commit cc71593a9b
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
7 changed files with 38 additions and 36 deletions

View file

@ -10,7 +10,7 @@ PanelWindow {
anchors { anchors {
top: true top: true
bottom: true bottom: true
right: true left: true
} }
width: 60 width: 60

View file

@ -4,11 +4,11 @@ import Quickshell
Rectangle { Rectangle {
width: parent.width width: parent.width
height: width * 1.5 height: text.height + 10
border.color: "black" border.color: "black"
border.width: 1 border.width: 2
radius: 5 radius: 5
// color: "green" color: "#30c0ffff"
Item { Item {
width: parent.width width: parent.width
@ -26,9 +26,9 @@ Rectangle {
anchors.centerIn: parent anchors.centerIn: parent
property var date: Date() 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.weight: Font.ExtraBold
font.pointSize: 18 font.pointSize: 18

View file

@ -48,10 +48,10 @@ Singleton {
} }
} }
width: 450 width: 450
color: "white" color: "#30c0afaf"
radius: 5 radius: 5
border.color: "black" border.color: "black"
border.width: 1 border.width: 2
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
@ -254,14 +254,14 @@ Singleton {
highlight: Rectangle { highlight: Rectangle {
radius: 5 radius: 5
color: "green" color: "#20e0ffff"
border.color: "#30ffffff" border.color: "#30ffffff"
border.width: 1 border.width: 1
} }
keyNavigationEnabled: true keyNavigationEnabled: true
keyNavigationWraps: true keyNavigationWraps: true
highlightMoveVelocity: -1 highlightMoveVelocity: -1
highlightMoveDuration: 100 highlightMoveDuration: 50
preferredHighlightBegin: list.topMargin preferredHighlightBegin: list.topMargin
preferredHighlightEnd: list.height - list.bottomMargin preferredHighlightEnd: list.height - list.bottomMargin
highlightRangeMode: ListView.ApplyRange highlightRangeMode: ListView.ApplyRange
@ -297,6 +297,7 @@ Singleton {
Text { Text {
text: modelData.name text: modelData.name
color: "black" color: "black"
font.family: "ComicShannsMono Nerd Font Mono"
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
} }
} }

View file

@ -79,7 +79,7 @@ Scope {
} }
Text { Text {
text: root.failed ? "Reload failed." : "Reloaded completed!" text: root.failed ? "Reloaing failed." : "Reloading completed!"
color: "white" color: "white"
} }

View file

@ -11,11 +11,18 @@ Rectangle {
id: root id: root
required property var bar 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 { ColumnLayout {
id: column id: column
spacing: 35 spacing: 10
anchors.centerIn: parent
Repeater { Repeater {
model: SystemTray.items model: SystemTray.items
@ -25,25 +32,21 @@ Rectangle {
required property SystemTrayItem modelData required property SystemTrayItem modelData
Item { height: 35
height: 30 width: 35
width: 30
anchors.horizontalCenter: parent.horizontalCenter
Image { Image {
source: item.modelData.icon source: item.modelData.icon
anchors.fill: parent
MouseArea {
anchors.fill: parent anchors.fill: parent
onClicked: function (mouse) {
MouseArea { if (mouse.button === Qt.LeftButton) {
anchors.fill: parent item.modelData.activate();
onClicked: function (mouse) { }
if (mouse.button === Qt.LeftButton) { if (mouse.button === Qt.RightButton) {
item.modelData.activate(); if (item.modelData.hasMenu) {}
}
if (mouse.button === Qt.RightButton) {
if (item.modelData.hasMenu) {
}
}
} }
} }
} }

View file

@ -3,7 +3,6 @@
// Please make sure to check out his setup. // Please make sure to check out his setup.
pragma ComponentBehavior: Bound pragma ComponentBehavior: Bound
import QtQuick import QtQuick
import QtQuick.Layouts
import Quickshell.Hyprland import Quickshell.Hyprland
Rectangle { Rectangle {
@ -27,8 +26,8 @@ Rectangle {
width: parent.width width: parent.width
height: width height: width
border.color: "black" border.color: "black"
// color: "blue" color: "#30c0ffff"
border.width: 1 border.width: 2
radius: 5 radius: 5
// destructor takes care of nulling // destructor takes care of nulling
@ -90,8 +89,7 @@ Rectangle {
Rectangle { Rectangle {
anchors.centerIn: parent anchors.centerIn: parent
height: 10 height: wsItem.height - 5
// width: (wsItem.active ? parent.width : parent.width - 20)
width: parent.width * wsItem.animActive width: parent.width * wsItem.animActive
radius: height / 2 radius: height / 2
border.color: "black" border.color: "black"

View file

@ -6,7 +6,7 @@ import QtQuick
ShellRoot { ShellRoot {
id: shellroot id: shellroot
Component.onCompleted: [Launcher.init(), AudioPopup.init()] Component.onCompleted: [Launcher.init()]
ReloadPopup {} ReloadPopup {}