From 7325e0945890d77ba67152cd5adafaf6e955122e Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Wed, 15 Oct 2025 12:09:09 +0200 Subject: [PATCH] testing --- Bar.qml | 1 - Modules/Workspaces.qml | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/Bar.qml b/Bar.qml index 42190a5..ce0cd79 100644 --- a/Bar.qml +++ b/Bar.qml @@ -47,7 +47,6 @@ Scope { Layout.fillHeight: true Layout.topMargin: 6 Layout.bottomMargin: 6 - screen: bar.screen } AudioWidget { diff --git a/Modules/Workspaces.qml b/Modules/Workspaces.qml index 0d094d3..732e935 100644 --- a/Modules/Workspaces.qml +++ b/Modules/Workspaces.qml @@ -7,20 +7,6 @@ import Quickshell.Hyprland Rectangle { id: root - required property ShellScreen screen - - readonly property int activeWsId: ( Hyprland.monitorFor( screen ).activeWorkspace?.id ?? 1 ) - - readonly property var occupied: Hyprland.workspaces.values.reduce(( acc, curr ) => { - acc[ curr.id ] = curr.lastIpcObject.windows > 0; - return acc; - }) - readonly property int groupOffset: Math.floor(( activeWsId - 1 ) / 10) * 10 - readonly property int ws: 1 + groupOffset - - readonly property bool isOccupied: occupied[ ws ] ?? false - - implicitWidth: workspacesRow.implicitWidth + 10 implicitHeight: workspacesRow.implicitHeight + 7