This commit is contained in:
2025-07-23 19:17:11 +01:00
parent df2a697a9b
commit e48474bd6a
21 changed files with 0 additions and 0 deletions

67
quickshell/Bar.qml Normal file
View File

@@ -0,0 +1,67 @@
import Quickshell
import Quickshell.Io
import QtQuick
import QtQuick.Layouts
import Quickshell.Widgets
PanelWindow {
property var modelData
screen: modelData.values[0];
color: '#20ffffff'
anchors {
top: true
left: true
right: true
}
implicitHeight: 30
RowLayout {
anchors {
fill: parent
leftMargin: 10
rightMargin: 10
}
RowLayout { // Left
Layout.alignment: Qt.AlignLeft
}
RowLayout { // Center
// TODO: add icons of the active window per workspace in the workspace tab
anchors.centerIn: parent
Workspaces {}
}
RowLayout { // Right
Layout.alignment: Qt.AlignRight
VerticalSeprator {}
Loader {
sourceComponent: Audio {}
}
RowLayout {
id: aaaaa
// If player disapear the seprator disapears with it
visible: Player.activePlayer.isPlaying()
VerticalSeprator {}
PlayerText {
}
}
VerticalSeprator {}
WrapperItem {
Text { // Date & Time
text: Time.time
color: '#FFFFFF'
font.pointSize: 10.75
}
}
// VerticalSeprator {}
}
}
Rectangle {
anchors {
bottom: parent.bottom
left: parent.left
right: parent.right
}
height: 2
color: "#8d8d8d"
}
}