From 11d3a394d7c7f860b400d0e5dbcd01e4793716a9 Mon Sep 17 00:00:00 2001 From: exquo <62397152+exquo@users.noreply.github.com> Date: Mon, 28 Mar 2022 20:20:22 +0000 Subject: [PATCH] Notification command: make avatar placeholder optional Fixes #184 --- scli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scli b/scli index 4b7cc53..0d6d396 100755 --- a/scli +++ b/scli @@ -4103,7 +4103,7 @@ class Actions: for token, text in (('%s', sender), ('%m', message), ('%a', avatar)): text = text.replace(r"'", r"'\''") rmap[token] = text - rmap['_optionals'] = ('%s', '%m') + rmap['_optionals'] = ('%s', '%m', '%a') self.callf(cfg.notification_command, rmap, background=True) if not cfg.notification_no_bell: print('\a', end='')