move qs config to work on mango and do general improvements

This commit is contained in:
lucy 2026-08-23 21:25:55 +02:00
commit 0f8929c55a
30 changed files with 994 additions and 0 deletions

48
modules/bar/Bar.qml Normal file
View file

@ -0,0 +1,48 @@
import Quickshell
import QtQuick
import QtQuick.Layouts
import qs.modules.wallpaper
import qs.settings
import qs.widgets
import qs
Variants {
model: Quickshell.screens
delegate: PanelWindow {
required property ShellScreen modelData
id: root
screen: modelData
anchors {
top: true
left: true
right: true
}
color: 'transparent'
implicitHeight: Config.barHeight
Rectangle {
anchors.fill: parent
color: Colors.barBg
RowLayout {
anchors.leftMargin: 10
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Ws { barScreen: root.modelData }
ActiveWindow {}
}
RowLayout {
anchors.centerIn: parent
Date {}
}
RowLayout {
anchors.rightMargin: 10
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Mpris {}
Bat {}
Pw {}
WallPicker {screenHeight: root.screen.height}
}
}
}
}