-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add support for custom gtk css. #97
Comments
Hi there, I am using this wonderful notification center and so far it has been an incredible experience! It does exactly what I need and I wanted to thank you for this great OSS! I'm trying to change the CSS of the notification icon but it does not seem to be working.
Could you provide me with some guidance? |
I too couldn't... so I'm now directly modifying the css file in code and recompiling it myself. |
You should already be able to do this, via
So, I assume you're trying to change the margins for the app icon, correct? The labels for this stuff could be a bit more clear, If you are trying to modify margins for the app icon, it could be a GTK CSS thing. According to these docs, margin seems to be a gtkbox thing, however I think If you're actually trying to modify the image to the left of the notification, then you'll want to do it in your linux_notification_center/src/NotificationCenter/Notifications/AbstractNotification.hs Lines 77 to 85 in 7099d41
|
Do you remember, why it was implemented like that? Was it because changing it in the gtk.css wouldn't take effect? In that case, we could remove these config options now, as the CSS configuration allows for changing these margins as desired. |
Anyways, this issue is closed due to #118 For more information, look here: https://github.com/phuhl/linux_notification_center#css-styling |
It'd be great if we could override the builtin style.css with something like
$XDG_CONFIG_HOME/deadd/style.css
The text was updated successfully, but these errors were encountered: