use space grotesk for clocks

This commit is contained in:
end-4
2025-07-16 09:04:20 +07:00
parent bb221326eb
commit 06ed6dd1e7
7 changed files with 8 additions and 19 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ label { # Date
text = cmd[update:5000] date +"%A, %B %d" text = cmd[update:5000] date +"%A, %B %d"
color = $text_color color = $text_color
font_size = 17 font_size = 17
font_family = $font_family font_family = $font_family_clock
position = 0, 240 position = 0, 240
halign = center halign = center
@@ -2,8 +2,8 @@ $text_color = rgba({{colors.primary_fixed.default.hex_stripped}}FF)
$entry_background_color = rgba({{colors.on_primary_fixed.default.hex_stripped}}11) $entry_background_color = rgba({{colors.on_primary_fixed.default.hex_stripped}}11)
$entry_border_color = rgba({{colors.outline.default.hex_stripped}}55) $entry_border_color = rgba({{colors.outline.default.hex_stripped}}55)
$entry_color = rgba({{colors.primary_fixed.default.hex_stripped}}FF) $entry_color = rgba({{colors.primary_fixed.default.hex_stripped}}FF)
$font_family = Rubik Light $font_family = Rubik
$font_family_clock = Rubik Light $font_family_clock = Space Grotesk
$font_material_symbols = Material Symbols Rounded $font_material_symbols = Material Symbols Rounded
background { background {
@@ -58,7 +58,7 @@ label { # Date
text = cmd[update:5000] date +"%A, %B %d" text = cmd[update:5000] date +"%A, %B %d"
color = $text_color color = $text_color
font_size = 17 font_size = 17
font_family = $font_family font_family = $font_family_clock
position = 0, 240 position = 0, 240
halign = center halign = center
@@ -191,6 +191,7 @@ Scope {
Layout.fillWidth: true Layout.fillWidth: true
horizontalAlignment: bgRoot.textHorizontalAlignment horizontalAlignment: bgRoot.textHorizontalAlignment
font { font {
family: Appearance.font.family.expressive
pixelSize: 85 pixelSize: 85
weight: Font.Medium weight: Font.Medium
} }
@@ -203,6 +204,7 @@ Scope {
Layout.fillWidth: true Layout.fillWidth: true
horizontalAlignment: bgRoot.textHorizontalAlignment horizontalAlignment: bgRoot.textHorizontalAlignment
font { font {
family: Appearance.font.family.expressive
pixelSize: 20 pixelSize: 20
weight: Font.Medium weight: Font.Medium
} }
@@ -168,6 +168,7 @@ Singleton {
property string iconNerd: "SpaceMono NF" property string iconNerd: "SpaceMono NF"
property string monospace: "JetBrains Mono NF" property string monospace: "JetBrains Mono NF"
property string reading: "Readex Pro" property string reading: "Readex Pro"
property string expressive: "Space Grotesk"
} }
property QtObject pixelSize: QtObject { property QtObject pixelSize: QtObject {
property int smallest: 10 property int smallest: 10
@@ -26,20 +26,6 @@ Scope {
mask: Region { mask: Region {
item: null item: null
} }
// HyprlandWindow.visibleMask: Region {
// Region {
// item: topLeftCorner
// }
// Region {
// item: topRightCorner
// }
// Region {
// item: bottomLeftCorner
// }
// Region {
// item: bottomRightCorner
// }
// }
WlrLayershell.namespace: "quickshell:screenCorners" WlrLayershell.namespace: "quickshell:screenCorners"
WlrLayershell.layer: WlrLayer.Overlay WlrLayershell.layer: WlrLayer.Overlay
color: "transparent" color: "transparent"
@@ -76,7 +76,6 @@ Scope {
StyledText { // Small instruction StyledText { // Small instruction
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.family: Appearance.font.family.title
font.pixelSize: Appearance.font.pixelSize.normal font.pixelSize: Appearance.font.pixelSize.normal
text: qsTr("Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel") text: qsTr("Arrow keys to navigate, Enter to select\nEsc or click anywhere to cancel")
} }
@@ -15,6 +15,7 @@ depends=(
kde-material-you-colors kde-material-you-colors
kitty kitty
matugen-bin matugen-bin
otf-space-grotesk
starship starship
ttf-gabarito-git ttf-gabarito-git
ttf-jetbrains-mono-nerd ttf-jetbrains-mono-nerd