about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-05-09 19:58:21 +0200
committerMichael Vetter <jubalh@iodoru.org>2023-05-10 09:34:48 +0200
commit8075b32ebc6311d7985e94c780fafecc4e8def9f (patch)
tree7cc62defb4e2dfb4df6c279e2f100fdd3937fc8a /src/config
parentdaf3d193e226648a2b3f0021731ec006956727e5 (diff)
downloadprofani-tty-8075b32ebc6311d7985e94c780fafecc4e8def9f.tar.gz
Align avatar behaviour with urlopen
`/executable avatar` now also uses cmdtemplate and parse %p.
It seems to me that the `/avatar` command was actually completely broken
on master.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 2d975e39..f1b4154e 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -2314,7 +2314,7 @@ _get_default_string(preference_t pref)
     case PREF_COLOR_NICK:
         return "false";
     case PREF_AVATAR_CMD:
-        return "xdg-open";
+        return "xdg-open %p";
     case PREF_URL_OPEN_CMD:
         return "xdg-open %u";
     case PREF_VCARD_PHOTO_CMD: