3 .\" Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 .Nd window manager for X11
27 is a minimalistic window manager that tries to stay out of the way so that
28 valuable screen real estate can be used for much more important stuff.
29 It has sane defaults and does not require one to learn a language to do any
31 It was written by hackers for hackers and it strives to be small, compact and
36 starts up, it reads settings from its configuration file,
39 .Sx CONFIGURATION FILES
42 The following notation is used throughout this page:
44 .Bl -tag -width Ds -offset indent -compact
58 is very simple in its use.
59 Most of the actions are initiated via keybindings.
60 The current keybindings are described below:
62 .Bl -tag -width "M-j, M-<TAB>XXX" -offset indent -compact
63 .It Cm M-S- Ns Aq Cm Return
72 .It Cm M- Ns Aq Cm Space
74 .It Cm M-S- Ns Aq Cm Space
81 Add windows to master area
83 Remove windows from master area
84 .It Cm M- Ns Aq Cm Return
85 Move current window to master area
90 Focus next window in workspace
95 Focus previous window in workspace
97 Focus on main window in workspace
99 Swap with next window in workspace
101 Swap with previous window in workspace
103 Toggle status bar in all workspaces
105 Destroy current window in workspace
109 .It Cm M-S- Ns Aq Ar n
110 Move current window to workspace
112 .It Cm M- Ns Aq Cm Right
113 Switch to next workspace with a window in it
114 .It Cm M- Ns Aq Cm Left
115 Switch to previous workspace with a window in it
116 .It Cm M-S- Ns Aq Cm Right
117 Move pointer to next region
118 .It Cm M-S- Ns Aq Cm Left
119 Move pointer to previous region
121 Take screenshot of entire screen (if enabled)
123 Take screenshot of selected window (if enabled)
125 Toggle version in status bar
133 .Sh CONFIGURATION FILES
135 first tries to open the user specific file,
136 .Pa ~/.scrotwm.conf .
137 If that file is unavailable,
138 it then tries to open the global configuration file
139 .Pa /etc/scrotwm.conf .
141 The format of the file is \*(Ltkeyword\*(Gt = \*(Ltsetting\*(Gt.
144 .Dl color_focus = red
146 Enabling or disabling an option is done by using 1 or 0 respectively.
148 The file supports the following keywords:
150 .Bl -tag -width "screenshot_enabledXXX" -offset indent -compact
152 Border color of the currently focussed window.
154 Border color of unfocussed windows.
156 Enable or disable status bar.
157 .It Cm bar_border Ns Bq Ar x
158 Color of the status bar border in screen
160 .It Cm bar_color Ns Bq Ar x
161 Color of the status bar window in screen
163 .It Cm bar_font_color Ns Bq Ar x
164 Color of the font in status bar in screen
169 External script that populates additional information in the status bar,
170 such as battery life.
172 Update frequency, in seconds, of external script that populates the status bar.
174 External application that gets spawned when
175 .Cm M-S- Ns Aq Cm Return
178 Some applications have dialogue windows that are too small to be useful.
179 This ratio is the screen size to what they will be resized.
180 For example, 0.6 is 60% of the physical screen size.
181 .It Cm screenshot_enabled
182 Enable or disable screenshot capability.
183 .It Cm screenshot_app
184 Set to the script that will take screenshots.
185 It will be called with "full" or "window" as parameter 1 to indicate what
186 screenshot action is expected.
187 The script shall handle those cases accordingly.
190 Colors need to be specified per the
192 specification and fonts need to be specified per the
196 .Bl -tag -width "/etc/scrotwm.confXXX" -compact
197 .It Pa ~/.scrotwm.conf
199 user specific settings.
200 .It Pa /etc/scrotwm.conf
206 was inspired by xmonad & dwm.
212 .An Marco Peereboom Aq marco@peereboom.us
214 .An Ryan Thomas McBride Aq mcbride@countersiege.com .
216 Currently the menu, invoked with