diff options
Diffstat (limited to 'sway-5.html')
-rw-r--r-- | sway-5.html | 246 |
1 files changed, 0 insertions, 246 deletions
diff --git a/sway-5.html b/sway-5.html deleted file mode 100644 index 1f0590fb..00000000 --- a/sway-5.html +++ /dev/null | |||
@@ -1,246 +0,0 @@ | |||
1 | <!-- Creator : groff version 1.22.3 --> | ||
2 | <!-- CreationDate: Sun Aug 23 20:49:58 2015 --> | ||
3 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | ||
4 | "http://www.w3.org/TR/html4/loose.dtd"> | ||
5 | <html> | ||
6 | <head> | ||
7 | <meta name="generator" content="groff -Thtml, see www.gnu.org"> | ||
8 | <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> | ||
9 | <meta name="Content-Style" content="text/css"> | ||
10 | <style type="text/css"> | ||
11 | p { margin-top: 0; margin-bottom: 0; vertical-align: top } | ||
12 | pre { margin-top: 0; margin-bottom: 0; vertical-align: top } | ||
13 | table { margin-top: 0; margin-bottom: 0; vertical-align: top } | ||
14 | h1 { text-align: center } | ||
15 | body { width: 500px; margin: 0 auto; background: #111; color: #fff; } | ||
16 | a { color: #0275D8; } | ||
17 | </style> | ||
18 | <title>SWAY</title> | ||
19 | |||
20 | </head> | ||
21 | <body> | ||
22 | |||
23 | <h1 align="center">SWAY</h1> | ||
24 | |||
25 | <a href="#NAME">NAME</a><br> | ||
26 | <a href="#DESCRIPTION">DESCRIPTION</a><br> | ||
27 | <a href="#COMMANDS">COMMANDS</a><br> | ||
28 | |||
29 | <hr> | ||
30 | |||
31 | |||
32 | <h2>NAME | ||
33 | <a name="NAME"></a> | ||
34 | </h2> | ||
35 | |||
36 | |||
37 | <p style="margin-left:11%; margin-top: 1em">sway − | ||
38 | configuration file and commands</p> | ||
39 | |||
40 | <h2>DESCRIPTION | ||
41 | <a name="DESCRIPTION"></a> | ||
42 | </h2> | ||
43 | |||
44 | |||
45 | <p style="margin-left:11%; margin-top: 1em">A sway | ||
46 | configuration file is a list of sway commands that are | ||
47 | exected by sway on startup. These commands usually consist | ||
48 | of setting your preferences and setting key bindings. An | ||
49 | example config is likely present in /etc/sway/config for you | ||
50 | to check out.</p> | ||
51 | |||
52 | <p style="margin-left:11%; margin-top: 1em">All of these | ||
53 | commands may be issued at runtime through | ||
54 | <b>sway−msg</b>(1).</p> | ||
55 | |||
56 | <h2>COMMANDS | ||
57 | <a name="COMMANDS"></a> | ||
58 | </h2> | ||
59 | |||
60 | |||
61 | <p style="margin-left:11%; margin-top: 1em"><b>bindsym</b> | ||
62 | <key combo> <command></p> | ||
63 | |||
64 | <p style="margin-left:17%;">Binds <i>key combo</i> to | ||
65 | execute <i>command</i> when pressed. You may use XKB key | ||
66 | names here (<b>xev</b>(1) is a good tool for discovering | ||
67 | them). An example bindsym command would be <i>bindsym | ||
68 | Mod1+Shift+f exec firefox</i>, which would execute Firefox | ||
69 | if the alt, shift, and F keys are pressed together. Any | ||
70 | valid sway command is eligible to be bound to a key | ||
71 | combo.</p> | ||
72 | |||
73 | <p style="margin-left:11%; margin-top: 1em"><b>exec</b> | ||
74 | <shell command></p> | ||
75 | |||
76 | <p style="margin-left:17%;">Executes <i>shell command</i> | ||
77 | with sh.</p> | ||
78 | |||
79 | |||
80 | <p style="margin-left:11%; margin-top: 1em"><b>exec_always</b> | ||
81 | <shell command></p> | ||
82 | |||
83 | <p style="margin-left:17%;">Like exec, but the shell | ||
84 | command will be executed <i>again</i> after <b>reload</b> or | ||
85 | <b>restart</b> is executed.</p> | ||
86 | |||
87 | |||
88 | <p style="margin-left:11%; margin-top: 1em"><b>exit</b></p> | ||
89 | |||
90 | <p style="margin-left:17%;">Exit sway and end your Wayland | ||
91 | session.</p> | ||
92 | |||
93 | |||
94 | <p style="margin-left:11%; margin-top: 1em"><b>floating</b> | ||
95 | toggle</p> | ||
96 | |||
97 | <p style="margin-left:17%;">Toggles the | ||
98 | "floating" status of the focused view.</p> | ||
99 | |||
100 | |||
101 | <p style="margin-left:11%; margin-top: 1em"><b>floating_modifier</b> | ||
102 | <modifier></p> | ||
103 | |||
104 | <p style="margin-left:17%;">When the <i>modifier</i> key is | ||
105 | held down, you may use left click to drag floating windows, | ||
106 | and right click to resize them. Unlike i3, this modifier may | ||
107 | also be used to resize and move windows that are tiled.</p> | ||
108 | |||
109 | <p style="margin-left:11%; margin-top: 1em"><b>focus</b> | ||
110 | <direction></p> | ||
111 | |||
112 | <p style="margin-left:17%;">Direction may be one of | ||
113 | <i>up</i>, <i>down</i>, <i>left</i>, <i>right</i>, or | ||
114 | <i>parent</i>. The directional focus commands will move the | ||
115 | focus in that direction. The parent focus command will | ||
116 | change the focus to the parent of the currently focused | ||
117 | container, which is useful, for example, to open a sibling | ||
118 | of the parent container, or to move the entire container | ||
119 | around.</p> | ||
120 | |||
121 | <p style="margin-left:11%; margin-top: 1em"><b>focus</b> | ||
122 | mode_toggle</p> | ||
123 | |||
124 | <p style="margin-left:17%;">Toggles focus between floating | ||
125 | view and tiled view.</p> | ||
126 | |||
127 | |||
128 | <p style="margin-left:11%; margin-top: 1em"><b>focus_follows_mouse</b> | ||
129 | <yes|no></p> | ||
130 | |||
131 | <p style="margin-left:17%;">If set to <i>yes</i>, the | ||
132 | currently focused view will change as you move your mouse | ||
133 | around the screen to the view that ends up underneath your | ||
134 | mouse.</p> | ||
135 | |||
136 | |||
137 | <p style="margin-left:11%; margin-top: 1em"><b>fullscreen</b></p> | ||
138 | |||
139 | <p style="margin-left:17%;">Toggles fullscreen status for | ||
140 | the focused view.</p> | ||
141 | |||
142 | <p style="margin-left:11%; margin-top: 1em"><b>gaps</b> | ||
143 | <amount></p> | ||
144 | |||
145 | <p style="margin-left:17%;">Adds <i>amount</i> pixels | ||
146 | between each view, and around each output.</p> | ||
147 | |||
148 | <p style="margin-left:11%; margin-top: 1em"><b>gaps</b> | ||
149 | <inner|outer> <amount></p> | ||
150 | |||
151 | <p style="margin-left:17%;">Adds <i>amount</i> pixels as an | ||
152 | <i>inner</i> or <i>outer</i> gap, where the former affects | ||
153 | spacing between views and the latter affects the space | ||
154 | around each output.</p> | ||
155 | |||
156 | |||
157 | <p style="margin-left:11%; margin-top: 1em"><b>kill</b></p> | ||
158 | |||
159 | <p style="margin-left:17%;">Closes the currently focused | ||
160 | view.</p> | ||
161 | |||
162 | <p style="margin-left:11%; margin-top: 1em"><b>layout</b> | ||
163 | <mode></p> | ||
164 | |||
165 | <p style="margin-left:17%;">Sets the layout mode of the | ||
166 | focused container. <i>mode</i> can be one of <i>splith</i>, | ||
167 | <i>splitv</i>, or <i>toggle split</i>.</p> | ||
168 | |||
169 | <p style="margin-left:11%; margin-top: 1em"><b>move</b> | ||
170 | <left|right|up|down></p> | ||
171 | |||
172 | <p style="margin-left:17%;">Moves the focused container | ||
173 | <i>left</i>, <i>right</i>, <i>up</i>, or <i>down</i>.</p> | ||
174 | |||
175 | <p style="margin-left:11%; margin-top: 1em"><b>output</b> | ||
176 | <name> <resolution|res WIDTHxHEIGHT> | ||
177 | <position|pos X,Y></p> | ||
178 | |||
179 | <p style="margin-left:17%;">Configures the specified | ||
180 | output. It will use the given resolution and be arranged at | ||
181 | the given position in the layout tree. You may omit either | ||
182 | of these parameters if you only want to set one of them.</p> | ||
183 | |||
184 | |||
185 | <p style="margin-left:11%; margin-top: 1em"><b>reload</b></p> | ||
186 | |||
187 | <p style="margin-left:17%;">Reloads the sway config file | ||
188 | without restarting sway.</p> | ||
189 | |||
190 | <p style="margin-left:11%; margin-top: 1em"><b>resize</b> | ||
191 | <shrink|grow> <width|height> <amount></p> | ||
192 | |||
193 | <p style="margin-left:17%;">Resizes the currently focused | ||
194 | container or view by <i>amount</i>. <i>amount</i> can be | ||
195 | specified as "n px" or "n ppt" or | ||
196 | "n px or n ppt".</p> | ||
197 | |||
198 | <p style="margin-left:11%; margin-top: 1em"><b>set</b> | ||
199 | <name> <value></p> | ||
200 | |||
201 | <p style="margin-left:17%;">Creates a substitution for | ||
202 | <i>value</i> that can be used with $<i>name</i> in other | ||
203 | commands.</p> | ||
204 | |||
205 | <p style="margin-left:11%; margin-top: 1em"><b>split</b> | ||
206 | <vertical|v|horizontal|h></p> | ||
207 | |||
208 | <p style="margin-left:17%;">Splits the current container, | ||
209 | vertically or horiziontally.</p> | ||
210 | |||
211 | |||
212 | <p style="margin-left:11%; margin-top: 1em"><b>splith</b></p> | ||
213 | |||
214 | <p style="margin-left:17%;">Equivalent to <b>split | ||
215 | horizontal</b>.</p> | ||
216 | |||
217 | |||
218 | <p style="margin-left:11%; margin-top: 1em"><b>splitv</b></p> | ||
219 | |||
220 | <p style="margin-left:17%;">Equivalent to <b>split | ||
221 | vertical</b>.</p> | ||
222 | |||
223 | |||
224 | <p style="margin-left:11%; margin-top: 1em"><b>workspace</b> | ||
225 | <name></p> | ||
226 | |||
227 | <p style="margin-left:17%;">Switches to the specified | ||
228 | workspace.</p> | ||
229 | |||
230 | |||
231 | <p style="margin-left:11%; margin-top: 1em"><b>workspace</b> | ||
232 | <prev_on_output|next_on_output></p> | ||
233 | |||
234 | <p style="margin-left:17%;">Switches to the next workspace | ||
235 | on the current output.</p> | ||
236 | |||
237 | |||
238 | <p style="margin-left:11%; margin-top: 1em"><b>workspace</b> | ||
239 | <name> output <output></p> | ||
240 | |||
241 | <p style="margin-left:17%;">Specifies that the workspace | ||
242 | named <i>name</i> should appear on the specified | ||
243 | <i>output</i>.</p> | ||
244 | <hr> | ||
245 | </body> | ||
246 | </html> | ||