X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=html%2Fman.html;h=58c2ba3381bbb283cecebe870ecf753279209b69;hb=7eba279832dfa6c441d71b16df111dd839a182bc;hp=50600f048ccb70cb8ed3c0bfc3cf11983f796b24;hpb=667eb8f7002deec7814f5b36b8d5663d4a01f898;p=spectrwm.git diff --git a/html/man.html b/html/man.html index 50600f0..58c2ba3 100644 --- a/html/man.html +++ b/html/man.html @@ -99,6 +99,8 @@                                   key and Mod4 is the windows key on a PC.
           bind[x]                Bind key combo to action x.  See the
                                  BINDINGS section below.
+           quirk[c:n]             Add "quirk" for windows with class c and
+                                  name n.  See the QUIRKS section below.

     Colors need to be specified per the XQueryColor(3) specification and
     fonts need to be specified per the XQueryFont(3) specification.
@@ -193,13 +195,68 @@
     <action> is one of the actions listed above (or empty) and <keys> is in
     the form of zero or more modifier keys (MOD, Mod1, Shift, etc.) and one
-     or more normal keys (b, space, etc.), separated by "+". For example:
+     or more normal keys (b, space, etc.), separated by "+".  For example:

           bind[reset] = Mod4+q # bind Windows-key + q to reset
           bind[] = Mod1+q # unbind Alt + q

     Multiple key combinations may be bound to the same action.

+QUIRKS
+     scrotwm provides "quirks" which handle windows that must be treated spe-
+     cially in a tiling window manager, such as some dialogs and fullscreen
+     apps.
+
+     The default quirks are described below:
+
+           Firefox-bin:firefox-bin                 TRANSSZ
+           Firefox:Dialog                          FLOAT
+           Gimp:gimp                               FLOAT | ANYWHERE
+           MPlayer:xv                              FLOAT | FULLSCREEN
+           OpenOffice.org 2.4:VCLSalFrame          FLOAT
+           OpenOffice.org 3.1:VCLSalFrame          FLOAT
+           pcb:pcb                                 FLOAT
+           xine:Xine Window                        FLOAT | ANYWHERE
+           xine:xine Panel                         FLOAT | ANYWHERE
+           xine:xine Video Fullscreen Window       FULLSCREEN | FLOAT
+           Xitk:Xitk Combo                         FLOAT | ANYWHERE
+           Xitk:Xine Window                        FLOAT | ANYWHERE
+           XTerm:xterm                             XTERM_FONTADJ
+
+     The quirks themselves are described below:
+
+           FLOAT                  This window should not be tiled, but allowed
+                                  to float freely.
+           TRANSSZ                Adjusts size on transient windows that are
+                                  too small using dialog_ratio (see
+                                  CONFIGURATION FILES).
+           ANYWHERE               Allow window to position itself, uncentered.
+           XTERM_FONTADJ          Adjust xterm fonts when resizing.
+           FULLSCREEN             Remove border to allow window to use full
+                                  screen size.
+
+     Custom quirks in the configuration file are specified as follows:
+
+           quirk[<class>:<name>] = <quirk> [| <quirk> ...]
+
+     <class> and <name> specify the window to which the quirk(s) apply, and
+     <quirk> is one of the quirks from the list above.  For example:
+
+           quirk[MPlayer:xv] = FLOAT | FULLSCREEN # let mplayer play
+           quirk[pcb:pcb] = NONE  # remove existing quirk
+
+     Note that spaces in <class> or <name> must be replaced by an underscore
+     in the configuration.  The config entry for "xine:Xine Panel" would be:
+
+           quirk[xine:Xine_Panel] = FLOAT
+
+     You can obtain <class> and <name> by running xprop(1) and then clicking
+     on the desired window.  In the following example the main window of Fire-
+     fox was clicked:
+
+           $ xprop | grep WM_CLASS
+           WM_CLASS(STRING) = "Navigator", "Firefox"
+
FILES
     ~/.scrotwm.conf       scrotwm user specific settings.
     /etc/scrotwm.conf     scrotwm global settings.
@@ -215,9 +272,7 @@ BUGS
     Currently the menu, invoked with M-p, depends on dmenu.

-OpenBSD 4.5                     March 10, 2009                               4
+OpenBSD 4.5                      May 25, 2009                                5
-

- $scrotwm$