1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
.TH man 1 "2025-08-22" "0.15.0" "Profanity XMPP client"
.SH NAME
/executable
.SH DESCRIPTION
Configure executable that should be called upon a certain command.
.SH SYNOPSIS
/executable avatar set <cmdtemplate>
.LP
/executable avatar default
.LP
/executable urlopen set <cmdtemplate>
.LP
/executable urlopen default
.LP
/executable urlsave set <cmdtemplate>
.LP
/executable urlsave default
.LP
/executable editor set <cmdtemplate>
.LP
/executable editor default
.LP
/executable vcard_photo set <cmdtemplate>
.LP
/executable vcard_photo default
.LP
.SH ARGUMENTS
.PP
\fBavatar set\fR
.RS 4
Set executable that is run by /avatar open. Use your favorite image viewer.
.RE
.PP
\fBavatar default\fR
.RS 4
Restore to default settings.
.RE
.PP
\fBurlopen set\fR
.RS 4
Set executable that is run by /url open. Takes a command template that replaces %u and %p with the URL and path respectively.
.RE
.PP
\fBurlopen default\fR
.RS 4
Restore to default settings.
.RE
.PP
\fBurlsave set\fR
.RS 4
Set executable that is run by /url save. Takes a command template that replaces %u and %p with the URL and path respectively.
.RE
.PP
\fBurlsave default\fR
.RS 4
Use the built-in download method for saving.
.RE
.PP
\fBeditor set\fR
.RS 4
Set editor to be used with /editor. Needs a terminal editor or a script to run a graphical editor.
.RE
.PP
\fBeditor default\fR
.RS 4
Restore to default settings.
.RE
.PP
\fBvcard_photo set\fR
.RS 4
Set executable that is run by /vcard photo open. Takes a command template that replaces %p with the path
.RE
.PP
\fBvcard_photo default\fR
.RS 4
Restore to default settings.
.RE
.SH EXAMPLES
/executable avatar xdg-open
.LP
/executable urlopen set "xdg-open %u"
.LP
/executable urlopen set "firefox %u"
.LP
/executable urlopen default
.LP
/executable urlsave set "wget %u -O %p"
.LP
/executable urlsave set "curl %u -o %p"
.LP
/executable urlsave default
.LP
/executable vcard_photo set "feh %p"
.LP
/executable editor set "emacsclient -t"
.LP
|