Skip to content
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

[Request] Change date/time at top of notification to a string #113

Open
Barbaross93 opened this issue Dec 1, 2020 · 2 comments
Open

[Request] Change date/time at top of notification to a string #113

Barbaross93 opened this issue Dec 1, 2020 · 2 comments

Comments

@Barbaross93
Copy link

Hello,

Thanks for sharing this project! It's very cool; Much nicer for more all-out setups than the minimalist-by-design dunst. One thing I'd like to change and I can't seem to find it anywhere in the config options (and I apologize if I overlooked it) is the ability to replace the date/time at the top of the notification center to a string such as "Deadd Notification Center" or just "Notification Center". Maybe putting the time as a smaller component underneath the main title. If it's not achievable as a config option, could you point to where in the code I could modify it?

Thanks again!

@phuhl
Copy link
Owner

phuhl commented Dec 7, 2020

Hey, thanks for the praise :)

Currently there is no config option for this. I think, the easiest way to achieve what you want is to modify the https://github.com/phuhl/linux_notification_center/blob/master/notification_center.glade file. You should look into this tool to modify the file. After you did, you can recompile from source and your changes should be working. Let me know if it works or if you have issues. If you get it working and are interested, you could create a PR for the main Readme where you describe what you did, for future reference.

@MyriaCore
Copy link
Contributor

Maybe we should provide a setting for a format string? If users don't wanna see the date, they could set it to a constant with no date-time formatting things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants