diff options
Diffstat (limited to '')
-rw-r--r-- | cwmrc.5 | 134 |
1 files changed, 67 insertions, 67 deletions
@@ -1,4 +1,4 @@ -.\" $OpenBSD: cwmrc.5,v 1.59 2014/08/25 12:49:19 okan Exp $ +.\" $OpenBSD: cwmrc.5,v 1.60 2015/05/31 23:07:36 okan Exp $ .\" .\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 25 2014 $ +.Dd $Mdocdate: May 31 2015 $ .Dt CWMRC 5 .Os .Sh NAME @@ -72,14 +72,14 @@ The modifier keys come first, followed by a The following modifiers are recognised: .Pp .Bl -tag -width Ds -offset indent -compact -.It C -The Control key. -.It M -The Meta key. -.It S -The Shift key. -.It 4 -The Mod4 key (normally the windows key). +.It Ic C +Control key. +.It Ic M +Meta key. +.It Ic S +Shift key. +.It Ic 4 +Mod4 (windows) key. .El .Pp The @@ -186,14 +186,14 @@ The modifier keys come first, followed by a The following modifiers are recognised: .Pp .Bl -tag -width Ds -offset indent -compact -.It C -The Control key. -.It M -The Meta key. -.It S -The Shift key. -.It 4 -The Mod4 key (normally the windows key). +.It Ic C +Control key. +.It Ic M +Meta key. +.It Ic S +Shift key. +.It Ic 4 +Mod4 (windows) key. .El .Pp The @@ -201,15 +201,15 @@ The should be followed by number: .Pp .Bl -tag -width Ds -offset indent -compact -.It 1 +.It Ic 1 Left mouse button. -.It 2 +.It Ic 2 Middle mouse button. -.It 3 +.It Ic 3 Right mouse button. -.It 4 +.It Ic 4 Scroll up mouse button. -.It 5 +.It Ic 5 Scroll down mouse button. .El .Pp @@ -235,48 +235,6 @@ By enabling sticky group mode, .Xr cwm 1 will assign new windows to the currently selected group. .El -.Sh EXAMPLE CONFIGURATION -.Bd -literal -# Set default Xft(3) font -fontname "sans-serif:pixelsize=14:bold" - -# Turn on sticky-group mode -sticky yes - -# Any entry here is shown in the application menu -command firefox firefox -command xmms xmms -command top "xterm -e top" - -# Autogroup definitions -autogroup 3 "aterm,XTerm" -autogroup 3 "xterm,XTerm" - -# Ignore programs by that name by not drawing borders around them. -ignore XMMS -ignore xwi -ignore xapm -ignore xclock - -# Key bindings -bind CM-r label -bind CS-Return "xterm -e top" -bind 4-o unmap -bind CM-equal unmap -bind CMS-equal unmap -bind C4-equal vmaximize -bind C4S-equal hmaximize -bind M-1 grouponly1 -bind M-2 grouponly2 -bind M-3 grouponly3 -bind MS-1 movetogroup1 -bind MS-2 movetogroup2 -bind MS-3 movetogroup3 - -# Mouse bindings -mousebind M-2 window_lower -mousebind M-3 window_resize -.Ed .Sh BIND COMMAND LIST .Bl -tag -width 18n -compact .It restart @@ -482,10 +440,52 @@ Launch command list. .Sh FILES .Bl -tag -width "~/.cwmrcXXX" -compact .It Pa ~/.cwmrc -default +Default .Xr cwm 1 -configuration file +configuration file. .El +.Sh EXAMPLES +.Bd -literal +# Set default Xft(3) font +fontname "sans-serif:pixelsize=14:bold" + +# Turn on sticky-group mode +sticky yes + +# Any entry here is shown in the application menu +command firefox firefox +command xmms xmms +command top "xterm -e top" + +# Autogroup definitions +autogroup 3 "aterm,XTerm" +autogroup 3 "xterm,XTerm" + +# Ignore programs by that name by not drawing borders around them. +ignore XMMS +ignore xwi +ignore xapm +ignore xclock + +# Key bindings +bind CM-r label +bind CS-Return "xterm -e top" +bind 4-o unmap +bind CM-equal unmap +bind CMS-equal unmap +bind C4-equal vmaximize +bind C4S-equal hmaximize +bind M-1 grouponly1 +bind M-2 grouponly2 +bind M-3 grouponly3 +bind MS-1 movetogroup1 +bind MS-2 movetogroup2 +bind MS-3 movetogroup3 + +# Mouse bindings +mousebind M-2 window_lower +mousebind M-3 window_resize +.Ed .Sh SEE ALSO .Xr cwm 1 .Sh HISTORY |