mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: battery, refactor
This commit is contained in:
parent
9ae22c832f
commit
1ba98534eb
15 changed files with 122 additions and 6 deletions
|
|
@ -1,11 +1,14 @@
|
|||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
import "root:/DataSources"
|
||||
import "root:/Components"
|
||||
import "root:/Components/NotificationSystem"
|
||||
import "root:/Components/WorkspaceControl"
|
||||
import "root:/Components/SystemTray"
|
||||
import "root:/Components/NotificationArea"
|
||||
|
||||
Scope {
|
||||
id: root
|
||||
|
|
@ -34,7 +37,13 @@ Scope {
|
|||
|
||||
Rectangle {
|
||||
id: bar
|
||||
anchors.fill: parent
|
||||
anchors {
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
bottom: parent.bottom
|
||||
}
|
||||
|
||||
MarginWrapperManager { margin: 10 }
|
||||
radius: 10
|
||||
color: Stylix.base00
|
||||
|
||||
|
|
@ -54,11 +63,22 @@ Scope {
|
|||
}
|
||||
FocusedWindow {}
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
anchors.centerIn: parent
|
||||
spacing: 20
|
||||
}
|
||||
Rectangle {
|
||||
MarginWrapperManager { margin: 10 }
|
||||
id: bar3
|
||||
radius: 10
|
||||
color: Stylix.base00
|
||||
anchors {
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
anchors {
|
||||
|
|
@ -71,6 +91,7 @@ Scope {
|
|||
|
||||
spacing: 15
|
||||
|
||||
Battery {}
|
||||
SystemTrayWrapper {}
|
||||
Clock {}
|
||||
NotificationDisplay {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue