From 81b8ff31d845d31bc8116c6a3cb3702c8a85be70 Mon Sep 17 00:00:00 2001 From: Kaj Date: Sat, 26 Jul 2025 06:16:52 +0200 Subject: 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 Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- config/BarConfig.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config/BarConfig.qml') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index c8a8bba..3f9f94d 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -5,6 +5,7 @@ JsonObject { property bool showOnHover: true property int dragThreshold: 20 property Workspaces workspaces: Workspaces {} + property Status status: Status {} property Sizes sizes: Sizes {} component Workspaces: JsonObject { @@ -19,6 +20,13 @@ JsonObject { 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 -- cgit v1.2.3-freya