configs are here
This commit is contained in:
67
quickshell_/Bar.qml
Normal file
67
quickshell_/Bar.qml
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user