summaryrefslogtreecommitdiff
path: root/services/Drawers.qml
blob: 6155d5dcb2fc2fa4138ca3004e3294b05dc0d46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pragma Singleton

import Quickshell

Singleton {
    id: root

    property var positions: ({})
    property int rightExclusion

    signal posChanged(screen: ShellScreen, x: int, y: int)

    function setPosForScreen(screen: ShellScreen, x: int, y: int): void {
        positions[screen] = Qt.point(x, y);
        posChanged(screen, x, y);
    }
}