mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-08 07:18:25 +00:00
- Hot reload is working again. - Should also be more memory efficient on multi monitors.
22 lines
524 B
QML
22 lines
524 B
QML
import Quickshell
|
|
import qs.Commons
|
|
import qs.Services
|
|
import qs.Widgets
|
|
|
|
// Screen Recording Indicator
|
|
NIconButton {
|
|
id: root
|
|
|
|
property ShellScreen screen
|
|
property real scaling: ScalingService.scale(screen)
|
|
|
|
visible: ScreenRecorderService.isRecording
|
|
icon: "videocam"
|
|
tooltipText: "Screen Recording Active\nClick To Stop Recording"
|
|
sizeMultiplier: 0.8
|
|
colorBg: Color.mPrimary
|
|
colorFg: Color.mOnPrimary
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
onClicked: ScreenRecorderService.toggleRecording()
|
|
}
|