lux-shell/utils/Ref.qml
2025-07-24 10:45:16 -04:00

9 lines
182 B
QML

import Quickshell
import QtQuick
QtObject {
required property Singleton service
Component.onCompleted: service.refCount++
Component.onDestruction: service.refCount--
}