diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-08 18:25:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-08 18:25:20 +0800 |
| commit | b707a6ee3ebfb5b527af63f0eacfb63ec1a580cb (patch) | |
| tree | 47008e296e936b32287c5cf9ebe065a119f5b2aa /bar/Workspace.qml | |
init
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 + } + } + } +} |
