forked from Shinonome/dots-hyprland
40 lines
855 B
QML
40 lines
855 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell
|
|
import qs.services
|
|
import qs.modules.common.widgets
|
|
|
|
Item {
|
|
id: root
|
|
|
|
Side {
|
|
id: leftSide
|
|
anchors.left: parent.left
|
|
width: (parent.width - centerSide.width) / 2
|
|
}
|
|
|
|
Side {
|
|
id: centerSide
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
FallbackLoader {
|
|
asynchronous: true
|
|
source: "/home/end/.config/quickshell/ii/modules/ii/bar/WrongModuleName"
|
|
fallbacks: ["/home/end/.config/quickshell/ii/modules/ii/bar/Workspaces.qml"]
|
|
}
|
|
}
|
|
|
|
Side {
|
|
id: rightSide
|
|
anchors.right: parent.right
|
|
width: (parent.width - centerSide.width) / 2
|
|
}
|
|
|
|
component Side: RowLayout {
|
|
anchors {
|
|
top: parent.top
|
|
bottom: parent.bottom
|
|
}
|
|
}
|
|
}
|