aboutsummaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-19 16:42:11 +0200
committerDanilo M. <danix@danix.xyz>2026-09-19 16:42:11 +0200
commit1c6e9d6c3c8281e79e212496b8e874708edd91f5 (patch)
treec2d7409cfe3bf1a8fc7a2733d7da8c17c639ea93 /TODO.md
parent9052a7543968e1699470de8b4bc2e00c08d7d2f3 (diff)
downloadsddm-theme-udt-1c6e9d6c3c8281e79e212496b8e874708edd91f5.tar.gz
sddm-theme-udt-1c6e9d6c3c8281e79e212496b8e874708edd91f5.zip
docs: note the avatar unification TODO
The greeter draws the AccountsService account icon while the hyprlock theme draws ~/.user-icon.jpg, so one login shows two different images. Record the work to read the UDT avatar instead, and to settle the size.
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
new file mode 100644
index 0000000..077d594
--- /dev/null
+++ b/TODO.md
@@ -0,0 +1,20 @@
+# TODO
+
+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
+ 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/<user>`, a real
+ photo) while hyprlock draws `~/.user-icon.jpg` (the illustration), so one
+ login is shown from two files. `Panel.qml`'s `refreshAvatar()` and the
+ `userModel` Repeater are where to change. The power icons are the
+ precedent: `udt-accent` already resolves paths and bakes them into
+ `theme.conf.user`, so the avatar path can ride the same generated file
+ 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.