rharish101 / ReGreet

Clean and customizable greeter for greetd
GNU General Public License v3.0
430 stars 19 forks source link

Custom greeting_msg doesn't display #83

Closed Jademalo closed 3 months ago

Jademalo commented 3 months ago

My greetd.toml is as follows;

[GTK]
application_prefer_dark_theme = true
theme_name = "catppuccin-macchiato-blue-standard"

[appearance]
greeting_msg = "Custom message test"

[background]
fit = "Cover"
path = "/nix/store/1m94safpiyfa47qlwrrjfgrxiws36fxy-original-x2.png"

For some reason the custom greeting_msg doesn't display, and it shows the standard Welcome Back! every time. All other settings are working, so it's clearly reading the toml and parsing the info. I've checked the code and I can't see anything obvious, so I've got no idea why it's not working. Currently running the latest commit, https://github.com/rharish101/ReGreet/commit/d2f45742706351843fec514e1fef8a37f70bfab2

rharish101 commented 3 months ago

Can you share the logs with log level trace?

Jademalo commented 3 months ago

Hmm, I've just booted this morning and it's working correctly. I was genuinely on about an hour last night trying to figure it out, and it was consistently not updating.

Does that particular option require a full reboot to update? All of the other themeing stuff I was testing worked with a logout, though I definitely fully rebooted a few times.

I'll try and reproduce it with a log to see what's going on

rharish101 commented 3 months ago

That's weird. It shouldn't need a full reboot at all, just an app reboot. Maybe there's some weird GTK caching behaviour going on?

I'm going to close this issue. In the meantime, if you manage to reproduce it, then you can reopen the issue (or ask me to do so) with the exact steps to reproduce.

Jademalo commented 3 months ago

Ok, no worries! Haven't managed to get it to happen again since I made the ticket, lol. typical!