aboutsummaryrefslogtreecommitdiffstats
path: root/TODO.md
blob: 669fca8b0ca64b3769c57b14f013cba17ed26f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# TODO

Tracked work for the sddm-theme-udt greeter. Add items as they come up.

## Unify the avatar with UDT

- [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/<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.
- [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.