aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules
diff options
context:
space:
mode:
Diffstat (limited to 'config/quickshell/modules')
-rw-r--r--config/quickshell/modules/common/ConfigOptions.qml1
-rw-r--r--config/quickshell/modules/overview/OverviewWidget.qml4
2 files changed, 4 insertions, 1 deletions
diff --git a/config/quickshell/modules/common/ConfigOptions.qml b/config/quickshell/modules/common/ConfigOptions.qml
index 61e6ab8e..25f0de05 100644
--- a/config/quickshell/modules/common/ConfigOptions.qml
+++ b/config/quickshell/modules/common/ConfigOptions.qml
@@ -16,6 +16,7 @@ Singleton {
property bool showXwaylandIndicator: true
property real windowPadding: 6
property real position: 1 // 0: top | 1: middle | 2: bottom
+ property real workspaceNumberSize: 120 // Set 0, dynamic calculation based on monitor size
}
property QtObject resources: QtObject {
diff --git a/config/quickshell/modules/overview/OverviewWidget.qml b/config/quickshell/modules/overview/OverviewWidget.qml
index 73dbbc26..63633602 100644
--- a/config/quickshell/modules/overview/OverviewWidget.qml
+++ b/config/quickshell/modules/overview/OverviewWidget.qml
@@ -35,7 +35,9 @@ Item {
((monitor.height - monitorData?.reserved[1] - monitorData?.reserved[3]) * root.scale / monitor.scale))
property real workspaceNumberMargin: 80
- property real workspaceNumberSize: Math.min(workspaceImplicitHeight, workspaceImplicitWidth) * monitor.scale
+ property real workspaceNumberSize: (ConfigOptions.overview.workspaceNumberSize > 0)
+ ? ConfigOptions.overview.workspaceNumberSize
+ : Math.min(workspaceImplicitHeight, workspaceImplicitWidth) * monitor.scale
property int workspaceZ: 0
property int windowZ: 1
property int windowDraggingZ: 99999
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage