-
Notifications
You must be signed in to change notification settings - Fork 361
Description
For the great joy of the ricing community I want to add some options to customize the look and feel of dunst.
So this is a summary for the customization related issue & prs
Done
-
Fix progress bar weird behavior at small percentages (Corners patch part 1 #1227 merged)
-
Custom corners (Corners patch 2 #1268 merged)
-
Wayland cursor update Wayland: suport GTK/CSS cursor names #1276
-
Dynamic height & alignment (Implement dynamic height and change vertical padding #1342)
-
Color gradients (Feature: Color gradient #1273, Gradients #1286 for the progress bar gradient)
- Potentially add gradient to other colors (foreground, background, etc)
- Maybe add the ability to choose a custom angle or anchor points
-
Settings reload (proof of concept: dunstctl reload #968 -> [RFC] config reload mechanism #1350)
WIP
-
Possible problems with fractional scaling that result in pixel inaccuracies
- Possible solution Refactor draw code to use
cairo_surface_set_device_scale
#1337
- Possible solution Refactor draw code to use
-
Cache icon content by path and timestamp (dunst shows the same icon when the content of --icon is changed #1061) --> Change the caching of icons #1473
-
Fix icon size handling (Can't change icon size with enable_recursive_icon_lookup #1086 and Named SVG icons are scaled to max_icon_size #1075)
TODO
-
Allow the use of special color values like foreground,background
-
X11 refactor Refactoring x11 #477
-
Themes! Some ideas on the comments below
-
Percentages as units (Geometry as a percent of screen width #991)
- Note: easy to implement but multiple monitors should be taken into account
-
Rework borders and frames (Allow setting individual border's properties #1136 and) so that they can
- be of different colors ( frame_color issue #673)
- only specific borders can be drawn (Allow setting individual border's properties #1136 and Customize individual frame edges #733)
- double corners (Double Borders/frames? #738)
-
Custom action and action count format (Proposal: Show action count in notifications #1218 and Custom indicators for URL and Actions #509)
-
Allow a custom color or stylesheet for svg/symbolic icons ( Allow customization of SVG fill color #1076 and Allow setting icon colors #994)
-
Inconsistency between wayland and x11
-
Fix rectangle artifacts (probably generated during rendering with xlib) (Notifications appear as large boxes #1031 A ghost rectangle is rendered for a split second before the actual notification balloon #1057)
Future ideas
-
Shadows (Add support for shadows #926)
-
Gif support (Gif Support #773)
-
There are some possible improvements to the layout to move some things around (IOS style notifications #741)
-
Buttons for actions (Clickable buttons for actions? #234)
-
Notification specific geometry or show on multiple windows (Show Messages on All Monitors #45, Application name based Geometry #265). This will require support for multiple windows [meta] Support multiple windows. #1018
Known problems
- Flickering during redraws ( Flickering caused by age seconds #1240, Dunst notifications flicker after unpausing (X11 + compositor) #1159 and others)
- Multiple fonts not working, this is a limitation of pango but maybe something can be done (Multiple fonts not working together #1211)
- Issues with borders (Borders on some notifications with frame_width = 0 #1188 and Notification Content Area Width miscalculated when frame_width is greater than 0 #1241)
- This could be solved by reworking borders/frames altogether
Obviously if you have any idea feel free to write here or open an issue with feature request