From a8baaa9929b67dd3fdc4b627f19e8c8f5000ceef Mon Sep 17 00:00:00 2001 From: Belal Date: Mon, 8 Sep 2025 16:55:46 +0300 Subject: 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> --- config/BarConfig.qml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config') 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 -- cgit v1.2.3-freya