reorg bar
This commit is contained in:
parent
8130cb1bdd
commit
96d8ab6534
6 changed files with 89 additions and 82 deletions
12
components/StyledLayoutSeparator.qml
Normal file
12
components/StyledLayoutSeparator.qml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
import qs.config
|
||||||
|
import QtQuick
|
||||||
|
import QtQuick.Layouts
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
color: Styling.theme.basecontent
|
||||||
|
opacity: 0.33
|
||||||
|
Layout.fillHeight: true
|
||||||
|
Layout.margins: 2
|
||||||
|
implicitWidth: 0.5
|
||||||
|
radius: 9999
|
||||||
|
}
|
||||||
|
|
@ -28,7 +28,7 @@ StyledWrapperRectangle {
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: leftbar
|
id: leftbar
|
||||||
|
|
||||||
spacing: Styling.layout.spacing.base
|
spacing: Styling.layout.spacing.lg
|
||||||
|
|
||||||
SystemLogo {
|
SystemLogo {
|
||||||
implicitSize: 22
|
implicitSize: 22
|
||||||
|
|
@ -44,7 +44,7 @@ StyledWrapperRectangle {
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
spacing: Styling.layout.spacing.base
|
spacing: Styling.layout.spacing.lg
|
||||||
|
|
||||||
Mpris {}
|
Mpris {}
|
||||||
}
|
}
|
||||||
|
|
@ -54,18 +54,14 @@ StyledWrapperRectangle {
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
|
|
||||||
spacing: Styling.layout.spacing.base
|
spacing: Styling.layout.spacing.lg
|
||||||
|
|
||||||
Pywal {}
|
|
||||||
|
|
||||||
Pipewire {}
|
Pipewire {}
|
||||||
|
|
||||||
Caffeine {}
|
StyledLayoutSeparator {}
|
||||||
|
|
||||||
Network {}
|
Network {}
|
||||||
|
|
||||||
Bluetooth {}
|
|
||||||
|
|
||||||
Storage {}
|
Storage {}
|
||||||
|
|
||||||
Memory {}
|
Memory {}
|
||||||
|
|
@ -74,10 +70,20 @@ StyledWrapperRectangle {
|
||||||
|
|
||||||
Gpu {}
|
Gpu {}
|
||||||
|
|
||||||
Power {}
|
StyledLayoutSeparator {}
|
||||||
|
|
||||||
|
Pywal {}
|
||||||
|
|
||||||
|
Caffeine {}
|
||||||
|
|
||||||
|
Bluetooth {}
|
||||||
|
|
||||||
|
StyledLayoutSeparator {}
|
||||||
|
|
||||||
Clock {}
|
Clock {}
|
||||||
|
|
||||||
|
Power {}
|
||||||
|
|
||||||
Notifications {}
|
Notifications {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
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 {
|
||||||
|
|
@ -9,4 +8,3 @@ StyledRectangle {
|
||||||
precision: SystemClock.Seconds
|
precision: SystemClock.Seconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
|
|
@ -21,4 +19,3 @@ StyledRectangle {
|
||||||
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
|
text: ` ${(SystemInfo.memPerc * 100).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
|
|
@ -52,4 +50,3 @@ StyledRectangle {
|
||||||
text: ` ${(NetworkService.active?.strength ?? 0).toFixed()}%`
|
text: ` ${(NetworkService.active?.strength ?? 0).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@ import qs.utils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
|
||||||
StyledRectangle {
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
Ref {
|
Ref {
|
||||||
|
|
@ -23,4 +21,3 @@ StyledRectangle {
|
||||||
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
|
text: ` ${(SystemInfo.storagePerc * 100).toFixed()}%`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue