From 5c8f192b6e3fde2cdd35dbe7cd6c5f3f5c8e9d80 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 25 Sep 2026 18:43:26 +0200 Subject: feat(panel): draw the UDT avatar at the lock screen's size Read the login avatar from the `avatar` key udt-accent writes, the same ~/.user-icon.jpg hyprlock draws, when the entered username matches `avatarUser`. Any other user still gets their AccountsService icon. Shrink the avatar from 256px to 180px so greeter and lock match. Co-Authored-By: Claude Opus 5.5 --- TODO.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 077d594..669fca8 100644 --- a/TODO.md +++ b/TODO.md @@ -4,7 +4,7 @@ Tracked work for the sddm-theme-udt greeter. Add items as they come up. ## Unify the avatar with UDT -- [ ] Read the login avatar from `~/.user-icon.jpg`, the file the hyprlock theme +- [x] Read the login avatar from `~/.user-icon.jpg`, the file the hyprlock theme and the rest of UDT use, instead of the account icon SDDM resolves through `userModel`. On this desktop the two differ: the greeter draws the AccountsService icon (`/var/lib/AccountsService/icons/`, a real @@ -16,5 +16,5 @@ Tracked work for the sddm-theme-udt greeter. Add items as they come up. rather than the greeter reaching into AccountsService. `~/.user-icon.jpg` is square-ish, so the existing `PreserveAspectCrop` + circle mask still yields a circle. -- [ ] Settle the avatar size once the above lands. The greeter draws it at - 256px, the lock at 180px; pick one for both. +- [x] Settle the avatar size once the above lands. The greeter draws it at + 256px, the lock at 180px; pick one for both. Settled on 180px for both. -- cgit v1.2.3