From d5cc29b6e64d521da758e783fe4bd8834825a732 Mon Sep 17 00:00:00 2001 From: Bjoern Hiller Date: Sat, 14 Oct 2023 15:30:59 +0200 Subject: [PATCH] Make default_icon a path Currently is always treated as a plain string so no expansion of `~` happens. The real resolution (name of icon vs. path to icon) is done later when the notification is about to be rendered. --- src/settings_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings_data.h b/src/settings_data.h index 5c68bb4ff..3b32f931e 100644 --- a/src/settings_data.h +++ b/src/settings_data.h @@ -522,7 +522,7 @@ static const struct setting allowed_settings[] = { .name = "default_icon", .section = "*", .description = "The default icon that is used when no icon is passed", - .type = TYPE_STRING, + .type = TYPE_PATH, .default_value = "*", .value = NULL, .parser = NULL,