summaryrefslogtreecommitdiff
path: root/config/BarConfig.qml
diff options
context:
space:
mode:
authorKaj <kajgiesbers@hotmail.com>2025-07-26 06:16:52 +0200
committerGitHub <noreply@github.com>2025-07-26 14:16:52 +1000
commit81b8ff31d845d31bc8116c6a3cb3702c8a85be70 (patch)
treef627a90f016cfb5af80e8d385ced6d4376842a69 /config/BarConfig.qml
parentfeat: improve network popout (#268) (diff)
downloadcaelestia-shell-81b8ff31d845d31bc8116c6a3cb3702c8a85be70.tar.gz
caelestia-shell-81b8ff31d845d31bc8116c6a3cb3702c8a85be70.tar.bz2
caelestia-shell-81b8ff31d845d31bc8116c6a3cb3702c8a85be70.zip
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>
Diffstat (limited to 'config/BarConfig.qml')
-rw-r--r--config/BarConfig.qml8
1 files changed, 8 insertions, 0 deletions
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