aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-06-16 03:02:21 -0300
committerGitHub <noreply@github.com>2025-06-16 03:02:21 -0300
commit0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (patch)
tree3e24d5368222d0368348bb7aacd3ea7ce626622f /config/quickshell/modules
parent88abbee9fe56f2e2489f04a017daaf3cfdc97511 (diff)
parent1462996cc5256e6337eafc226423de5559214c7f (diff)
Merge pull request #743 from SherLock707/overviewV2_qs
Expose font size and family in config
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