about summary refs log tree commit diff
path: root/catgirl.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-08 21:44:50 -0500
committerJune McEnroe <june@causal.agency>2020-02-08 21:44:50 -0500
commit3e6868414811be8902e6973c78ef2010b26a9e08 (patch)
treedf68dcfb29b6fb0c68b3d96a599a4051097f9fe9 /catgirl.1
parentAllow overriding the /open utility (diff)
downloadcatgirl-3e6868414811be8902e6973c78ef2010b26a9e08.tar.gz
catgirl-3e6868414811be8902e6973c78ef2010b26a9e08.zip
Add /copy
Diffstat (limited to '')
-rw-r--r--catgirl.117
1 files changed, 16 insertions, 1 deletions
diff --git a/catgirl.1 b/catgirl.1
index 6129b71..4dabb4f 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -9,6 +9,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl ev
+.Op Fl C Ar copy
 .Op Fl O Ar open
 .Op Fl a Ar auth
 .Op Fl c Ar cert
@@ -47,8 +48,17 @@ following their corresponding flags.
 .Pp
 The arguments are as follows:
 .Bl -tag -width Ds
+.It Fl C Ar util , Cm copy = Ar util
+Set the utility used by
+.Ic /copy .
+The default is the first available of
+.Xr pbcopy 1 ,
+.Xr wl-copy 1 ,
+.Xr xclip 1 ,
+.Xr xsel 1 .
+.
 .It Fl O Ar util , Cm open = Ar util
-Set the command used by
+Set the utility used by
 .Ic /open .
 The default is the first available of
 .Xr open 1 ,
@@ -160,6 +170,11 @@ Show or set the topic of the channel.
 .Bl -tag -width Ds
 .It Ic /close Op Ar name | num
 Close the named, numbered or current window.
+.It Ic /copy Op Ar nick | substring
+Copy the most recent URL from
+.Ar nick
+or matching
+.Ar substring .
 .It Ic /debug
 Toggle logging in the
 .Sy <debug>