summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2013-05-18 10:32:04 +0200
committercos <cos>2013-05-26 19:38:40 +0200
commite31bb04702f6825eb9a3cd491a8b7b54c9bc8438 (patch)
treeb8f859ad5c78ffbf0da7e9bc301061c91df3482a
parent14cce1cb74c2924e76fdee467ef06b5775c76421 (diff)
downloadratpoison-e31bb04702f6825eb9a3cd491a8b7b54c9bc8438.zip
Added user documentation for gnumber command.
-rw-r--r--doc/ratpoison.13
-rw-r--r--doc/ratpoison.texi9
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/ratpoison.1 b/doc/ratpoison.1
index 8b53288..3ab0a92 100644
--- a/doc/ratpoison.1
+++ b/doc/ratpoison.1
@@ -373,6 +373,9 @@ Create a new group named \fIgroupf\fP, but do not select it.
.cmd gnext
Select the next group. Most window commands only see windows in the
effective group.
+.cmd gnumber
+Give the number \fInew\fP to the group with the number \fIold\fP or
+the current group.
.cmd gother
Select the last accessed group. Most window commands only see windows in the
effective group.
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index d6552d5..7b9ce78 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -600,6 +600,15 @@ Go to the previous group in the list.
Rename current group.
@end deffn
+@deffn Command gnumber @var{GROUP} @var{target}
+Set a group's number to @var{GROUP}. If another group occupies the
+requested number already, then the groups' numbers are swapped.
+
+The second argument, @var{target}, is optional. It should be the
+number of the group whose number will be changed. If @var{target} is
+omitted ratpoison defaults to the current group.
+@end deffn
+
@deffn Command gselect @var{group}
Select a particular group by name or number. If @var{group} is not
provided, ratpoison will interactively prompt for the group.