This repository has been archived on 2026-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dotfiles/config/quickshell/Bar/Bar.qml
T
2026-07-26 11:45:12 +02:00

52 lines
1.3 KiB
QML

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 }
}
}
}