From b707a6ee3ebfb5b527af63f0eacfb63ec1a580cb Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 8 Jul 2025 18:25:20 +0800 Subject: init --- bar/Workspace.qml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 bar/Workspace.qml (limited to 'bar/Workspace.qml') 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 + } + } + } +} -- cgit v1.2.3