summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBelal <belalkoko00@gmail.com>2025-09-08 16:55:46 +0300
committerGitHub <noreply@github.com>2025-09-08 23:55:46 +1000
commita8baaa9929b67dd3fdc4b627f19e8c8f5000ceef (patch)
treea97bd3862b42e85b8122b49d9996a2a6a5e829eb /config
parentbar/statusicons: add mic indicator (diff)
downloadcaelestia-shell-a8baaa9929b67dd3fdc4b627f19e8c8f5000ceef.tar.gz
caelestia-shell-a8baaa9929b67dd3fdc4b627f19e8c8f5000ceef.tar.bz2
caelestia-shell-a8baaa9929b67dd3fdc4b627f19e8c8f5000ceef.zip
bar: configurable scroll actions (#559)
* bar: add option to disable scroll actions for volume and brightness * options for workspaces, brightness and volume * add options to readme + format --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'config')
-rw-r--r--config/BarConfig.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/BarConfig.qml b/config/BarConfig.qml
index 283e114..65236bd 100644
--- a/config/BarConfig.qml
+++ b/config/BarConfig.qml
@@ -4,6 +4,7 @@ JsonObject {
property bool persistent: true
property bool showOnHover: true
property int dragThreshold: 20
+ property ScrollActions scrollActions: ScrollActions {}
property Workspaces workspaces: Workspaces {}
property Tray tray: Tray {}
property Status status: Status {}
@@ -53,6 +54,12 @@ JsonObject {
}
]
+ component ScrollActions: JsonObject {
+ property bool workspaces: true
+ property bool volume: true
+ property bool brightness: true
+ }
+
component Workspaces: JsonObject {
property int shown: 5
property bool activeIndicator: true