From 79fec8a557adaf586d45e2661ed81b0bdee5e7cf Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Tue, 11 Jul 2017 10:18:16 +0300 Subject: [PATCH] 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. --- config.def.h | 2 +- docs/dunst.pod | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 97844d1..0783430 100644 --- a/config.def.h +++ b/config.def.h @@ -53,7 +53,7 @@ char *dmenu = "/usr/bin/dmenu"; char *browser = "/usr/bin/firefox"; -int max_icon_size = 32; +int max_icon_size = 0; /* paths to default icons */ char *icon_folders = "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/"; diff --git a/docs/dunst.pod b/docs/dunst.pod index 2600d98..7a99ea0 100644 --- a/docs/dunst.pod +++ b/docs/dunst.pod @@ -372,13 +372,15 @@ ACTIONS below for further details. Defines the position of the icon in the notification window. Setting it to off disables icons. -=item B (default: 32) +=item B (default: 0) Defines the maximum size in pixels for the icons. 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 to the specified size. +Set to 0 to disable icon scaling. (default) + If B is set to off, this setting is ignored. =item B (default: "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/")