JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add screenshot
[spectrwm.git] / scrotwm.1
1 .\"     $scrotwm$
2 .\"
3 .\" Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
4 .\"
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.
8 .\"
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.
16 .\"
17 .Dd $Mdocdate$
18 .Dt SCROTWM 1
19 .Os
20 .Sh NAME
21 .Nm scrotwm
22 .Nd small dynamic tiling window manager for X11.
23 .Sh SYNOPSIS
24 .Nm scrotwm
25 .Sh DESCRIPTION
26 .Nm
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
30 configuration.
31 It was written by hackers for hackers and it strives to be small, compact and
32 fast. 
33 .Pp
34 The following notation is used throughout this page:
35 .Pp
36 .Bl -tag -width Ds -offset indent -compact
37 .It Ic M
38 Meta
39 .It Ic S
40 Shift
41 .It Ic [Name]
42 Named key
43 .It Ic M1
44 Mouse button 1
45 .El
46 .Pp
47 .Nm
48 is very simple in its use.
49 Most of the actions are initiated via keybindings.
50 The current keybindings are described below:
51 .Pp
52 .Bl -tag -width "C-M-EscapeXXX" -offset indent -compact
53 .It Ic M-S-[Return]
54 Spawn a new terminal.
55 .It Ic M-p
56 Menu.
57 .It Ic M-S-q
58 Quit.
59 .It Ic M-q
60 Restart
61 .Nm .
62 .It Ic M-[Space]
63 Cycle layout.
64 .It Ic M-S-[Space]
65 Reset layout.
66 .It Ic M-h
67 Shrink master area.
68 .It Ic M-l
69 Grow master area.
70 .It Ic M-,
71 Add windows to master area.
72 .It Ic M-.
73 Remove windows from master area.
74 .It Ic M-[Return]
75 Move current window to master area.
76 .It Ic M-j
77 Focus next window in workspace.
78 .It Ic M-[Tab]
79 Focus next window in workspace.
80 .It Ic M-k
81 Focus previous window in workspace.
82 .It Ic M-S-[Tab]
83 Focus previous window in workspace.
84 .It Ic M-m
85 Focus on main window in workspace.
86 .It Ic M-S-j
87 Swap with next window in workspace.
88 .It Ic M-S-k
89 Swap with previous window in workspace.
90 .It Ic M-b
91 Toggle status bar in all workspaces.
92 .It Ic M-S-x
93 Destroy current window in workspace.
94 .It Ic M-[Number]
95 Switch to workspace [Number].
96 .It Ic M-S-[Number]
97 Move current window to workspace [Number].
98 .It Ic M-[RighArrow]
99 Switch to next workspace with a window in it.
100 .It Ic M-[LeftArrow]
101 Switch to previous workspace with a window in it.
102 .It Ic M-s
103 Take screenshot of entire screen (if enabled).
104 .It Ic M-S-s
105 Take screenshot of selected window (if enabled).
106 .It Ic M1
107 Focus window.
108 .El
109 .Pp
110 .Pp
111 .Sh FILES
112 .Bl -tag -width Ds
113 .It Pa ~/.scrotwm.conf
114 This file contains user specific settings.
115 .It Pa /etc/scrotwm.conf
116 This file contains global settings.
117 .El
118 .Pp
119 .Nm
120 first tries to open the user specific file.
121 If that file is unavailable it tries to open the global file next.
122 .Pp
123 The format of the file is <keyword> = <setting>.
124 E.g. color_focus = red.
125 .Pp
126 The file supports the following keywords:
127 .Bl -tag -width "C-M-EscapeXXX" -offset indent -compact
128 .It Ic color_focus
129 Border color of the currently focussed window.
130 .It Ic color_unfocus
131 Border color of unfocussed windows.
132 .It Ic bar_enabled
133 Enable or disable status bar.
134 .It Ic bar_border[x]
135 Color of the status bar border in screen x.
136 .It Ic bar_color[x]
137 Color of the status bar window in screen x.
138 .It Ic bar_font_color[x]
139 Color of the font in status bar in screen x.
140 .It Ic bar_font
141 Status bar font.
142 .It Ic bar_action
143 External script to populate additional information in the status bar such as
144 battery life etc.
145 .It Ic bar_delay
146 Update frequency of external script on the status bar.
147 .It Ic spawn_term
148 External application that gets spawned when M-S-[Return] is used.
149 .It Ic dialog_ratio
150 Some applications have dialog windows that are too small to be useful.
151 This ratio is the screen size as to what they will be resized.
152 E.g 0.6 is 60% of the physical screen size.
153 .It Ic screenshot_enabled
154 Set to 1 to enable screen-shotting capability.
155 .El
156 .Pp
157 Colors need to be specified per the
158 .Xr XQueryColor 4
159 specification and fonts need to be specified per the
160 .Xr XQueryFont 4
161 specification.
162 .Sh BUGS
163 Currently the menu, invoked with M-p, depends on dmenu.
164 .Sh AUTHORS
165 .An -nosplit
166 .Pp
167 .Nm
168 was written by
169 .An Marco Peereboom Aq marco@peereboom.us
170 and
171 .An Ryan Thomas McBride Aq mcbride@countersiege.com .
172 .Sh HISTORY
173 .Nm
174 was inspired by xmonad & dwm.
175 .Pp
176 .Nm
177 first appeared in
178 .Ox 4.5 .