forked from Shinonome/dots-hyprland
overview: clearer numbers
This commit is contained in:
@@ -32,7 +32,7 @@ Item {
|
|||||||
((monitor.height - monitorData?.reserved[1] - monitorData?.reserved[3]) * root.scale / monitor.scale)
|
((monitor.height - monitorData?.reserved[1] - monitorData?.reserved[3]) * root.scale / monitor.scale)
|
||||||
|
|
||||||
property real workspaceNumberMargin: 80
|
property real workspaceNumberMargin: 80
|
||||||
property real workspaceNumberSize: Math.min(workspaceImplicitHeight, workspaceImplicitWidth) * monitor.scale
|
property real workspaceNumberSize: 250 * monitor.scale
|
||||||
property int workspaceZ: 0
|
property int workspaceZ: 0
|
||||||
property int windowZ: 1
|
property int windowZ: 1
|
||||||
property int windowDraggingZ: 99999
|
property int windowDraggingZ: 99999
|
||||||
@@ -97,8 +97,11 @@ Item {
|
|||||||
StyledText {
|
StyledText {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: workspaceValue
|
text: workspaceValue
|
||||||
font.pixelSize: root.workspaceNumberSize * root.scale
|
font {
|
||||||
font.weight: Font.DemiBold
|
pixelSize: root.workspaceNumberSize * root.scale
|
||||||
|
weight: Font.DemiBold
|
||||||
|
family: Appearance.font.family.expressive
|
||||||
|
}
|
||||||
color: ColorUtils.transparentize(Appearance.colors.colOnLayer1, 0.8)
|
color: ColorUtils.transparentize(Appearance.colors.colOnLayer1, 0.8)
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|||||||
Reference in New Issue
Block a user