+<font color="#ffff00">PROGRAMS</font><br>
+ scrotwm allows you to define custom actions to launch programs of your<br>
+ choice and then bind them the same as with built-in actions. See the<br>
+ BINDINGS section below.<br>
+<br>
+ The default programs are described below:<br>
+<br>
+ term xterm<br>
+ screenshot_all screenshot.sh full<br>
+ screenshot_wind screenshot.sh window<br>
+ lock xlock<br>
+ initscr initscreen.sh<br>
+ menu dmenu_run -fn $bar_font -nb $bar_color -nf<br>
+ $bar_font_color -sb $bar_border -sf $bar_color<br>
+<br>
+ Custom programs in the configuration file are specified as follows:<br>
+<br>
+ program[<name>] = <progpath> [<arg> [... <arg>]]<br>
+<br>
+ <name> is any identifier that does not conflict with a built-in action or<br>
+ keyword, <progpath> is the desired program, and <arg> is zero or more ar-<br>
+ guments to the program.<br>
+<br>
+ The following variables represent settable values in scrotwm (see the<br>
+ CONFIGURATION FILES section above), and may be used in the <arg> fields<br>
+ and will be substituted for values at the time the program is spawned:<br>
+<br>
+ $bar_border<br>
+ $bar_color<br>
+ $bar_font<br>
+ $bar_font_color<br>
+ $color_focus<br>
+ $color_unfocus<br>
+<br>
+ Example:<br>
+<br>
+ program[ff] = /usr/local/bin/firefox <a href="http://scrotwm.org/">http://scrotwm.org/</a><br>
+ bind[ff] = Mod+f # Now Mod+F launched firefox<br>
+<br>
+ To undo the previous:<br>
+<br>
+ bind[] = Mod+f<br>
+ program[ff] =<br>
+<br>
+<font color="#ffff00">BINDINGS</font><br>
+ scrotwm provides many functions (or actions) accessed via key or mouse<br>
+ bindings.<br>
+<br>
+ The current mouse bindings are described below:<br>
+<br>
+ M1 Focus window<br>
+ M-M1 Move window<br>
+ M-M3 Resize window<br>
+ M-S-M3 Resize window while maintaining it centered<br>
+<br>
+ The default key bindings are described below:<br>
+<br>
+ M-S-<Return> term<br>
+ M-p menu<br>
+ M-S-q quit<br>
+ M-q restart scrotwm<br>
+ M-<Space> cycle_layout<br>
+ M-S-<Space> reset_layout<br>
+ M-h master_shrink<br>
+ M-l master_grow<br>
+ M-, master_add<br>
+ M-. master_del<br>
+ M-S-, stack_inc<br>
+ M-S-. stack_del<br>
+ M-<Return> swap_main<br>
+ M-j, M-<TAB> focus_next<br>
+ M-k, M-S-<TAB> focus_prev<br>
+ M-m focus_main<br>
+ M-S-j swap_next<br>
+ M-S-k swap_prev<br>
+ M-b bar_toggle<br>
+ M-x wind_del<br>
+ M-S-x wind_kill<br>
+ M-<n> ws_n<br>
+ M-S-<n> mvws_n<br>
+ M-<Right> ws_next<br>
+ M-<Left> ws_prev<br>
+ M-S-<Right> screen_next<br>
+ M-S-<Left> screen_prev<br>
+ M-s screenshot_all<br>
+ M-S-s screenshot_wind<br>
+ M-S-v version<br>
+ M-t float_toggle<br>
+ M-S <Delete> lock<br>
+ M-S-i initscr<br>
+<br>
+ The action names and descriptions are listed below:<br>
+<br>
+ term Spawn a new terminal (see PROGRAMS above)<br>
+ menu Menu (see PROGRAMS above)<br>
+ quit Quit scrotwm<br>
+ restart Restart scrotwm<br>
+ cycle_layout Cycle layout<br>
+ reset_layout Reset layout<br>
+ master_shrink Shrink master area<br>
+ master_grow Grow master area<br>
+ master_add Add windows to master area<br>
+ master_del Remove windows from master area<br>
+ stack_inc Add columns/rows to stacking area<br>
+ stack_del Remove columns/rows from stacking area<br>
+ swap_main Move current window to master area<br>
+ focus_next Focus next window in workspace<br>
+ focus_prev Focus previous window in workspace<br>
+ focus_main Focus on main window in workspace<br>
+ swap_next Swap with next window in workspace<br>
+ swap_prev Swap with previous window in workspace<br>
+ bar_toggle Toggle status bar in all workspaces<br>
+ wind_del Delete current window in workspace<br>
+ wind_kill Destroy current window in workspace<br>
+ ws_n Switch to workspace n, where n is 1 through 10<br>
+ mvws_n Move current window to workspace n, where n is 1<br>
+ through 10<br>
+ ws_next Switch to next workspace with a window in it<br>
+ ws_prev Switch to previous workspace with a window in it<br>
+ screen_next Move pointer to next region<br>
+ screen_prev Move pointer to previous region<br>
+ screenshot_all Take screenshot of entire screen (if enabled) (see<br>
+ PROGRAMS above)<br>
+ screenshot_wind Take screenshot of selected window (if enabled)<br>
+ (see PROGRAMS above)<br>
+ version Toggle version in status bar<br>
+ float_toggle Toggle focused window between tiled and floating<br>
+ lock Lock screen (see PROGRAMS above)<br>
+ initscr Reinitialize physical screens (see PROGRAMS above)<br>
+<br>
+ Custom bindings in the configuration file are specified as follows:<br>
+<br>
+ bind[<action>] = <keys><br>
+<br>
+ <action> is one of the actions listed above (or empty) and <keys> is in<br>
+ the form of zero or more modifier keys (MOD, Mod1, Shift, etc.) and one<br>
+ or more normal keys (b, space, etc.), separated by "+". For example:<br>
+<br>
+ bind[reset] = Mod4+q # bind Windows-key + q to reset<br>
+ bind[] = Mod1+q # unbind Alt + q<br>
+<br>
+ Multiple key combinations may be bound to the same action.<br>
+<br>
+<font color="#ffff00">QUIRKS</font><br>
+ scrotwm provides "quirks" which handle windows that must be treated spe-<br>
+ cially in a tiling window manager, such as some dialogs and fullscreen<br>
+ apps.<br>
+<br>
+ The default quirks are described below:<br>
+<br>
+ Firefox-bin:firefox-bin TRANSSZ<br>
+ Firefox:Dialog FLOAT<br>
+ Gimp:gimp FLOAT + ANYWHERE<br>
+ MPlayer:xv FLOAT + FULLSCREEN<br>
+ OpenOffice.org 2.4:VCLSalFrame FLOAT<br>
+ OpenOffice.org 3.1:VCLSalFrame FLOAT<br>
+ pcb:pcb FLOAT<br>
+ xine:Xine Window FLOAT + ANYWHERE<br>
+ xine:xine Panel FLOAT + ANYWHERE<br>
+ xine:xine Video Fullscreen Window FULLSCREEN + FLOAT<br>
+ Xitk:Xitk Combo FLOAT + ANYWHERE<br>
+ Xitk:Xine Window FLOAT + ANYWHERE<br>
+ XTerm:xterm XTERM_FONTADJ<br>
+<br>
+ The quirks themselves are described below:<br>
+<br>
+ FLOAT This window should not be tiled, but allowed<br>
+ to float freely.<br>
+ TRANSSZ Adjusts size on transient windows that are<br>
+ too small using dialog_ratio (see<br>
+ CONFIGURATION FILES).<br>
+ ANYWHERE Allow window to position itself, uncentered.<br>
+ XTERM_FONTADJ Adjust xterm fonts when resizing.<br>
+ FULLSCREEN Remove border to allow window to use full<br>
+ screen size.<br>
+<br>
+ Custom quirks in the configuration file are specified as follows:<br>
+<br>
+ quirk[<class>:<name>] = <quirk> [+ <quirk> ...]<br>
+<br>
+ <class> and <name> specify the window to which the quirk(s) apply, and<br>
+ <quirk> is one of the quirks from the list above. For example:<br>
+<br>
+ quirk[MPlayer:xv] = FLOAT + FULLSCREEN # let mplayer play<br>
+ quirk[pcb:pcb] = NONE # remove existing quirk<br>
+<br>
+ You can obtain <class> and <name> by running <font color="#ff40ff">xprop(1)</font> and then clicking<br>
+ on the desired window. In the following example the main window of Fire-<br>
+ fox was clicked:<br>
+<br>
+ $ xprop | grep WM_CLASS<br>
+ WM_CLASS(STRING) = "Navigator", "Firefox"<br>
+<br>
+ Note that grepping for WM_CLASS flips class and name. In the example<br>
+ above the quirk entry would be:<br>
+<br>
+ quirk[Firefox:Navigator] = FLOAT<br>
+<br>