<simplesect id="config-configfile-keywords" xreflabel="Config File Keywords"> 
  <title>Config File Keywords</title>

  <para>
    Here's a table showing the different elements that can be used in 
    your <filename>config</filename> file. Remember that 'boolean' means 'true' or 'false' and that 
    all values should be placed inside quotes.
  </para>

  <para>
    <variablelist>
      <title>Config File Elements under the Files-section:</title>

      <varlistentry>
        <term>Keys (string)</term>
        <listitem>
          <para>The location of the keys file, such as <filename>~/.pekwm/keys</filename></para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Menu (string)</term>
        <listitem>
          <para>The location of the menu file, such as <filename>~/.pekwm/menu</filename></para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Start (string)</term>
        <listitem>
          <para>The location of the start file, such as <filename>~/.pekwm/start</filename></para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AutoProps (string)</term>
        <listitem>
          <para>The location of the autoprops file, such as <filename>~/.pekwm/autoproperties</filename></para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Theme (string)</term>
        <listitem>
          <para>The location of the Theme directory, such as <filename>~/.pekwm/themes/themename</filename></para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Icons (string)</term>
        <listitem>
          <para>The location of the Icons directory, such as <filename>~/.pekwm/icons</filename></para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the MoveResize-section:</title>

      <varlistentry>
        <term>EdgeAttract (int)</term>
        <listitem>
          <para>The distance from screen edge required for the window to snap against it in pixels.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>EdgeResist (int)</term>
        <listitem>
          <para>The distance from screen edge required for the window moving to start being resisted in pixels.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WindowAttract (int)</term>
        <listitem>
          <para>The distance from other clients that a window will snap against them to in pixels.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WindowResist (int)</term>
        <listitem><para>The distance from other clients that a window movement will start being resisted.</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>OpaqueMove (boolean)</term>
        <listitem><para>If true, turns on opaque Moving</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>OpaqueResize (boolean)</term>
        <listitem><para>If true, turns on opaque Resizing</para></listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the Screen-section:</title>

      <varlistentry>
        <term>Workspaces (int)</term>
        <listitem><para>Number of workspaces enabled.</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>WorkspacesPerRow (int)</term>
        <listitem>
          <para>Number of workspaces on each row. Value &lt; 1 fits all workspaces on a single row.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WorkspaceNames (string)</term>
        <listitem>
          <para>List of names for workspaces separated by ;.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ShowFrameList (boolean)</term>
        <listitem>
          <para>Controls whether a list of all available frames on the workspace is displayed during the NextFrame/PrevFrame actions.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ShowStatusWindow (boolean)</term>
        <listitem><para>Controls whether a size/position info window is shown when moving or resizing windows.</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>ShowStatusWindowCenteredOnRoot (boolean)</term>
        <listitem><para>Controls whether a size/position info window is shown centered on the current head or the current window.</para></listitem>
      </varlistentry>
      <varlistentry>
	<term>ShowClientID (boolean)</term>
	<listitem>
          <para>Should Client IDs be displayed in window titles.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ShowWorkspaceIndicator (int)</term>
        <listitem>
          <para>Show WorkspaceIndicator for N milliseconds. If set to &lt; 1, the WorkspaceIndicator is disabled.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WorkspaceIndicatorScale (int)</term>
        <listitem>
          <para>Changes the size of the WorkspaceIndicator, higher value means smaller size.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WorkspaceIndicatorOpacity (int)</term>
        <listitem>
          <para>Sets the opacity/transparency of the WorkspaceIndicator. A value of 100 means completely opaque, while 0 stands for completely transparent.</para>
          <para>Note that a Composite Manager needs to be running for this feature to take effect.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FocusNew (boolean)</term>
        <listitem>
          <para>Toggles if new windows should be focused when they pop up.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FocusNewChild (boolean)</term>
        <listitem>
          <para>
             Toggles if new transient windows should be focused when they pop
             up if the window they are transient for is focused.
           </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>PlaceNew (boolean)</term>
        <listitem>
          <para>Toggles if new windows should be placed using the rules found in the Placement subsection, or just opened on the top left corner of your screen.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ReportAllClients (boolean)</term>
        <listitem>
          <para>Toggles if all clients in a frame or only the active one should be reported and thus displayed in pager applications etc.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>TrimTitle (string)</term>
        <listitem>
          <para>This string contains what pekwm uses to trim down overlong window titles. If it's empty, no trimming down is performed at all.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FullscreenAbove (boolean)</term>
        <listitem>
          <para>Toggles restacking of windows when going to and from fullscreen mode. Windows are restacked to the top of all windows when going to fullscreen and to the top of their layer when being restored from fullscreen.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FullscreenDetect (boolean)</term>
        <listitem>
          <para>Toggles detection of broken fullscreen requests setting clients to fullscreen mode when requesting to be the size of the screen. Default true.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HonourRandr (boolean)</term>
        <listitem>
          <para>Toggles reading of XRANDR information, this can be disabled if the display driver gives both Xinerama and Randr information and only of the two is correct. Default true.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HonourAspectRatio (boolean)</term>
        <listitem>
          <para>Toggles if pekwm respects the aspect ratio of clients (XSizeHints). Default true.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>EdgeSize (int) (int) (int) (int)</term>
        <listitem>
          <para>
            How many pixels from the edge of the screen should screen
            edges be. Parameters correspond to the following edges:
            top bottom left right. A value of 0 disables edges.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>EdgeIndent (boolean)</term>
        <listitem>
          <para>Toggles if the screen edge should be reserved space.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>DoubleClicktime (int)</term>
        <listitem>
          <para>Time, in milliseconds, between clicks to be counted as a doubleclick.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the Placement-subsection of the Screen-section:</title>

      <varlistentry>
        <term>TransientOnParent (bool)</term>
        <listitem>
          <para>Set to true if you want the transient windows to be mappend on their "parent" window (tiling layouters might ignore this option).</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Model (string)</term>
        <listitem>
          <para>
            <itemizedlist>
              <listitem>
                <para>Smart - Tries to place windows where no other window is present</para>
              </listitem>
              <listitem>
                <para>MouseCentered - Places the center of the window underneath the current mouse pointer position</para>
              </listitem>
              <listitem>
                <para>MouseTopLeft - Places the top-left corner of the window under the pointer</para>
              </listitem>
              <listitem>
                <para>MouseNotUnder - Places windows on screen corners avoiding the current mouse cursor position.</para>
              </listitem>
              <listitem>
                <para>CenteredOnParent - Places transient windows at center of their parent window.</para>
              </listitem>
              </itemizedlist>
           </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WorkspacePlacements (string)</term>
        <listitem>
          <para>List of placement models for the workspaces separated by ;. For an explanation of the allowed options see "Model" above.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the Smart-subsection of the Placement-subsection:</title>

      <varlistentry>
        <term>Row (boolean)</term>
	<listitem>
          <para>Whether to use row or column placement, if true, uses row.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>TopToBottom (boolean)</term>
	<listitem>
          <para>If false, the window is placed starting from the bottom.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>LeftToRight (boolean)</term>
	<listitem>
          <para>If false, the window is placed starting from the right.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>OffsetX (int)</term>
	<listitem>
          <para>Pixels to leave between new and old windows and screen edges. When 0, no space is reserved.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>OffsetY (int)</term>
	<listitem>
          <para>Pixels to leave between new and old windows and screen edges. When 0, no space is reserved.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the UniqueNames-subsection of the Screen-section:</title>

      <varlistentry>
        <term>SetUnique (boolean)</term>
	<listitem>
          <para>Decides if the feature is used or not. False or True.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Pre (string)</term>
	<listitem>
          <para>String to place before the unique client number.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Post (string)</term>
	<listitem>
          <para>String to place after the unique client number.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the CmdDialog-section:</title>

      <varlistentry>
        <term>HistoryUnique (boolean)</term>
	<listitem>
          <para>If true, identical items in the history will only appear once where the most recently used is the first item. Default true.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HistorySize (integer)</term>
	<listitem>
          <para>Number of entries in the history that should be kept track of. Default 1024.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HistoryFile (string)</term>
	<listitem>
          <para>Path to history file where history is persisted between session. Default ~/.pekwm/history</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HistorySaveInterval (int)</term>
	<listitem>
          <para>Defines how often the history file should be saved counting each time the CmdDialog finish a command. Default 16.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the Menu-section:</title>

      <varlistentry>
        <term>DisplayIcons (boolean)</term>
        <listitem>
          <para>Defines wheter menus should render their icons. Default true.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>FocusOpacity (int)</term>
        <listitem>
          <para>Sets the opacity/transparency for focused Menus. A value of 100 means completely opaque, while 0 stands for completely transparent.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>UnfocusOpacity (int)</term>
        <listitem>
          <para>Sets the opacity/transparency for unfocused Menus.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>Icons = "MENU"</term>
        <listitem>
          <variablelist>
            <varlistentry>
              <term>Minimum (width x height)</term>
              <listitem>
                <para>Defines minimum size of icons, if 0x0 no check is done. Default 16x16.</para>
              </listitem>
            </varlistentry>

            <varlistentry>
              <term>Maximum (width x height)</term>
              <listitem>
                <para>Defines maximum size of icons, if 0x0 no check is done. Default 16x16.</para>
              </listitem>
            </varlistentry>
          </variablelist>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>Select (list of strings)</term>
	<listitem>
          <para>Decides on what mouse events to select a menu entry. List is space separated and can include "ButtonPress, ButtonRelease, DoubleClick, Motion, MotionPressed"</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Enter (list of strings)</term>
	<listitem>
          <para>Decides on what mouse events to enter a submenu. List is space separated and can include "ButtonPress, ButtonRelease, DoubleClick, Motion, MotionPressed"</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Exec (list of strings)</term>
	<listitem>
          <para>Decides on what mouse events to execute an entry. List is space separated anc can include "ButtonPress, ButtonRelease, DoubleClick, Motion, MotionPressed"</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the Harbour-section:</title>

      <varlistentry>
        <term>Placement (string)</term>
	<listitem>
          <para>Which edge to place the harbour on. One of Right, Left, Top, or Bottom.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Orientation (string)</term>
	<listitem>
          <para>From what to which direction the harbour expands. One of TopToBottom, BottomToTop, RightToLeft, LeftToRight.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>OnTop (boolean)</term>
	<listitem>
          <para>Whether or not the harbour is "always on top"</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MaximizeOver (boolean)</term>
	<listitem>
          <para>Controls whether maximized clients will cover the harbour (true), or if they will stop at the edge of the harbour (false).</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Head (int)</term>
	<listitem>
          <para>When RandR or Xinerama is on, decides on what head the harbour resides on. Integer is the head number.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Opacity (int)</term>
        <listitem>
          <para>Sets the opacity/transparency for the harbour. A value of 100 means completely opaque, while 0 stands for completely transparent.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Config File Elements under the DockApp-subsection of the Harbour-section:</title>

      <varlistentry>
        <term>SideMin (int)</term>
	<listitem>
          <para>Controls the minimum size of dockapp clients. If a dockapp client is smaller than the minimum, it gets resized up to the SideMin value. Integer is a number of pixels.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>SideMax (int)</term>
	<listitem>
          <para>Controls the maximum size of dockapp clients. If a dockapp client is larger than the maximum, it gets resized down to the SideMax value. Integer is a number of pixels.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </para>

</simplesect>
