Add Recording indicator to bar

This commit is contained in:
Ly-sec 2025-08-13 16:15:05 +02:00
parent d345e3fbc0
commit fc493db906
4 changed files with 34 additions and 11 deletions

View file

@ -81,12 +81,22 @@ Variants {
anchors.verticalCenter: bar.verticalCenter
spacing: Style.marginSmall * scaling
Tray {
// Screen Recording Indicator
NIconButton {
id: screenRecordingIndicator
icon: "videocam"
tooltipText: "Screen Recording Active"
sizeMultiplier: 0.8
showBorder: false
showFilled: ScreenRecorder.isRecording
visible: ScreenRecorder.isRecording
anchors.verticalCenter: parent.verticalCenter
onClicked: {
ScreenRecorder.toggleRecording()
}
}
// TODO: Notification Icon
NotificationHistory {
Tray {
anchors.verticalCenter: parent.verticalCenter
}