]> code.delx.au - spectrwm/blob - scrotwm.1
Add screenshot_app to conf
[spectrwm] / 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 Enabling or disabling an option is done by using 1 or 0 respectively.
127 .Pp
128 The file supports the following keywords:
129 .Bl -tag -width "C-M-EscapeXXX" -offset indent -compact
130 .It Ic color_focus
131 Border color of the currently focussed window.
132 .It Ic color_unfocus
133 Border color of unfocussed windows.
134 .It Ic bar_enabled
135 Enable or disable status bar.
136 .It Ic bar_border[x]
137 Color of the status bar border in screen x.
138 .It Ic bar_color[x]
139 Color of the status bar window in screen x.
140 .It Ic bar_font_color[x]
141 Color of the font in status bar in screen x.
142 .It Ic bar_font
143 Status bar font.
144 .It Ic bar_action
145 External script that populates additional information in the status bar such as
146 battery life etc.
147 .It Ic bar_delay
148 Update frequency, in seconds, of external script that populates the status bar.
149 .It Ic spawn_term
150 External application that gets spawned when M-S-[Return] is used.
151 .It Ic dialog_ratio
152 Some applications have dialog windows that are too small to be useful.
153 This ratio is the screen size as to what they will be resized.
154 E.g 0.6 is 60% of the physical screen size.
155 .It Ic screenshot_enabled
156 Enable or disable screenshot capability.
157 .It Ic screenshot_app
158 Set to the script that will take screenshots.
159 It will be called with "full" or "window" as parameter 1 to indicate what
160 screenshot action is expected.
161 The script shall handle those cases accordingly.
162 .El
163 .Pp
164 Colors need to be specified per the
165 .Xr XQueryColor 4
166 specification and fonts need to be specified per the
167 .Xr XQueryFont 4
168 specification.
169 .Sh BUGS
170 Currently the menu, invoked with M-p, depends on dmenu.
171 .Sh AUTHORS
172 .An -nosplit
173 .Pp
174 .Nm
175 was written by
176 .An Marco Peereboom Aq marco@peereboom.us
177 and
178 .An Ryan Thomas McBride Aq mcbride@countersiege.com .
179 .Sh HISTORY
180 .Nm
181 was inspired by xmonad & dwm.