about summary refs log tree commit diff stats
path: root/docs/profanity-executable.1
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-01-09 08:08:10 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-01-09 08:08:10 +0100
commitd3820239613d0dcf6bc8e4cdd81ff7d14113c609 (patch)
tree589e6ff2dfc56400d34079dbaf86515cb56afd14 /docs/profanity-executable.1
parent8c08e64f377c9faee1abe9c663e9b2d73e7a7a45 (diff)
downloadprofani-tty-d3820239613d0dcf6bc8e4cdd81ff7d14113c609.tar.gz
Release 0.10.0
Diffstat (limited to 'docs/profanity-executable.1')
-rw-r--r--docs/profanity-executable.174
1 files changed, 74 insertions, 0 deletions
diff --git a/docs/profanity-executable.1 b/docs/profanity-executable.1
new file mode 100644
index 00000000..a258194f
--- /dev/null
+++ b/docs/profanity-executable.1
@@ -0,0 +1,74 @@
+.TH man 1 "2021-01-09" "0.10.0" "Profanity XMPP client"
+
+.SH NAME
+/executable
+
+.SH DESCRIPTION
+Configure executable that should be called upon a certain command.
+
+.SH SYNOPSIS
+/executable avatar <cmd>
+
+.LP
+/executable urlopen set <cmdtemplate>
+
+.LP
+/executable urlopen default
+
+.LP
+/executable urlsave set <cmdtemplate>
+
+.LP
+/executable urlsave default
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fBavatar\fR
+.RS 4
+Set executable that is run by /avatar open. Use your favorite image viewer.
+.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
+
+.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