From 4d58dfa27a84131ffbbfc54d3d94435198902e58 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 20 May 2026 19:47:16 +0200 Subject: [PATCH] Honor the user's font on the lock screen LockView hardcoded font.family to "monospace" in two places, ignoring the user's OMARCHY_MENU_FONT / fontconfig choice that every other summoned surface (menu, launcher, polkit, emojis, clipboard) respects. Bind to Style.font.family so a font change via omarchy-font-set or fontconfig propagates to the lock screen too. --- shell/plugins/lock/LockView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/plugins/lock/LockView.qml b/shell/plugins/lock/LockView.qml index d9779596..bbf0440b 100644 --- a/shell/plugins/lock/LockView.qml +++ b/shell/plugins/lock/LockView.qml @@ -112,7 +112,7 @@ Item { color: Color.lock.text selectionColor: Color.lock.selection selectedTextColor: Color.lock.text - font.family: "monospace" + font.family: Style.font.family font.pixelSize: text.length > 0 ? root.passwordDotFontSize : root.fieldFontSize cursorVisible: activeFocus && root.showPasswordCursor && text.length > 0 cursorDelegate: Rectangle { @@ -148,7 +148,7 @@ Item { text: root.authenticatingPassword ? "Checking…" : (root.failureMessage.length > 0 ? root.failureMessage : root.placeholderText) visible: passwordInput.text.length === 0 color: (!root.authenticatingPassword && root.failureMessage.length > 0) ? Color.lock.textError : Color.lock.text - font.family: "monospace" + font.family: Style.font.family font.pixelSize: root.fieldFontSize font.italic: !root.authenticatingPassword && root.failureMessage.length > 0 horizontalAlignment: Text.AlignHCenter