* First pass at hiding systray icons Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Don't dump all IDs for no reason >_< Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Better handling for hiding tray icons Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Re-add EOF newline Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Hide popouts too Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Hide the expand icon if no icons are visible Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * Update modules/bar/components/Tray.qml Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> * Update modules/bar/components/Tray.qml Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> * Update modules/bar/components/Tray.qml Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> * That needs to be inverted * Clean up Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> * fix --------- Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
118 lines
3.2 KiB
QML
118 lines
3.2 KiB
QML
import Quickshell.Io
|
|
|
|
JsonObject {
|
|
property bool persistent: true
|
|
property bool showOnHover: true
|
|
property int dragThreshold: 20
|
|
property ScrollActions scrollActions: ScrollActions {}
|
|
property Popouts popouts: Popouts {}
|
|
property Workspaces workspaces: Workspaces {}
|
|
property ActiveWindow activeWindow: ActiveWindow {}
|
|
property Tray tray: Tray {}
|
|
property Status status: Status {}
|
|
property Clock clock: Clock {}
|
|
property Sizes sizes: Sizes {}
|
|
property list<string> excludedScreens: []
|
|
|
|
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 ScrollActions: JsonObject {
|
|
property bool workspaces: true
|
|
property bool volume: true
|
|
property bool brightness: true
|
|
}
|
|
|
|
component Popouts: JsonObject {
|
|
property bool activeWindow: true
|
|
property bool tray: true
|
|
property bool statusIcons: true
|
|
}
|
|
|
|
component Workspaces: JsonObject {
|
|
property int shown: 5
|
|
property bool activeIndicator: true
|
|
property bool occupiedBg: false
|
|
property bool showWindows: true
|
|
property bool showWindowsOnSpecialWorkspaces: showWindows
|
|
property bool activeTrail: false
|
|
property bool perMonitorWorkspaces: true
|
|
property string label: " " // if empty, will show workspace name's first letter
|
|
property string occupiedLabel: ""
|
|
property string activeLabel: ""
|
|
property string capitalisation: "preserve" // upper, lower, or preserve - relevant only if label is empty
|
|
property list<var> specialWorkspaceIcons: []
|
|
}
|
|
|
|
component ActiveWindow: JsonObject {
|
|
property bool inverted: false
|
|
}
|
|
|
|
component Tray: JsonObject {
|
|
property bool background: false
|
|
property bool recolour: false
|
|
property bool compact: false
|
|
property list<var> iconSubs: []
|
|
property list<string> hiddenIcons: []
|
|
}
|
|
|
|
component Status: JsonObject {
|
|
property bool showAudio: false
|
|
property bool showMicrophone: false
|
|
property bool showKbLayout: false
|
|
property bool showNetwork: true
|
|
property bool showWifi: true
|
|
property bool showBluetooth: true
|
|
property bool showBattery: true
|
|
property bool showLockStatus: true
|
|
}
|
|
|
|
component Clock: JsonObject {
|
|
property bool showIcon: true
|
|
}
|
|
|
|
component Sizes: JsonObject {
|
|
property int innerWidth: 40
|
|
property int windowPreviewSize: 400
|
|
property int trayMenuWidth: 300
|
|
property int batteryWidth: 250
|
|
property int networkWidth: 320
|
|
property int kbLayoutWidth: 320
|
|
}
|
|
}
|