feat: initial commit

This commit is contained in:
johannes committed 2026-07-26 11:45:34 +02:00
commit a83e1a806e
454 files changed
+52429

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
import qs.Theme
import qs.Widgets
PanelWindow {
id: panel
anchors.top: true
anchors.left: true
anchors.right: true
implicitHeight: Theme.barHeight + Theme.barMargin * 2
exclusionMode: ExclusionMode.Normal
exclusiveZone: implicitHeight
color: "transparent"
RowLayout {
anchors.fill: parent
anchors.leftMargin: Theme.barMargin
anchors.rightMargin: Theme.barMargin
anchors.topMargin: Theme.barMargin
anchors.bottomMargin: Theme.barMargin
spacing: Theme.spacing
BarPill {
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
HyprlandWorkspaceWidget {}
NiriWorkspaceWidget {}
NetTrafficWidget {}
}
Item { Layout.fillWidth: true }
BarPill {
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Clock { panelWindow: panel }
}
Item { Layout.fillWidth: true }
BarPill {
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
StorageWidget {}
MemoryWidget {}
CpuWidget {}
TemperatureWidget {}
AudioWidget {}
TrayWidget { panelWindow: panel }
}
}
}
+27
View File
@@ -0,0 +1,27 @@
import QtQuick
import QtQuick.Layouts
import qs.Theme
Item {
id: root
default property alias content: sectionContent.data
property real pillRadius: Theme.sectionRadius
property real pillPadding: Theme.sectionPadding
implicitWidth: sectionContent.implicitWidth + pillPadding * 2
implicitHeight: Theme.barHeight - 2
Rectangle {
anchors.fill: parent
radius: pillRadius
color: Theme.base
opacity: 0.6
}
RowLayout {
id: sectionContent
anchors.centerIn: parent
spacing: Theme.widgetSpacing
height: parent.height - 2
}
}
+7
View File
@@ -0,0 +1,7 @@
import QtQuick
import QtQuick.Layouts
RowLayout {
spacing: 6
Layout.fillHeight: true
}
+4
View File
@@ -0,0 +1,4 @@
module Bar
Bar 1.0 Bar.qml
BarSection 1.0 BarSection.qml
BarPill 1.0 BarPill.qml