diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-06-16 03:02:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-16 03:02:21 -0300 |
| commit | 0f70ff7ae24196ecf5cb9cf2c6299c2d2636a82b (patch) | |
| tree | 3e24d5368222d0368348bb7aacd3ea7ce626622f /config/quickshell/modules | |
| parent | 88abbee9fe56f2e2489f04a017daaf3cfdc97511 (diff) | |
| parent | 1462996cc5256e6337eafc226423de5559214c7f (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.qml | 1 | ||||
| -rw-r--r-- | config/quickshell/modules/overview/OverviewWidget.qml | 4 |
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 |
