summaryrefslogtreecommitdiff
path: root/config/UtilitiesConfig.qml
blob: 4d1dd6e8d98709a20fd43ea8c2c51c033d983c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import Quickshell.Io

JsonObject {
    property bool enabled: true
    property int maxToasts: 4

    property Sizes sizes: Sizes {}
    property Toasts toasts: Toasts {}
    property Vpn vpn: Vpn {}

    component Sizes: JsonObject {
        property int width: 430
        property int toastWidth: 430
    }

    component Toasts: JsonObject {
        property bool configLoaded: true
        property bool chargingChanged: true
        property bool gameModeChanged: true
        property bool dndChanged: true
        property bool audioOutputChanged: true
        property bool audioInputChanged: true
        property bool capsLockChanged: true
        property bool numLockChanged: true
        property bool kbLayoutChanged: true
        property bool kbLimit: true
        property bool vpnChanged: true
        property bool nowPlaying: false
    }

    component Vpn: JsonObject {
        property bool enabled: false
        property list<var> provider: ["netbird"]
    }

    property list<var> quickToggles: [
        {
            id: "wifi",
            enabled: true
        },
        {
            id: "bluetooth",
            enabled: true
        },
        {
            id: "mic",
            enabled: true
        },
        {
            id: "settings",
            enabled: true
        },
        {
            id: "gameMode",
            enabled: true
        },
        {
            id: "dnd",
            enabled: true
        },
        {
            id: "vpn",
            enabled: false
        }
    ]
}