copy pasta from caelestia

This commit is contained in:
Benjamin Palko 2025-07-24 10:45:08 -04:00
parent 0f71e6ca45
commit 334c48e9b4
2 changed files with 229 additions and 0 deletions

9
utils/Ref.qml Normal file
View file

@ -0,0 +1,9 @@
import Quickshell
import QtQuick
QtObject {
required property Singleton service
Component.onCompleted: service.refCount++
Component.onDestruction: service.refCount--
}