-
Notifications
You must be signed in to change notification settings - Fork 12
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
Moreoptions #1
Moreoptions #1
Conversation
-f STRING ; font -c COLOR ; background_color -C COLOR ; foreground_color -b COLOR ; border_color -B INT ; border_pixels
I don't know... I like to keep appearance configuration in |
Yeah. I was thinking it could work with say you have a default notification layout and style. And want to use In my experience it is also desirable when creating a notification that the geometry relates to the context. when i delete files in my filemanager, i show a notification that is "anchored" to the NW corner of the filemanager window, the window is also usually quite small so, i like having a smaller font in that notification. The way I currently do this now, is using dunst. and killing the daemon, create a temporary config file (with geometry dynamically added depending on the window size), load dunst with that config. display notification. kill dunst, restart with default config. Also, if one would skip any of the command line options added in this PR, it would default to xresources i think? -- Maybe a compromise could be to only allow these options when |
The geometry can be set at runtime with So your use case is that you have a different style (color and font) for each notification context?
So you could set the color for each notification individually without having to set all notifications of the same What do you think? |
Also, I can add an option to embed a notification into a window, so you can keep the global gravity and geometry (say |
Having dynamic fonts is harder than using dynamic colors, a |
I've just added support for setting the color in the notification input. Now you can run the following command. You can replace
|
commandline options for foreground_color, background_color, border_color, border_pixels and font added.