Skip to content

Commit

Permalink
Make default_icon a path
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zappolowski committed Oct 14, 2023
1 parent 2cd719a commit 720572e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 720572e

Please sign in to comment.