feat: init quickshell

This commit is contained in:
2025-07-13 22:10:17 +08:00
parent a63be876f7
commit 237a62ea8a
103 changed files with 14997 additions and 498 deletions

View File

@@ -0,0 +1,35 @@
import QtQuick
import QtQuick.Effects
import "root:/Data" as Data
import "root:/Widgets/System" as System
import "root:/Widgets/Calendar" as Calendar
// Vertical sidebar layout
Rectangle {
id: bar
// Clean bar background
color: Data.ThemeManager.bgColor
// Workspace indicator at top
System.NiriWorkspaces {
id: workspaceIndicator
anchors {
top: parent.top
horizontalCenter: parent.horizontalCenter
horizontalCenterOffset: Data.Settings.borderWidth / 2
topMargin: 20
}
}
// Clock at bottom
Calendar.Clock {
id: clockWidget
anchors {
bottom: parent.bottom
horizontalCenter: parent.horizontalCenter
horizontalCenterOffset: Data.Settings.borderWidth / 2
bottomMargin: 20
}
}
}