From 67b7245bf96cf954d90719e800cf9618ffaa4feb Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Mon, 29 Jun 2026 21:08:42 +0200 Subject: chore: cleanup sway, quickshell --- .../system/quickshell/ScreenRecordIndicator.qml | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 modules/system/quickshell/ScreenRecordIndicator.qml (limited to 'modules/system/quickshell/ScreenRecordIndicator.qml') diff --git a/modules/system/quickshell/ScreenRecordIndicator.qml b/modules/system/quickshell/ScreenRecordIndicator.qml deleted file mode 100644 index 6630b81..0000000 --- a/modules/system/quickshell/ScreenRecordIndicator.qml +++ /dev/null @@ -1,38 +0,0 @@ -import QtQuick -import Quickshell -import Quickshell.Services.Pipewire - -Item { - id: root - width: indicator.width - height: parent.height - visible: root.recording - - readonly property bool recording: { - const nodes = Pipewire.nodes?.values || []; - for (const node of nodes) { - if (node && node.isStream && (node.type & PwNodeType.VideoSource)) - return true; - } - return false; - } - - Squircle { - id: indicator - anchors.verticalCenter: parent.verticalCenter - width: 28 - height: 22 - cornerRadius: 8 - fillColor: Theme.destructive - - Image { - anchors.centerIn: parent - width: 15 - height: 15 - source: Quickshell.iconPath("media-record-symbolic") - sourceSize: Qt.size(width, height) - smooth: true - mipmap: true - } - } -} -- cgit v1.3.1