summaryrefslogtreecommitdiff
path: root/app/cwm/cwmrc.5
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2008-06-13 21:22:35 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2008-06-13 21:22:35 +0000
commit485e22af0d6aa5b88e3b7756bcfba3788ad4840f (patch)
tree9426068e8e19a78619b7999e26bf05c11d33580b /app/cwm/cwmrc.5
parent4d24003fedd96a6d1e7801d9dd99e48ade5ba410 (diff)
finally document functions that can be bound, removing the need to have
name_to_kbfunc[] around. feedback jmc@, ok oga@
Diffstat (limited to 'app/cwm/cwmrc.5')
-rw-r--r--app/cwm/cwmrc.5114
1 files changed, 107 insertions, 7 deletions
diff --git a/app/cwm/cwmrc.5 b/app/cwm/cwmrc.5
index 7c63c77a8..07cc1049c 100644
--- a/app/cwm/cwmrc.5
+++ b/app/cwm/cwmrc.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cwmrc.5,v 1.7 2008/05/19 17:13:55 oga Exp $
+.\" $OpenBSD: cwmrc.5,v 1.8 2008/06/13 21:22:34 okan Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\" The following requests are required for all man pages.
-.Dd $Mdocdate: May 19 2008 $
+.Dd $Mdocdate: June 13 2008 $
.Dt CWMRC 5
.Os
.Sh NAME
@@ -73,11 +73,9 @@ or a numerical keycode value enclosed in
.Dq [] .
The
.Ar command
-may either be the name of a task from the
-.Dq name_to_kbfunc
-structure in
-.Pa conf.c ,
-or the commandline that is to be executed.
+may either be one from the
+.Sx BIND COMMAND LIST
+(see below) or the command line that is to be executed.
.Pp
A special
.Ar command
@@ -167,6 +165,108 @@ bind CM-r "label"
bind CS-Return "xterm -e top"
bind 4-o "unmap"
.Ed
+.Sh BIND COMMAND LIST
+.Bl -tag -width 18n -compact
+.It quit
+quit
+.Xr cwm 1
+.It terminal
+spawn a new terminal
+.It lock
+lock the screen
+.It search
+launch window search menu
+.It menusearch
+launch application search menu
+.It exec
+launch
+.Dq exec program
+menu
+.It exec_wm
+launch
+.Dq exec WindowManager
+menu
+.It ssh
+launch
+.Dq ssh
+menu
+.It group[n]
+select group n, where n is 1-9
+.It nogroup
+select all groups
+.It grouptoggle
+toggle group membership of a window
+.It cyclegroup
+forward cycle through groups
+.It rcyclegroup
+reverse cycle through groups
+.It cycle
+forward cycle through windows
+.It rcycle
+reverse cycle through windows
+.It delete
+delete a window
+.It hide
+hide a window
+.It lower
+lower a window
+.It raise
+raise a window
+.It label
+label a window
+.It maximize
+maximize a window full-screen
+.It vmaximize
+maximize a window vertically
+.It moveup
+move window 1 pixel up
+.It movedown
+move window 1 pixel down
+.It moveright
+move window 1 pixel right
+.It moveleft
+move window 1 pixel left
+.It bigmoveup
+move window 10 pixels up
+.It bigmovedown
+move window 10 pixels down
+.It bigmoveright
+move window 10 pixels right
+.It bigmoveleft
+move window 10 pixels left
+.It resizeup
+resize window 1 pixel up
+.It resizedown
+resize window 1 pixel down
+.It resizeright
+resize window 1 pixel right
+.It resizeleft
+resize window 1 pixel left
+.It bigresizeup
+resize window 10 pixels up
+.It bigresizedown
+resize window 10 pixels down
+.It bigresizeright
+resize window 10 pixels right
+.It bigresizeleft
+resize window 10 pixels left
+.It ptrmoveup
+move pointer 1 pixel up
+.It ptrmovedown
+move pointer 1 pixel down
+.It ptrmoveright
+move pointer 1 pixel right
+.It ptrmoveleft
+move pointer 1 pixel left
+.It bigptrmoveup
+move pointer 10 pixels up
+.It bigptrmovedown
+move pointer 10 pixels down
+.It bigptrmoveright
+move pointer 10 pixels right
+.It bigptrmoveleft
+move pointer 10 pixels left
+.El
.Sh FILES
.Bl -tag -width "~/.cwmrcXXX" -compact
.It Pa ~/.cwmrc