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

import Quickshell
import QtQuick

Singleton {
    id: root

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

    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: "󰮯 "
    }
}