diff options
Diffstat (limited to 'services/Drawers.qml')
| -rw-r--r-- | services/Drawers.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/services/Drawers.qml b/services/Drawers.qml index 6155d5d..7e7d97a 100644 --- a/services/Drawers.qml +++ b/services/Drawers.qml @@ -1,10 +1,16 @@ pragma Singleton import Quickshell +import QtQuick Singleton { id: root + property var visibilities: Quickshell.screens.reduce((acc, s) => { + acc[s] = visibleComp.createObject(root); + return acc; + }, {}) + property var positions: ({}) property int rightExclusion @@ -14,4 +20,15 @@ Singleton { positions[screen] = Qt.point(x, y); posChanged(screen, x, y); } + + Component { + id: visibleComp + + QtObject { + property bool launcher + property bool osd + property bool notifs + property bool session + } + } } |