progress dump
This commit is contained in:
parent
b750421f65
commit
cc71593a9b
7 changed files with 38 additions and 36 deletions
2
Bar.qml
2
Bar.qml
|
@ -10,7 +10,7 @@ PanelWindow {
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
bottom: true
|
bottom: true
|
||||||
right: true
|
left: true
|
||||||
}
|
}
|
||||||
width: 60
|
width: 60
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
21
SysTray.qml
21
SysTray.qml
|
@ -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,10 +32,8 @@ 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
|
||||||
|
@ -41,9 +46,7 @@ Rectangle {
|
||||||
item.modelData.activate();
|
item.modelData.activate();
|
||||||
}
|
}
|
||||||
if (mouse.button === Qt.RightButton) {
|
if (mouse.button === Qt.RightButton) {
|
||||||
if (item.modelData.hasMenu) {
|
if (item.modelData.hasMenu) {}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -6,7 +6,7 @@ import QtQuick
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
id: shellroot
|
id: shellroot
|
||||||
|
|
||||||
Component.onCompleted: [Launcher.init(), AudioPopup.init()]
|
Component.onCompleted: [Launcher.init()]
|
||||||
|
|
||||||
ReloadPopup {}
|
ReloadPopup {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue