diff options
author | okan | 2008-06-14 21:48:54 +0000 |
---|---|---|
committer | okan | 2008-06-14 21:48:54 +0000 |
commit | c13dbbd835133e5160bdeefa8251adef63c56a9e (patch) | |
tree | 7839e98d228f6339db838ea006fa49f539d18763 /cwmrc.5 | |
parent | b41388716ed8af14f5165df937627ad66200a0b5 (diff) | |
download | cwm-c13dbbd835133e5160bdeefa8251adef63c56a9e.tar.gz |
confable menu and window mouse bindings from rivo nurges (thanks!) with
some minor fixups, man page bits and knf.
ok oga@
Diffstat (limited to 'cwmrc.5')
-rw-r--r-- | cwmrc.5 | 63 |
1 files changed, 59 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $OpenBSD: cwmrc.5,v 1.8 2008/06/13 21:22:34 okan Exp $ +.\" $OpenBSD: cwmrc.5,v 1.9 2008/06/14 21:48:54 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: June 13 2008 $ +.Dd $Mdocdate: June 14 2008 $ .Dt CWMRC 5 .Os .Sh NAME @@ -130,6 +130,41 @@ where the user may wish to remain visible. Ignore drawing borders around a window with the name .Ar windowname . .Pp +.It Ic mousebind Ar buttons Ar command +Cause the creation of a mouse binding, or replacement of a default +mouse binding. +The modifier keys come first, followed by a +.Sq - . +.Pb +The following modifiers are recognised: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It C +The Control key. +.It M +The Meta key. +.El +.Pp +The +.Sq - +should be followed by number: +.Pb +.Bl -tag -width Ds -offset indent -compact +.Pp +.It 1 +Left mouse button. +.It 2 +Right mouse button. +.It 3 +Middle mouse button. +.El +.Pp +The +.Ar command +may be taken from the +.Sx MOUSEBIND COMMAND LIST +(see below). +.Pp .It Ic sticky Ic yes Ns \&| Ns Ic no Toggle sticky group mode. The default behavior for new windows is to not assign any group. @@ -161,9 +196,13 @@ ignore xapm ignore xclock # Keybindings -bind CM-r "label" +bind CM-r label bind CS-Return "xterm -e top" -bind 4-o "unmap" +bind 4-o unmap + +# Mousebindings +mousebind M-2 window_lower +mousebind M-3 window_resize .Ed .Sh BIND COMMAND LIST .Bl -tag -width 18n -compact @@ -267,6 +306,22 @@ move pointer 10 pixels right .It bigptrmoveleft move pointer 10 pixels left .El +.Sh MOUSEBIND COMMAND LIST +.Bl -tag -width 18n -compact +.It window_move +move a window +.It window_resize +resize a window +.It window_lower +lower a window +.It window_grouptoggle +.It menu_group +launch group list +.It menu_unhide +launch group list +.It menu_cmd +launch command list +.El .Sh FILES .Bl -tag -width "~/.cwmrcXXX" -compact .It Pa ~/.cwmrc |