123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524 |
- .\"
- .\" groff -man -Tascii jwm.1
- .\"
- .TH jwm 1 "2020-12-02" "v2.2.0"
- .SH NAME
- JWM - Joe's Window Manager
- .SH SYNOPSIS
- .BR jwm " [options]"
- .SH DESCRIPTION
- JWM is a window manager for the X11 Window System.
- .SH OPTIONS
- \fB\-display\fP \fIdisplay\fP
- .RS
- This option specifies the display to use; see \fBX\fP(1).
- .RE
- .P
- .B "-exit"
- .RS
- Exit JWM by sending _JWM_EXIT to the root window.
- .RE
- .P
- .B "-h"
- .RS
- Display a help message and exit.
- .RE
- .P
- .B "-p"
- .RS
- Parse the configuration file and exit.
- It is a good idea to use this after making modifications to the configuration
- file to ensure there are no errors.
- .RE
- .P
- .B "-restart"
- .RS
- Restart JWM by sending _JWM_RESTART to the root window.
- .RE
- .P
- .B "-reload"
- .RS
- Reload menus by sending _JWM_RELOAD to the root window.
- .RE
- .P
- .B "-v"
- .RS
- Display version information and exit.
- .RE
- .SH FILES
- .IP "/freon/etc/system.jwmrc"
- The default JWM configuration file.
- .IP "~/.jwmrc"
- Local configuration file. Copy the default configuration file to this
- location to make user-specific changes.
- .SH CONFIGURATION
- .B OVERVIEW
- .RS
- Configuration of JWM is done by editing ".jwmrc". This file is XML
- making it easy to edit, either by hand or programmatically. The
- example.jwmrc gives an example configuration file.
- Before restarting JWM, it is a good idea to run "jwm \-p" to make
- sure the configuration file is free of errors. Otherwise you may end up
- without a root menu.
- .RE
- .P
- .B "ROOT MENU"
- .RS
- The root menu in JWM is the primary way of starting programs.
- It also provides a way to restart or exit the window manager.
- The outer most tag is \fBRootMenu\fP. The following attributes are
- supported:
- .P
- \fBonroot\fP \fIlist\fP
- .RS
- Determine which buttons on the root window activate the menu.
- This is a list of integers specifying buttons. The default is "123".
- Note that multiple root menus may be specified by using different
- buttons for different menus. The range of possible button values is
- \fB0\fP to \fB9\fP inclusive.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- Height of each menu item in pixels. 0 indicates the largest menu item
- will determine the height. The default is 0.
- .RE
- .P
- \fBlabeled\fP \fIbool\fP
- .RS
- Determines if a label appears at the top of the menu. Default is false.
- .RE
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to display at the top of the menu. Default is "JWM".
- .RE
- .P
- Within the \fBRootMenu\fP tag, the following tags are supported:
- .P
- .B Menu
- .RS
- This tag creates a submenu item. Any of the tags allowed within the
- \fBRootMenu\fP tag, including the \fBMenu\fP tag are allowed within this
- element. The following attributes are supported:
- .P
- \fBheight\fP \fIint\fP
- .RS
- Height of each menu item in pixels. 0 indicates the largest menu item
- will determine the height. The default is inherited from the parent menu.
- .RE
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. No default.
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this menu. No default.
- .RE
- .P
- \fBlabeled\fP \fIbool\fP
- .RS
- Determines if a label appears at the top of the menu. Default is false.
- .RE
- .RE
- .P
- .B Include
- .RS
- Include the contents of a file into the menu structure. The file must
- start with a "JWM" tag. The file is specified by the text of the tag.
- If the text starts with "exec:" then the output of a program is used.
- .RE
- .P
- .B Program
- .RS
- The \fBProgram\fP tag provides a way to start an external program. The text
- in this tag is the command used to start the program.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to display. Default is the text of the tag.
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use. No default.
- .RE
- .RE
- .P
- .B Separator
- .RS
- This tag simply puts a line in the menu allowing menu divisions.
- No text or attributes are used.
- .RE
- .P
- .B Desktops
- .RS
- Add a desktop menu. This will add a submenu with a list of desktops that
- can be used to change the current desktop.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use for the menu. The default is "Desktops".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B SendTo
- .RS
- Add a "send to" menu to the menu. After selecting an item from this menu,
- a window may be selected to send that window to the selected desktop.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "SendTo".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Stick
- .RS
- Add a stick/unstick window operation to the menu. After selecting this
- item a window may be selected to toggle the sticky state of that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Stick".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Maximize
- .RS
- Add a maximize window operation to the menu. After selecting this
- item a window may be selected to toggle the maximized state of that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Maximize".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Minimize
- .RS
- Add a minimize window operation to the menu. After selecting this
- item a window may be selected to minimize that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Minimize".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Shade
- .RS
- Add a shade/unshade window operation to the menu. After selecting this
- item a window may be selected to toggle the shaded status of that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Shade".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Move
- .RS
- Add a move window operation to the menu. After selecting this
- item a window may be selected to move that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Move".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Resize
- .RS
- Add a resize window operation to the menu. After selecting this
- item a window may be selected to resize that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Resize".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Kill
- .RS
- Add a kill window operation to the menu. After selecting this
- item a window may be selected to kill that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Kill".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Close
- .RS
- Add a close window operation to the menu. After selecting this
- item a window may be selected to close that window.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Close".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use for this item. No default.
- .RE
- .RE
- .P
- .B Restart
- .RS
- This tag adds a menu item to restart the window manager.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Restart".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use. No default.
- .RE
- .RE
- .P
- .B Exit
- .RS
- This tag adds a menu item to exit the window manager. If text is
- present within this tag, it is interpreted as a command to run when JWM
- exits. This can be used to start another window manager.
- The following attributes are supported:
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- The label to use. The default is "Exit".
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- The icon to use. No default.
- .RE
- .P
- \fBconfirm\fP \fIbool\fP
- .RS
- Determine if a confirm dialog appears before exiting. Default is true.
- .RE
- .P
- Note that confirm dialogs can be disabled completely at the compile-time.
- .RE
- .RE
- .B TRAYS
- .RS
- One or more trays may be created via the \fBTray\fP tag.
- This tag supports the following attributes:
- .P
- \fBautohide\fP \fIbool\fP
- .RS
- Allows this tray to hide itself when not activated. Default is false.
- .RE
- .P
- \fBx\fP \fIint\fP
- .RS
- The x-coordinate of the tray. This may be negative to indicate an offset
- from the right of the screen.
- .RE
- .P
- \fBy\fP \fIint\fP
- .RS
- The y-coordinate of the tray. This may be negative to indicate an offset
- from the bottom of the screen.
- .RE
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The width of the tray. 0 indicates that the tray should compute an
- optimal width depending on what it contains and the layout. 0 is the
- default.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- The height of the tray. 0 indicates that the tray should compute an
- optimal height depending on what it contains and the layout. 0 is the
- default.
- .RE
- .P
- \fBborder\fP \fIint\fP
- .RS
- The width of the border. The default is 1. Valid values are between 0 and 32
- inclusive.
- .RE
- .P
- \fBlayer\fP { \fBbelow\fP | \fBnormal\fP | \fBabove\fP }
- .RS
- The layer of the tray. The default is \fBabove\fP.
- .RE
- .P
- \fBlayout\fP { \fBvertical\fP | \fBhorizontal\fP }
- .RS
- The layout of the tray. The default is \fBhorizontal\fP.
- .RE
- .P
- \fBvalign\fP { \fBfixed\fP | \fBtop\fP | \fBcenter\fP | \fBbottom\fP }
- .RS
- The vertical alignment of the tray. The default is \fBfixed\fP.
- .RE
- .P
- \fBhalign\fP { \fBfixed\fP | \fBleft\fP | \fBcenter\fP | \fBright\fP }
- .RS
- The horizontal alignment of the tray. The default is \fBfixed\fP.
- .RE
- .P
- Within this tag the following tags are supported:
- .P
- .B Clock
- .RS
- Add a clock to the tray. The text of this tag is a command to run
- when the clock is clicked. This tag supports the following attributes:
- .P
- \fBformat\fP \fIstring\fP
- .RS
- The format of the clock. See \fBstrftime\fP(3).
- .RE
- .P
- \fBzone\fP \fIstring\fP
- .RS
- The time zone of the clock. See \fBtzset\fP(3).
- .RE
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The width of the clock. 0 indicates that the width should be determined
- from the length of the text to be displayed.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- The height of the clock. 0 indicates that the height should be determined
- from the font used.
- .RE
- .RE
- .P
- .B Dock
- .RS
- Add a dock for system notifications. This can be used by those programs
- that use the _NET_SYSTEM_TRAY_Sn selection. The size of the Dock is
- dynamic based on the size of the tray and the number of items contained.
- Only one Dock is allowed per instance of JWM. This tag supports the
- following attribute:
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The maximum width of an item contained in the dock. This defaults to
- the width or height of the tray (whichever is smaller).
- .RE
- .RE
- .P
- .B Pager
- .RS
- Add a pager to the tray.
- A pager shows a miniature representation of a desktop.
- When over the pager, the scroll wheel will switch desktops.
- Holding down the right mouse button allows you
- to drag a window around in the pager which changes its position on the
- real desktop.
- You can also drag a window in the pager from one desktop to another.
- This tag supports the following attributes:
- .P
- \fBlabeled\fP \fIbool\fP
- .RS
- Determines if the pager has text labels. Default is false.
- .RE
- .P
- Also see the \fBPAGER STYLE\fP section for more information.
- .RE
- .P
- .B Spacer
- .RS
- Add empty space to the tray.
- This tag supports the following attributes:
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The width of the spacer (0 to fill all available space). 0 is the default.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- The height of the spacer (0 to fill all available space). 0 is the default.
- .RE
- .RE
- .P
- .B Swallow
- .RS
- Swallow a program into the tray. The text of this tag gives the
- command to run.
- This tag supports the following attributes:
- .P
- \fBname\fP \fIstring\fP
- .RS
- The name of the program to swallow. This attribute is required.
- .RE
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The width of the swallowed program. 0 indicates that the width should
- be determined from the tray and size requested from the program. 0 is
- the default.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- The height of the swallowed program. 0 indicates that the height should
- be determined from the tray and the size requested from the program. 0 is
- the default.
- .RE
- .RE
- .P
- .B TaskList
- .RS
- Add a task list to the tray.
- This tag supports the following attributes:
- .P
- \fBborder\fP \fIbool\fP
- .RS
- Determines if items in the task list have a border. Default is true.
- .RE
- .P
- \fBmaxwidth\fP \fIint\fP
- .RS
- The maximum width of an item in the task list. 0 indicates no maximum.
- The default is 0.
- .RE
- .RE
- .P
- .B TrayButton
- .RS
- Add a button to the tray. The text of this tag determines what action to
- take when the button is clicked. The following actions are supported:
- .P
- \fBroot:\fP\fIn\fP
- .RS
- Show root menu \fIn\fP.
- Note that the default TrayButton action is \fBroot:1\fP.
- .RE
- .P
- \fBexec:\fP \fIstring\fP
- .RS
- Execute a command.
- .RE
- .P
- \fBshowdesktop\fP
- .RS
- Minimize all windows on the current desktop.
- .RE
- .P
- This tag supports the following attributes:
- .P
- \fBborder\fP \fIbool\fP
- .RS
- Determines if a the button has a border. Default is true.
- .RE
- .P
- \fBlabel\fP \fIstring\fP
- .RS
- A label to display. No default.
- .RE
- .P
- \fBpopup\fP \fIstring\fP
- .RS
- A string to be displayed for a popup. This will default to the value
- specified for \fBlabel\fP, if provided. If neither \fBpopup\fP nor
- \fBlabel\fP are specified no popup will be shown.
- .RE
- .P
- \fBicon\fP \fIstring\fP
- .RS
- An icon to display. No default.
- .RE
- .RE
- .RE
- .B INCLUDES
- .RS
- Other configuration files may be included under the JWM tag via the
- \fBInclude\fP tag. The text of this tag specifies the location of an
- additional configuration file. The path may be relative to the location
- JWM was started, an absolute path, or a path referencing an environment
- variable (using '$'). The format of the configuration file is the same as
- the main configuration file.
- .RE
- .B "GROUP SETTINGS"
- .RS
- Program groups allow one to specify options which apply to a group of
- programs by name and/or class. A program group is created with the
- \fBGroup\fP tag. As many program groups can be created as desired.
- If one or more \fBName\fP tags is specified, at least one name must
- match. Likewise, if one or more \fBClass\fP tags is specified, at least
- one class must match.
- JWM matches using extended POSIX regular expressions for both \fBName\fP
- and \fBClass\fP tags. See \fBregex\fP(7).
- Within the \fBGroup\fP tag the following tags are supported:
- .P
- .B Name
- .RS
- The window name of a program to match to be in this group (the
- first string in WM_CLASS).
- .RE
- .B Class
- .RS
- The window class for a program to match to be in this group (the
- second string in WM_CLASS).
- .RE
- .B Option
- .RS
- An option for this group. Possible options are:
- .P
- .B border
- .RS
- Causes windows in this group to have a border.
- .RE
- .P
- .B centered
- .RS
- Center windows in this group upon initial placement instead of using
- cascaded placement.
- .RE
- .P
- .B constrain
- .RS
- Constrain windows in this group to the screen.
- .RE
- .P
- \fBdesktop:\fP\fI#\fP
- .RS
- The desktop on which windows in this group will be started.
- .RE
- .P
- .B hmax
- .RS
- Make windows in this group maximize horizontally.
- .RE
- .P
- \fBicon:\fP\fIstring\fP
- .RS
- The icon to be used for windows in this group.
- .RE
- .P
- .B iignore
- .RS
- Ignore the size increment hint when maximizing windows in this group.
- .RE
- .P
- \fBlayer:\fP\fIstring\fP
- .RS
- The layer on which windows in this group will be started.
- Valid options are \fBbelow\fP, \fBnormal\fP, and \fBabove\fP
- .RE
- .P
- .B maximized
- .RS
- Make windows in this group initially maximized.
- .RE
- .P
- .B minimized
- .RS
- Make windows in this group initially minimized.
- .RE
- .P
- .B noborder
- .RS
- Causes windows in this group to be displayed without a border.
- .RE
- .P
- .B nofocus
- .RS
- Prevents windows in the group from grabbing the focus when mapped.
- .RE
- .P
- .B nolist
- .RS
- Causes the tray to ignore windows in this group.
- .RE
- .P
- .B nopager
- .RS
- Causes the pager to ignore windows in this group.
- .RE
- .P
- .B noshade
- .RS
- Prevent windows in this group from being shaded.
- .RE
- .P
- .B notitle
- .RS
- Causes windows in this group to be displayed without a title bar.
- .RE
- .P
- .B noturgent
- .RS
- Ignore the urgent hint for windows in this group.
- .RE
- .P
- \fBopacity:\fP\fI#\fP
- .RS
- Set the opacity for windows in this group.
- The value is a number between 0.0 and 1.0 inclusive.
- .RE
- .P
- .B pignore
- .RS
- Ignore initial window position requested by program.
- .RE
- .P
- .B shaded
- .RS
- Make windows in this group initially shaded.
- .RE
- .P
- .B sticky
- .RS
- Make windows in this group sticky.
- .RE
- .P
- .B tiled
- .RS
- Attempt to tile windows in this group upon initial placement.
- If tiled placement fails, windows will fall back to cascaded placement
- (the default) or centered if specified.
- .RE
- .P
- .B title
- .RS
- Forces windows in this group to have a title bar.
- .RE
- .P
- .B vmax
- .RS
- Make windows in this group maximize vertically.
- .RE
- .RE
- .RE
- .B "WINDOW STYLE"
- .RS
- The \fBWindowStyle\fP tag controls the look of window borders.
- Within this tag, the following tags are supported:
- .P
- .B Font
- .RS
- The font used for title bars. See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Width
- .RS
- The width of window borders in pixels. The default is 4, the minimum is 1,
- and the maximum is 128.
- .RE
- .P
- .B Height
- .RS
- The height of window title bars in pixels. The default is 20, the minimum
- is 2, and the maximum is 256.
- .RE
- .P
- .P
- .B Active
- .RS
- The colors/opacity used for the active window. See the \fBCOLORS\fP section for
- more information on colors. The following tags are supported:
- .P
- .B Text
- .RS
- The color of text on the title bar.
- The default is white.
- .RE
- .P
- .B Title
- .RS
- The color of the title bar (gradients are supported).
- The default is #CC7700:#884400.
- .RE
- .P
- .B Opacity
- .RS
- The opacity of the window. This is a floating point value between 0.0 and 1.0.
- The default is 1.0.
- Note that a composite manager, such as xcompmgr, is required for this.
- .RE
- .P
- .B Outline
- .RS
- The color of the window outline.
- The default is black.
- .RE
- .RE
- .P
- .B Inactive
- .RS
- The colors used for inactive windows. See the \fBCOLORS\fP section for
- more information on colors. The following tags are supported:
- .P
- .B Text
- .RS
- The color of text on the title bar.
- The default is white.
- .RE
- .P
- .B Title
- .RS
- The color of the title bar (gradients are supported).
- The default is #333333:#111111.
- .RE
- .P
- .B Opacity
- .RS
- The opacity of inactive windows. This is a floating point value between
- 0.0 and 1.0. The default is 0.75. Note that a composite manager, such as
- xcompmgr, is required for this.
- .RE
- .P
- .B Outline
- .RS
- The color of the window outline.
- The default is black.
- .RE
- .RE
- .RE
- .B "TRAY STYLE"
- .RS
- The \fBTrayStyle\fP tag controls the look of trays.
- Within this tag the following tag is supported:
- .P
- .B Font
- .RS
- The default tray font to use. See the \fBFONTS\fP section for more
- information.
- .RE
- .P
- .B Foreground
- .RS
- The default foreground color. See the \fBCOLORS\fP section for
- more information.
- .RE
- .P
- .B Background
- .RS
- The default background color. See the \fBCOLORS\fP section for
- more information.
- .RE
- .P
- .B ActiveForeground
- .RS
- The default foreground color for active items.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B ActiveBackground
- .RS
- The default background color for active items.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Opacity
- .RS
- The opacity of trays. This is a floating point value between 0.0 and 1.0.
- Note that a composite manager, such as xcompmgr, is required for this.
- .RE
- .RE
- .B "TASK LIST STYLE"
- .RS
- The \fBTaskListStyle\fP tag controls the look of task lists.
- This tag supports the following attribute:
- .P
- \fBinsert\fP \fImode\fP
- .RS
- This determines how new items are added to the task list. Valid options
- are \fBleft\fP and \fBright\fP. The default is \fBright\fP.
- .RE
- .P
- Within this tag the following tags are supported:
- .P
- .B Font
- .RS
- The font used for program names.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Foreground
- .RS
- The foreground color of the task list items.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Background
- .RS
- The background color of the task list items (gradients are supported).
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B ActiveForeground
- .RS
- The foreground color of an active item on the task list.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B ActiveBackground
- .RS
- The background color of an active item on the task list
- (gradients are supported).
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .RE
- .B "TRAY BUTTON STYLE"
- .RS
- The \fBTrayButtonStyle\fP tag controls the look of tray buttons.
- Within this tag, the following tags are supported.
- .P
- .B Font
- .RS
- The font used for tray buttons.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Foreground
- .RS
- The foreground color for tray buttons.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Background
- .RS
- The background color for tray buttons (gradients are supported).
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .B ActiveForeground
- .RS
- The foreground color for pressed tray buttons.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .B ActiveBackground
- .RS
- The background color for pressed tray buttons (gradients are supported).
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .RE
- .B "CLOCK STYLE"
- .RS
- The \fBClockStyle\fP tag controls the look of clocks.
- Within this tag, the following tags are supported.
- .P
- .B Font
- .RS
- The font used for clocks.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Foreground
- .RS
- The color of the text.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Background
- .RS
- The background color.
- Inherited from \fBTrayStyle\fP by default.
- See the \fBCOLORS\fP section for more information.
- .RE
- .RE
- .B "PAGER STYLE"
- .RS
- The \fBPagerStyle\fP tag controls the look of pagers.
- Within this tag, the following tags are supported:
- .P
- .B Outline
- .RS
- The color of the outline around windows shown in the pager. See the
- \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Foreground
- .RS
- The color of inactive windows shown in the pager. See the \fBCOLORS\fP
- section for more information.
- .RE
- .P
- .B Background
- .RS
- The background color of inactive desktops shown in the pager. See the
- \fBCOLORS\fP section for more information.
- .RE
- .P
- .B ActiveForeground
- .RS
- The color of active windows shown in the pager. See the \fBCOLORS\fP section
- for more information.
- .RE
- .P
- .B ActiveBackground
- .RS
- The background color of active desktops shown in the pager. See the \fBCOLORS\fP
- section for more information.
- .RE
- .P
- .B Text
- .RS
- The color to use for pager labels. See the \fBCOLORS\fP
- section for more information.
- .RE
- .P
- .B Font
- .RS
- The font to use for pager labels. See the \fBCOLORS\fP section
- for more information.
- .RE
- .RE
- .B "MENU STYLE"
- .RS
- The \fBMenuStyle\fP tag controls the look of the menus in JWM
- (this includes the root menu and window menus).
- Within this tag the following tags are supported:
- .P
- .B Font
- .RS
- The font used on menus See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Foreground
- .RS
- The text color of inactive menu items. See the \fBCOLORS\fP section for more
- information.
- .RE
- .P
- .B Background
- .RS
- The background color of inactive menu items. See the \fBCOLORS\fPsection for
- more information.
- .RE
- .P
- .B ActiveForeground
- .RS
- The text color of active menu items.
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B ActiveBackground
- .RS
- Text background color of active menu items (gradients are supported).
- See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Opacity
- .RS
- The opacity of menus. This is a floating point value between 0.0 and 1.0.
- Note that a composite manager, such as xcompmgr, is required for this.
- .RE
- .RE
- .B "POPUP STYLE"
- .RS
- The \fBPopupStyle\fP tag controls the look of popup windows such as those
- shown when the mouse sits over a task list item.
- This tag supports the following attributes:
- .P
- \fBdelay\fP \fIint\fP
- .RS
- The delay in milliseconds before popups activate.
- The default is 600.
- .RE
- .P
- \fBenabled\fP \fIbool\fP
- .RS
- Determine if popups are shown. Default is true.
- .RE
- .P
- Within this tag the following tags are supported:
- .P
- .B Font
- .RS
- The font to use. See the \fBFONTS\fP section for more information.
- .RE
- .P
- .B Outline
- .RS
- The color of the window outline. See the \fBCOLORS\fP section for more
- information.
- .RE
- .P
- .B Foreground
- .RS
- The text color. See the \fBCOLORS\fP section for more information.
- .RE
- .P
- .B Background
- .RS
- The background color. See the \fBCOLORS\fP section for more information.
- .RE
- .RE
- .B FONTS
- .RS
- Fonts for various parts of JWM are specified within a \fBFont\fP tag. The
- text of this tag determines the font to use.
- This can be either a standard X font string or, if compiled with XFT
- support, an XFT font string.
- .RE
- .B COLORS
- .RS
- Colors for various parts of JWM are specified within specific tags
- (described above). Colors may either be hex triplets in RGB format
- (for example, #FF0000 is red) or by a name recognized by the X server.
- For components that support gradients, two colors may be specified
- separated by a colon.
- .RE
- .B ICONS
- .RS
- Icons for windows that don't supply an icon via the _NET_WM_ICON hint are
- located by searching the icon search path(s) for an icon whose name
- (minus the ".xpm" or ".png" extension) matches the instance name of the
- window as returned in the WM_CLASS hint. If this lookup fails, a default
- icon is supplied. This icon will be displayed for the window on it's title
- bar and on the task list. Icons that are not an appropriate size will be
- scaled. Square icons work best.
- .P
- For menu items, the icon path is searched for a match. the icon specified for
- a menu item must be the exact name of the icon file with the extension.
- If no match is found, a blank area will appear where the icon should appear.
- If an icon is not specified for any menu item in a menu, no space will be
- allocated for icons.
- .P
- Zero or more \fBIconPath\fP tags may be specified. The text of this tag is
- assumed to be an absolute directory path to a directory containing XPM,
- PNG, and/or JPEG icons.
- When searching for icons, if multiple paths are provided, they will be
- searched in order until a match is made.
- Note that icon, PNG, JPEG, and XPM support are compile-time options.
- .RE
- .B "KEY BINDINGS"
- .RS
- Keyboard bindings in JWM are specified in \fBKey\fP tags.
- Either the \fBkey\fP or \fBkeycode\fP attributes must be specified
- to determine which key will cause an action. The optional
- attribute, \fBmask\fP, specifies what key mask, if any, must be in effect
- for the binding to match. Finally, the text of the \fBKey\fP tag is the
- action to perform.
- .P
- One or more of the following key masks may be specified for \fBmask\fP
- (see \fBxmodmap\fP(1)):
- .RS
- .IP \fBA\fP
- The "Alt" key (mod1).
- .IP \fBC\fP
- Control
- .IP \fBS\fP
- Shift
- .IP \fB1\fP
- mod1
- .IP \fB2\fP
- mod2
- .IP \fB3\fP
- mod3
- .IP \fB4\fP
- mod4
- .IP \fB5\fP
- mod5
- .RE
- .P
- The key specified in the \fBkey\fP attribute must contain a valid key
- string for \fBXStringToKeysym\fP(3). These values are usually what one would
- expect (for example, the escape key is called "Escape").
- .P
- Valid actions for a key binding are:
- .RS
- .IP \fBup\fP
- Move up. Not grabbed.
- .IP \fBdown\fP
- Move down. Not grabbed.
- .IP \fBright\fP
- Move right. Not grabbed.
- .IP \fBleft\fP
- Move left. Not grabbed.
- .IP \fBescape\fP
- Stop a move/resize, exit a menu, or cancel an action. Not grabbed.
- .IP \fBfullscreen\fP
- Toggle between fullscreen and not fullscreen. Grabbed.
- .IP \fBselect\fP
- Make a menu selection or confirm an action. Not grabbed.
- .IP \fBnext\fP
- Move to the next window in the task list. Grabbed.
- .IP \fBnextstacked\fP
- Move to the next window in the stacking order. Grabbed.
- .IP \fBprev\fP
- Move to the previous window in the task list. Grabbed.
- .IP \fBprevstacked\fP
- Move to the previous window in the stacking order. Grabbed.
- .IP \fBclose\fP
- Close the active window. Grabbed.
- .IP \fBminimize\fP
- Minimize the active window. Grabbed.
- .IP \fBmaximize\fP
- Maximize the active window. Grabbed.
- .IP \fBshade\fP
- Shade the active window. Grabbed.
- .IP \fBstick\fP
- Stick/unstick the active window. Grabbed.
- .IP \fBmove\fP
- Move the active window. Grabbed.
- .IP \fBresize\fP
- Resize the active window. Grabbed.
- .IP \fBroot:\fP\fIn\fP
- Show root menu \fIn\fP. Grabbed.
- .IP \fBwindow\fP
- Show the window menu for the active window. Grabbed.
- .IP \fBdesktop#\fP
- Switch to a specific desktop. To use this, "#" must be specified in
- the key section. The number 1 to the number of desktops configured
- are then substituted for "#". Grabbed.
- .IP \fBrdesktop\fP
- Move one desktop to the right. Grabbed.
- .IP \fBldesktop\fP
- Move one desktop to the left. Grabbed.
- .IP \fBudesktop\fP
- Move up one desktop. Grabbed.
- .IP \fBddesktop\fP
- Move down one desktop. Grabbed.
- .IP \fBshowdesktop\fP
- Show/hide the desktop (maximize/minimize all windows). Grabbed.
- .IP \fBshowtray\fP
- Unhide the tray (when using autohide). Grabbed.
- .IP \fBexec:\fP\fIcommand\fP
- Execute \fIcommand\fP. Grabbed.
- .IP \fBrestart\fP
- Restart JWM. Grabbed.
- .RE
- .P
- Note that keys that are grabbed will not be available to applications other
- than JWM since JWM will interpret these. Also note that there are no
- default key bindings. Finally, it is possible to bind multiple key
- combinations to the same action.
- .RE
- .B "MOUSE BINDINGS"
- .RS
- Any button other than the scroll wheel (buttons 4 and 5) on the root
- window will bring up the root menu unless otherwise specified via the
- \fBonroot\fP attribute of \fBRootMenu\fP. Scrolling up on the root window
- switches to the left desktop and scrolling down switches to the right desktop.
- .P
- Button 1 (typically the left button):
- .RS
- Over the border, dragging resizes the window.
- Over the title bar, dragging moves the window and double clicking toggles
- the maximized state.
- Over the menu button, clicking shows the menu.
- Over the minimize button, clicking minimizes the window.
- Over the maximize button, clicking toggles between maximized and normal.
- Over the close button, clicking closes the window.
- .RE
- .P
- Button 2 (typically the middle button):
- .RS
- Over the maximize button, clicking toggles between vertically maximized
- and normal.
- Anywhere else on a window frame, dragging while holding button 2 will
- move the window.
- .RE
- .P
- Button 3 (typically the right button):
- .RS
- Over the frame, clicking shows the window menu.
- On the minimize button, clicking toggles between shaded and unshaded.
- On the maximize button, clicking toggles between horizontally maximized
- and normal.
- On the close button, clicking closes the window.
- Over the pager, dragging while holding button 3 will move a window.
- .RE
- .RE
- .P
- .RS
- Scrolling up over the title bar will shade the window and scrolling down
- will unshade the window.
- When a menu is open, the scroll wheel will move through menu items.
- When over the pager, the scroll wheel will switch desktops.
- When over a task list, the scroll wheel will switch windows.
- .RE
- .B DESKTOPS
- .RS
- Virtual desktops are controlled with the \fBDesktops\fP tag.
- Within this tag the following attribute is supported:
- .P
- \fBwidth\fP \fIint\fP
- .RS
- The number of virtual desktops in the horizontal direction.
- The default is 4.
- .RE
- .P
- \fBheight\fP \fIint\fP
- .RS
- The number of virtual desktops in the vertical direction.
- The default is 1.
- .RE
- .P
- Within the \fBDesktops\fP tag the following tags are supported:
- .P
- .B Background
- .RS
- The default background for desktops. The \fBtype\fP attribute determines
- the type of background and the text contained within this tag is the
- value. Valid types are:
- .P
- .B solid
- .RS
- A solid color. See the \fBCOLORS\fP section for more information.
- This is the default.
- .RE
- .B gradient
- .RS
- A gradient color. See the \fBCOLORS\fP section for more information.
- .RE
- .B image
- .RS
- A stretched image. This may be an XPM, PNG, or JPEG image. Note that support
- for XPM, PNG, and JPEG images must be compiled in and icon support is required.
- .RE
- .B tile
- .RS
- A tiled image. Like \fIimage\fP, but the image is tiled instead of stretched.
- .RE
- .B command
- .RS
- A command to run for setting the background.
- .RE
- .RE
- .P
- .B Desktop
- .RS
- Desktop-specific data. The \fBname\fP attribute may be specified to name
- the desktop (the default is the desktop number). Within this tag a
- \fBBackground\fP tag may be specified for a desktop-specific background.
- See \fBBackground\fP above for more information.
- .RE
- .RE
- .B "OTHER SETTINGS"
- .P
- .RS
- The following tags may also be supplied:
- .P
- .B ButtonClose
- .RS
- An icon to display for the close button on client windows instead of the
- default.
- .RE
- .B ButtonMax
- .RS
- An icon to display for the maximize button on client windows instead of the
- default.
- .RE
- .B ButtonMaxActive
- .RS
- An icon to display for the maximize button on maximized client windows instead
- of the default.
- .RE
- .B ButtonMin
- .RS
- An icon to display for the minimize button on client windows instead
- of the default.
- .RE
- .B DoubleClickDelta
- .RS
- The number of pixels the mouse can move during a double click.
- The default is 2. Valid values are between 0 and 32 inclusive.
- .RE
- .P
- .B DoubleClickSpeed
- .RS
- The maximum number of milliseconds between clicks for a double click.
- The default is 400. Valid values are between 1 and 2000 inclusive.
- .RE
- .P
- .B FocusModel
- .RS
- The focus model to be used. The default is "sloppy". Valid values
- are "click" (click to focus) and "sloppy" (focus follows mouse).
- .RE
- .P
- .B MoveMode
- .RS
- The move mode. The default is "opaque". Valid values are
- "opaque" and "outline".
- This tag supports the following attributes:
- .P
- \fBcoordinates\fP { \fBoff\fP | \fBcorner\fP | \fBwindow\fP | \fBscreen\fP }
- .RS
- The location of the status window. The default is \fBscreen\fP.
- .RE
- .P
- \fBdelay\fP \fIint\fP
- .RS
- The delay in milliseconds before moving a window to a different desktop.
- Setting this to 0 disables dragging windows between desktops.
- The default is 1000.
- .RE
- .RE
- .P
- .B ResizeMode
- .RS
- The resize mode. The default is "opaque". Valid values are
- "opaque" and "outline". The optional \fBcoordinates\fP attribute
- determines the location of the move status window. Possible values are:
- This tag supports the following attribute:
- .P
- \fBcoordinates\fP { \fBoff\fP | \fBcorner\fP | \fBwindow\fP | \fBscreen\fP }
- .RS
- The location of the status window. The default is \fBscreen\fP.
- .RE
- .RE
- .P
- .B SnapMode
- .RS
- The snap mode. The default is "border". Valid values are
- "none" (for no snapping), "screen" (for snapping to the edge of the screen),
- and "border" (for snapping to the borders of windows and the screen).
- An optional attribute, \fBdistance\fP,
- specifies the distance for snapping. The default is 5. Valid values
- are between 1 and 32 inclusive.
- .RE
- .P
- .B StartupCommand
- .RS
- A command to run when JWM starts.
- .RE
- .P
- .B ShutdownCommand
- .RS
- A command to run when JWM exits.
- .RE
- .P
- .B RestartCommand
- .RS
- A command to run when JWM restarts.
- .RE
- .RE
- .P
- .SH AUTHOR
- Joe Wingbermuehle <joewing@joewing.net>
- .SH "SEE ALSO"
- .BR X (1)
|