Quantcast

cwmrc(5) small cleanup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

cwmrc(5) small cleanup

Michael Reed-2
The signatures for the functions bind-key and bind-mouse do
not match how they are used.



diff --git a/app/cwm/cwmrc.5 b/app/cwm/cwmrc.5
index fbecaedb..1da9c08c 100644
--- a/app/cwm/cwmrc.5
+++ b/app/cwm/cwmrc.5
@@ -63,7 +63,7 @@ The name and class values, respectively, for existing windows
  are both set in the WM_CLASS property and may be obtained using
  .Xr xprop 1 .
  .Pp
-.It Ic bind-key Ar key function
+.It Ic bind-key Ar key Ns - Ns Ar function
  Bind or rebind key
  .Ar key
  to
@@ -92,7 +92,7 @@ may either be one from the
  .Sx BIND FUNCTION LIST
  (see below) or the command line that is to be executed.
  .Pp
-.It Ic bind-mouse Ar button function
+.It Ic bind-mouse Ar button Ns - Ns Ar function
  Bind or rebind button
  .Ar button
  to
@@ -245,7 +245,6 @@ A special
  keyword
  .Dq all
  can be used to unbind all buttons.
-.Pp
  .El
  .Sh BIND FUNCTION LIST
  .Bl -tag -width 23n -compact

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: cwmrc(5) small cleanup

Okan Demirmen
Hi,

On Sat 2017.03.18 at 20:53 -0400, Michael Reed wrote:
> The signatures for the functions bind-key and bind-mouse do
> not match how they are used.

How so?

The usage is "bind-key <key> <function>"; for example,
"bind-key C4-equal window-vmaximize" and say for mouse,
"bind-mouse M-2 window-resize"

If it's not working for you, please send me a snippet of the config that's not.

Thanks,
Okan

> diff --git a/app/cwm/cwmrc.5 b/app/cwm/cwmrc.5
> index fbecaedb..1da9c08c 100644
> --- a/app/cwm/cwmrc.5
> +++ b/app/cwm/cwmrc.5
> @@ -63,7 +63,7 @@ The name and class values, respectively, for existing windows
>  are both set in the WM_CLASS property and may be obtained using
>  .Xr xprop 1 .
>  .Pp
> -.It Ic bind-key Ar key function
> +.It Ic bind-key Ar key Ns - Ns Ar function
>  Bind or rebind key
>  .Ar key
>  to
> @@ -92,7 +92,7 @@ may either be one from the
>  .Sx BIND FUNCTION LIST
>  (see below) or the command line that is to be executed.
>  .Pp
> -.It Ic bind-mouse Ar button function
> +.It Ic bind-mouse Ar button Ns - Ns Ar function
>  Bind or rebind button
>  .Ar button
>  to
> @@ -245,7 +245,6 @@ A special
>  keyword
>  .Dq all
>  can be used to unbind all buttons.
> -.Pp
>  .El
>  .Sh BIND FUNCTION LIST
>  .Bl -tag -width 23n -compact
>

Loading...