83 lines
2 KiB
QML
83 lines
2 KiB
QML
import Quickshell.Io
|
|
|
|
JsonObject {
|
|
property bool persistent: true
|
|
property bool showOnHover: true
|
|
property int dragThreshold: 20
|
|
property Workspaces workspaces: Workspaces {}
|
|
property Tray tray: Tray {}
|
|
property Status status: Status {}
|
|
property Sizes sizes: Sizes {}
|
|
|
|
property list<var> entries: [
|
|
{
|
|
id: "logo",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "workspaces",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "spacer",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "activeWindow",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "spacer",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "tray",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "clock",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "statusIcons",
|
|
enabled: true
|
|
},
|
|
{
|
|
id: "power",
|
|
enabled: true
|
|
},
|
|
]
|
|
|
|
component Workspaces: JsonObject {
|
|
property int shown: 5
|
|
property bool activeIndicator: true
|
|
property bool occupiedBg: false
|
|
property bool showWindows: true
|
|
property bool activeTrail: false
|
|
property bool perMonitorWorkspaces: true
|
|
property string label: " "
|
|
property string occupiedLabel: ""
|
|
property string activeLabel: ""
|
|
}
|
|
|
|
component Tray: JsonObject {
|
|
property bool background: false
|
|
property bool recolour: false
|
|
}
|
|
|
|
component Status: JsonObject {
|
|
property bool showAudio: false
|
|
property bool showKbLayout: false
|
|
property bool showNetwork: true
|
|
property bool showBluetooth: true
|
|
property bool showBattery: true
|
|
}
|
|
|
|
component Sizes: JsonObject {
|
|
property int innerWidth: 40
|
|
property int windowPreviewSize: 400
|
|
property int trayMenuWidth: 300
|
|
property int batteryWidth: 250
|
|
property int networkWidth: 320
|
|
}
|
|
}
|