dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.64k stars 344 forks source link

how to change control band for example the sound of brightness #1385

Closed maarutan closed 1 month ago

maarutan commented 1 month ago

how to change control band for example the sound of brightness dunst how changes color

I have a script that controls volume and brightness

and to display it I use dunst but I can’t figure out how to stylize a strip

bynect commented 1 month ago

From the documentation on dunst-project.org

highlight The highlight color of the notification. This color is used for coloring the progress bar. See COLORS for possible values.

progress_bar_horizontal_alignment (values: [left/center/right], default: center) Horizontal alignment of the progress bar. The progress bar will always keep a distance of horizontal_padding from the edge of the notification.

progress_bar_height (default: 10) The height of the progress bar in pixel. This includes the frame. Make sure this value is bigger than twice the frame width.

progress_bar_min_width (default: 150) The minimum width of the progress bar in pixels. The notification is rescaled to fit the bar.

progress_bar_max_width (default: 300) The maximum width of the progress bar in pixels. The notification is resized to fit the progress bar.

progress_bar_frame_width (default: 1) The frame width of the progress bar in pixels. This value should be smaller than half of the progress bar height.

progress_bar_corner_radius (default: 0) The corner radius of the progress bar in pixels. Gives the progress bar rounded corners. Set to 0 to disable.

This setting will be ignored if progress_bar_corners is set to none.

progress_bar_corners (default: all) Define which corners to round when drawing the progress bar. If progress_bar_corner_radius is set to 0 this option will be ignored.

See the corners setting for the value format.