dunstify: Fix escape chars not being parsed in the body
notify-send uses g_strcompress on the body of the notification to replace escape chars (e.g. newline). Since dunstify is supposed to be a drop-in replacement we should match that here as well.
This commit is contained in:
parent
74bbc96db2
commit
ae370e7289
@ -110,7 +110,7 @@ void parse_commandline(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (argc > 2) {
|
||||
body = g_strdup(argv[2]);
|
||||
body = g_strcompress(argv[2]);
|
||||
}
|
||||
|
||||
if (urgency_str) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user