Change the default value of max_icon_size to 0

Since the behaviour of dunst in the last release was to display icons
as-is, we should try to preserve backwards compatibility as much as
possible. This commit may be reverted in the next major release.
This commit is contained in:
Nikos Tsipinakis 2017-07-11 10:18:16 +03:00
parent 842a35db06
commit 79fec8a557
2 changed files with 4 additions and 2 deletions

View File

@ -53,7 +53,7 @@ char *dmenu = "/usr/bin/dmenu";
char *browser = "/usr/bin/firefox"; char *browser = "/usr/bin/firefox";
int max_icon_size = 32; int max_icon_size = 0;
/* paths to default icons */ /* paths to default icons */
char *icon_folders = "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/"; char *icon_folders = "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/";

View File

@ -372,13 +372,15 @@ ACTIONS below for further details.
Defines the position of the icon in the notification window. Setting it to off Defines the position of the icon in the notification window. Setting it to off
disables icons. disables icons.
=item B<max_icon_size> (default: 32) =item B<max_icon_size> (default: 0)
Defines the maximum size in pixels for the icons. Defines the maximum size in pixels for the icons.
If the icon is smaller than the specified value it won't be affected. If the icon is smaller than the specified value it won't be affected.
If it's larger then it will be scaled down so that the larger axis is equivalent If it's larger then it will be scaled down so that the larger axis is equivalent
to the specified size. to the specified size.
Set to 0 to disable icon scaling. (default)
If B<icon_position> is set to off, this setting is ignored. If B<icon_position> is set to off, this setting is ignored.
=item B<icon_folders> (default: "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/") =item B<icon_folders> (default: "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/")