diff options
Diffstat (limited to 'bar/Workspace.qml')
| -rw-r--r-- | bar/Workspace.qml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml new file mode 100644 index 0000000..2f8d1ea --- /dev/null +++ b/bar/Workspace.qml @@ -0,0 +1,21 @@ +import "../services" +import QtQuick.Layouts +import QtQuick +import Quickshell + +Item { + Layout.preferredHeight: 50 + Layout.preferredWidth: parent.width / 3 + + RowLayout { + anchors.fill: parent + spacing: 0 + Repeater { + model: Hyprland.workspaces + + Text { + text: modelData.active ? modelData.name + " (Active)" : modelData.name + } + } + } +} |
