* Adds ability to disable/enable status icons Improves the hover calculations so that it's not hardcoded. This should make it easier to add/remove status icons. Also adds an optional audio status icon. * status: move config to barconfig * fixes * fix merge * loader icons * fix audio popout --------- Co-authored-by: Kaj Giesbers <kajgiesbers@gmail.com> Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
37 lines
1.1 KiB
QML
37 lines
1.1 KiB
QML
import Quickshell.Io
|
|
|
|
JsonObject {
|
|
property bool persistent: true
|
|
property bool showOnHover: true
|
|
property int dragThreshold: 20
|
|
property Workspaces workspaces: Workspaces {}
|
|
property Status status: Status {}
|
|
property Sizes sizes: Sizes {}
|
|
|
|
component Workspaces: JsonObject {
|
|
property int shown: 5
|
|
property bool rounded: true
|
|
property bool activeIndicator: true
|
|
property bool occupiedBg: false
|
|
property bool showWindows: true
|
|
property bool activeTrail: false
|
|
property string label: " "
|
|
property string occupiedLabel: " "
|
|
property string activeLabel: " "
|
|
}
|
|
|
|
component Status: JsonObject {
|
|
property bool showAudio: false
|
|
property bool showNetwork: true
|
|
property bool showBluetooth: true
|
|
property bool showBattery: true
|
|
}
|
|
|
|
component Sizes: JsonObject {
|
|
property int innerHeight: 30
|
|
property int windowPreviewSize: 400
|
|
property int trayMenuWidth: 300
|
|
property int batteryWidth: 250
|
|
property int networkWidth: 320
|
|
}
|
|
}
|