diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-05-09 19:58:21 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2023-05-10 09:34:48 +0200 |
commit | 8075b32ebc6311d7985e94c780fafecc4e8def9f (patch) | |
tree | 7cc62defb4e2dfb4df6c279e2f100fdd3937fc8a /src/config/preferences.c | |
parent | daf3d193e226648a2b3f0021731ec006956727e5 (diff) | |
download | profani-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/preferences.c')
-rw-r--r-- | src/config/preferences.c | 2 |
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: |