initial commit for settings revamp
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import QtQuick
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
property bool closed: true
|
||||
property Component currentPopup: null
|
||||
|
||||
function requestClose(): void {
|
||||
closed = true;
|
||||
}
|
||||
|
||||
function requestOpen(component: Component): void {
|
||||
currentPopup = component;
|
||||
closed = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user