fixes waybar, adds quickshell

This commit is contained in:
2026-05-04 15:32:47 +02:00
parent 5e55b51220
commit bd17b76c30
34 changed files with 995 additions and 1217 deletions
+60
View File
@@ -0,0 +1,60 @@
// Bar.qml - top panel
// Neighbouring types (Pill, ClockWidget, Theme, etc.) are auto-imported by QuickShell.
import Quickshell
import Quickshell.Wayland
import QtQuick
import QtQuick.Layouts
import "./modules"
PanelWindow {
id: root
WlrLayershell.namespace: "quickshell-bar"
WlrLayershell.layer: WlrLayer.Top
WlrLayershell.keyboardFocus: WlrKeyboardFocus.None
anchors {
top: true
left: true
right: true
}
margins {
left: 2
right: 2
bottom: 1
top: 3
}
implicitHeight: Theme.barHeight
exclusiveZone: Theme.barHeight
color: "transparent"
RowLayout {
anchors.fill: parent
anchors.leftMargin: 4
anchors.rightMargin: 4
spacing: Theme.spacing
// ─── LEFT ──────────────────────────────────────────
ClockWidget {}
WeatherWidget {}
SysTrayWidget {}
WorkspacesWidget { screen: root.screen }
MediaWidget {}
WindowTitleWidget { screen: root.screen }
Item { Layout.fillWidth: true }
// ─── RIGHT ─────────────────────────────────────────
CavaWidget {}
AudioWidget {}
MemoryWidget {}
CpuWidget {}
TemperatureWidget {}
BatteryWidget {}
BluetoothWidget {}
PowerProfilesWidget {}
PowerMenuWidget {}
}
}