Compare commits
2 commits
112ed0d6de
...
4bda51f02c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bda51f02c | ||
|
|
351fb82ac7 |
17 changed files with 79 additions and 95 deletions
|
|
@ -1,12 +1,9 @@
|
||||||
import qs.config
|
import qs.config
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell.Widgets
|
|
||||||
|
|
||||||
WrapperRectangle {
|
Rectangle {
|
||||||
id: root
|
|
||||||
margin: 8
|
|
||||||
radius: Styling.theme.radiusBox
|
radius: Styling.theme.radiusBox
|
||||||
color: Styling.theme.base200
|
color: Styling.theme.base100
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
duration: Styling.animations.speed.normal
|
duration: Styling.animations.speed.normal
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ import QtQuick
|
||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
|
|
||||||
WrapperRectangle {
|
WrapperRectangle {
|
||||||
|
margin: 8
|
||||||
radius: Styling.theme.radiusBox
|
radius: Styling.theme.radiusBox
|
||||||
color: Styling.theme.base100
|
color: Styling.theme.base100
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ StyledWrapperRectangle {
|
||||||
border.color: Styling.theme.base200
|
border.color: Styling.theme.base200
|
||||||
|
|
||||||
margin: 4
|
margin: 4
|
||||||
|
color: Styling.theme.base100
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
import qs.components
|
import qs.components
|
||||||
import Quickshell
|
import Quickshell
|
||||||
|
|
||||||
StyledRectangle {
|
StyledText {
|
||||||
StyledText {
|
|
||||||
text: ` ${Qt.formatDateTime(clock.date, "hh:mm:ss AP")}`
|
text: ` ${Qt.formatDateTime(clock.date, "hh:mm:ss AP")}`
|
||||||
SystemClock {
|
SystemClock {
|
||||||
id: clock
|
id: clock
|
||||||
precision: SystemClock.Seconds
|
precision: SystemClock.Seconds
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,7 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
RowLayout {
|
||||||
|
|
||||||
RowLayout {
|
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
service: SystemInfo
|
service: SystemInfo
|
||||||
|
|
@ -20,5 +18,4 @@ StyledRectangle {
|
||||||
StyledText {
|
StyledText {
|
||||||
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
|
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,7 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
RowLayout {
|
||||||
|
|
||||||
RowLayout {
|
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
service: NetworkService
|
service: NetworkService
|
||||||
|
|
@ -51,5 +49,4 @@ StyledRectangle {
|
||||||
id: text
|
id: text
|
||||||
text: ` ${(NetworkService.active?.strength ?? 0).toFixed()}%`
|
text: ` ${(NetworkService.active?.strength ?? 0).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,7 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
RowLayout {
|
||||||
|
|
||||||
RowLayout {
|
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
service: SystemInfo
|
service: SystemInfo
|
||||||
|
|
@ -22,5 +20,4 @@ StyledRectangle {
|
||||||
|
|
||||||
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
|
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,21 @@
|
||||||
pragma ComponentBehavior: Bound
|
pragma ComponentBehavior: Bound
|
||||||
|
|
||||||
import qs.components
|
import qs.components
|
||||||
|
import qs.config
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Bluetooth
|
import Quickshell.Bluetooth
|
||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
|
|
||||||
StyledRectangle {
|
StyledWrapperRectangle {
|
||||||
id: root
|
id: root
|
||||||
required property BluetoothDevice modelData
|
required property BluetoothDevice modelData
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: row
|
id: row
|
||||||
|
|
||||||
spacing: 8
|
spacing: Styling.layout.spacing.base
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: root.modelData?.icon != undefined
|
active: root.modelData?.icon != undefined
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@ import Quickshell
|
||||||
import Quickshell.Bluetooth
|
import Quickshell.Bluetooth
|
||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
|
|
||||||
StyledRectangle {
|
StyledWrapperRectangle {
|
||||||
id: root
|
id: root
|
||||||
required property BluetoothDevice modelData
|
required property BluetoothDevice modelData
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: row
|
id: row
|
||||||
|
|
||||||
spacing: 8
|
spacing: Styling.layout.spacing.base
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: root.modelData?.icon != undefined
|
active: root.modelData?.icon != undefined
|
||||||
|
|
|
||||||
|
|
@ -2,21 +2,20 @@ pragma ComponentBehavior: Bound
|
||||||
|
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.config
|
import qs.config
|
||||||
import qs.widgets
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Bluetooth
|
import Quickshell.Bluetooth
|
||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
|
|
||||||
StyledRectangle {
|
StyledWrapperRectangle {
|
||||||
id: root
|
id: root
|
||||||
required property BluetoothDevice modelData
|
required property BluetoothDevice modelData
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: row
|
id: row
|
||||||
|
|
||||||
spacing: 8
|
spacing: Styling.layout.spacing.base
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
active: root.modelData?.icon != undefined
|
active: root.modelData?.icon != undefined
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,16 @@
|
||||||
pragma ComponentBehavior: Bound
|
pragma ComponentBehavior: Bound
|
||||||
|
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.widgets
|
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Widgets
|
import Quickshell.Widgets
|
||||||
|
|
||||||
StyledRectangle {
|
StyledWrapperRectangle {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
required property var modelData
|
required property var modelData
|
||||||
|
|
||||||
margin: 16
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
pragma ComponentBehavior: Bound
|
pragma ComponentBehavior: Bound
|
||||||
|
|
||||||
import qs.components
|
import qs.components
|
||||||
import qs.config
|
|
||||||
import qs.services
|
import qs.services
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
@ -25,9 +24,8 @@ StyledPopupWindow {
|
||||||
onClicked: Notifications.clear()
|
onClicked: Notifications.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledRectangle {
|
StyledWrapperRectangle {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
color: Styling.theme.base200
|
|
||||||
StyledListView {
|
StyledListView {
|
||||||
id: notifications
|
id: notifications
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import Quickshell.Wayland
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledWindow {
|
StyledPanelWindow {
|
||||||
id: root
|
id: root
|
||||||
name: "launcher"
|
name: "launcher"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import Quickshell.Wayland
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledWindow {
|
StyledPanelWindow {
|
||||||
id: root
|
id: root
|
||||||
name: "pomodoro"
|
name: "pomodoro"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import Quickshell.Wayland
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledWindow {
|
StyledPanelWindow {
|
||||||
id: root
|
id: root
|
||||||
name: "powermenu"
|
name: "powermenu"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import QtQuick
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledWindow {
|
StyledPanelWindow {
|
||||||
id: root
|
id: root
|
||||||
name: "storybook"
|
name: "storybook"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue