summaryrefslogtreecommitdiff
path: root/config/BarConfig.qml
blob: 5e5a71817272d28d2623e587d3d352767cfd3b71 (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
pragma Singleton

import Quickshell
import QtQuick

Singleton {
    id: root

    readonly property Sizes sizes: Sizes {}
    readonly property Workspaces workspaces: Workspaces {}
    readonly property Tray tray: Tray {}

    component Sizes: QtObject {
        property int innerHeight: 30
    }

    component Workspaces: QtObject {
        property int shown: 5
        property bool rounded: true
        property bool activeIndicator: true
        property bool occupiedBg: false
        property bool showWindows: true
        property bool activeTrail: !showWindows // Doesn't work well with variable sized workspaces
        property string label: "  "
        property string occupiedLabel: "󰮯 "
        property string activeLabel: "󰮯 "
    }

    component Tray: QtObject {
        property bool recolourIcons: false
    }
}