nosignal-shell/config/BarConfig.qml
Kaj 81b8ff31d8
config: enable/disable status icons (#243)
* 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>
2025-07-26 14:16:52 +10:00

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
}
}