Skip to content

Conversation

@D3vil0p3r
Copy link

@D3vil0p3r D3vil0p3r commented Jun 7, 2025

Hello @Keyitdev , I implemented the support for user avatar.

By the current code, if the system has more than one user, I think the avatar of the last logged user will be shown.

The avatar should be stored in ~/.face.icon.

Furthermore, I tried to implement the avatar image as a circle. I can only set the border object as a circle but the avatar image itself remains as a square, and currently I don't know how to fix it. In Qt5 it could be fixed by using QtGraphicalEffects that has been dropped in Qt6, so another solution must be found.

Inside the config of each theme, the following variables should be set:

#################### User Picture ####################

UserPictureEnabled="true"
UserBorderColor="#b4befe"
UserBorderWidth=5
UserColor="#cdd6f4"
Scale=1

Here some examples of the output:

image

image

image

image

image

image

image

If you have an idea on how to implement also a circled avatar image, would be wonderful.

Let me know also if the case of multiple users is good as is.

Once these topics above are faced, I will implement the changes on each theme with the parameters defined above. If you would like to specify specific HEX color code to each of them, please let me know.

Close #40

@Keyitdev Keyitdev marked this pull request as ready for review July 9, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] - Show/Hide Avatar user image

1 participant