From af844bbc44741a971614175248cc29505d1acbd1 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Mon, 8 Dec 2025 16:58:52 +0530 Subject: replaced wofi with custom app menu + right side apps bar + organization of qml files --- quickshell/items/Workspace.qml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 quickshell/items/Workspace.qml (limited to 'quickshell/items/Workspace.qml') diff --git a/quickshell/items/Workspace.qml b/quickshell/items/Workspace.qml new file mode 100644 index 0000000..f793850 --- /dev/null +++ b/quickshell/items/Workspace.qml @@ -0,0 +1,22 @@ +import QtQuick +import Quickshell.Hyprland + +Repeater { + model: 5 + + Text { + property bool isActive: Hyprland.focusedWorkspace?.id === (index + 1) + + text: index + 1 + color: isActive ? shellRoot.green : shellRoot.white + font { + pixelSize: shellRoot.fontSize; + bold: true; + } + + MouseArea { + anchors.fill: parent + onClicked: Hyprland.dispatch("workspace " + (index + 1)) + } + } +} -- cgit v1.2.3