-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added some customization options #30
Conversation
Gave the ```input-field``` and the ```unlock-button``` a class name so they can be customized in CSS
The only thing I couldn't change was the |
I don't know why but |
Thank you for the contribution! I don't know how I forgot about these widget names...
Yeah, this is set using markup in window.c in the function window_pw_failure, like this: gtk_label_set_markup(GTK_LABEL(ctx->error_label), "<span color=\"red\">Login failed</span>"); I could easily change this to css and it would work better. Maybe let's open an issue for this?
Can't test currently, I'll get back to you on this. |
Thank you too for caring about my PR. |
@MelihDarcanxyz I figured it out, you must first unset background-image. #unlock-button {
background-image: none;
background-color: red;
} |
Thank you so much. Have a nice day. |
@jovanlanik Hey, I discovered something. Remember when I told:
That's because when I run But if I run it from rofi or with a key-binding on sway, I can't change it without doing what you did because there are no theme variables. Just wanted to let you know. |
If you need a specific theme, use the gtk-theme option in the config instead. |
Gave the
input-field
and theunlock-button
a class name so they can be customized in CSS