diff options
| author | Leander Scherer <leander@schererleander.de> | 2026-06-29 21:08:42 +0200 |
|---|---|---|
| committer | Leander Scherer <leander@schererleander.de> | 2026-06-29 21:22:33 +0200 |
| commit | 67b7245bf96cf954d90719e800cf9618ffaa4feb (patch) | |
| tree | 2723c3db278840150985cdc630487ff175d330d9 /modules/system/quickshell/ScreenRecordIndicator.qml | |
| parent | d4fa3d0533c8dac688e38413403815de1802339e (diff) | |
chore: cleanup sway, quickshell
Diffstat (limited to 'modules/system/quickshell/ScreenRecordIndicator.qml')
| -rw-r--r-- | modules/system/quickshell/ScreenRecordIndicator.qml | 38 |
1 files changed, 0 insertions, 38 deletions
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 - } - } -} |
