mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Remove man pages (they're outdated)
This commit is contained in:
parent
62c2227fdf
commit
f05e4a368d
3 changed files with 0 additions and 421 deletions
|
|
@ -40,10 +40,4 @@ layout: master
|
||||||
Join the <a href="http://webchat.freenode.net/?channels=sway&uio=d4">IRC channel</a>
|
Join the <a href="http://webchat.freenode.net/?channels=sway&uio=d4">IRC channel</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1"> </div>
|
<div class="col-md-1"> </div>
|
||||||
<div class="col-md-1">
|
|
||||||
<a href="/sway-1.html">sway (1)</a>
|
|
||||||
</div>
|
|
||||||
<div class="col-md-1">
|
|
||||||
<a href="/sway-5.html">sway (5)</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
169
sway-1.html
169
sway-1.html
|
|
@ -1,169 +0,0 @@
|
||||||
<!-- Creator : groff version 1.22.3 -->
|
|
||||||
<!-- CreationDate: Sun Aug 23 20:47:38 2015 -->
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
||||||
"http://www.w3.org/TR/html4/loose.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
||||||
<meta name="Content-Style" content="text/css">
|
|
||||||
<style type="text/css">
|
|
||||||
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
h1 { text-align: center }
|
|
||||||
body { width: 500px; margin: 0 auto; background: #111; color: #fff; }
|
|
||||||
a { color: #0275D8; }
|
|
||||||
</style>
|
|
||||||
<title>SWAY</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h1 align="center">SWAY</h1>
|
|
||||||
|
|
||||||
<a href="#NAME">NAME</a><br>
|
|
||||||
<a href="#SYNOPSIS">SYNOPSIS</a><br>
|
|
||||||
<a href="#OPTIONS">OPTIONS</a><br>
|
|
||||||
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
|
||||||
<a href="#COMMANDS">COMMANDS</a><br>
|
|
||||||
<a href="#CONFIGURATION">CONFIGURATION</a><br>
|
|
||||||
<a href="#AUTHORS">AUTHORS</a><br>
|
|
||||||
<a href="#SEE ALSO">SEE ALSO</a><br>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>NAME
|
|
||||||
<a name="NAME"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">sway −
|
|
||||||
SirCmpwn's Wayland window manager</p>
|
|
||||||
|
|
||||||
<h2>SYNOPSIS
|
|
||||||
<a name="SYNOPSIS"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><i>sway</i>
|
|
||||||
[options] [command]</p>
|
|
||||||
|
|
||||||
<h2>OPTIONS
|
|
||||||
<a name="OPTIONS"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−c,
|
|
||||||
−−config</b> <config></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Specifies a config file.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−C,
|
|
||||||
−−validate</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Check the validity of the
|
|
||||||
config file, then exit.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−d,
|
|
||||||
−−debug</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Enables full logging, including
|
|
||||||
debug information.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−v,
|
|
||||||
−−version</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Show the version number and
|
|
||||||
quit.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−V,
|
|
||||||
−−verbose</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Enables more verbose
|
|
||||||
logging.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>−−get−socketpath</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Gets the IPC socket path and
|
|
||||||
prints it, then exits.</p>
|
|
||||||
|
|
||||||
<h2>DESCRIPTION
|
|
||||||
<a name="DESCRIPTION"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">sway was
|
|
||||||
created to fill the need of an i3−like window manager
|
|
||||||
for Wayland. The upstream i3 developers have no intention of
|
|
||||||
porting i3 to Wayland, and projects proposed by others ended
|
|
||||||
up as vaporware. Many thanks to the i3 folks for providing
|
|
||||||
such a great piece of software, so good that your users
|
|
||||||
would rather write an entirely new window manager from
|
|
||||||
scratch that behaved <i>exactly</i> like i3 rather than
|
|
||||||
switch to something else.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">You may run
|
|
||||||
sway from an ongoing x11 session to run it within x.
|
|
||||||
Otherwise, you can run sway on a tty and it will use your
|
|
||||||
outputs directly.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>Important
|
|
||||||
note for nvidia users</b>: The proprietary nvidia driver
|
|
||||||
does <i>not</i> have support for Wayland as of
|
|
||||||
2015−08−17. Use nouveau.</p>
|
|
||||||
|
|
||||||
<h2>COMMANDS
|
|
||||||
<a name="COMMANDS"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">If sway is
|
|
||||||
currently running, you may run <i>sway [command]</i> to send
|
|
||||||
<i>command</i> to the running instance of sway. The same
|
|
||||||
commands you would use in the config file are valid here
|
|
||||||
(see <b>sway</b>(5)). For compatability reasons, you may
|
|
||||||
also issue commands with <b>sway−msg</b>(1) or
|
|
||||||
<b>i3−msg</b>(1) (or even with <b>i3</b>(1),
|
|
||||||
probably).</p>
|
|
||||||
|
|
||||||
<h2>CONFIGURATION
|
|
||||||
<a name="CONFIGURATION"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">If
|
|
||||||
<i>−c</i> is not specified, sway will look in several
|
|
||||||
locations for your config file. The default one is provided
|
|
||||||
at /etc/sway/config. The suggested location for your config
|
|
||||||
file is ~/.config/sway/config. ~/.sway/config will also
|
|
||||||
work, and the rest of the usual XDG config locations are
|
|
||||||
supported. If no sway config is found, sway will attempt to
|
|
||||||
load an i3 config from all the config locations i3 supports.
|
|
||||||
If still nothing is found, you will receive an error.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">For information
|
|
||||||
on the config file format, see <b>sway</b>(5).</p>
|
|
||||||
|
|
||||||
<h2>AUTHORS
|
|
||||||
<a name="AUTHORS"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">Maintained by
|
|
||||||
Drew DeVault <sir@cmpwn.com>, who is assisted by other
|
|
||||||
open source contributors. For more information about sway
|
|
||||||
development, see https://github.com/SirCmpwn/sway.</p>
|
|
||||||
|
|
||||||
<h2>SEE ALSO
|
|
||||||
<a name="SEE ALSO"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>sway</b>(5)</p>
|
|
||||||
<hr>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
246
sway-5.html
246
sway-5.html
|
|
@ -1,246 +0,0 @@
|
||||||
<!-- Creator : groff version 1.22.3 -->
|
|
||||||
<!-- CreationDate: Sun Aug 23 20:49:58 2015 -->
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
||||||
"http://www.w3.org/TR/html4/loose.dtd">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
||||||
<meta name="Content-Style" content="text/css">
|
|
||||||
<style type="text/css">
|
|
||||||
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
||||||
h1 { text-align: center }
|
|
||||||
body { width: 500px; margin: 0 auto; background: #111; color: #fff; }
|
|
||||||
a { color: #0275D8; }
|
|
||||||
</style>
|
|
||||||
<title>SWAY</title>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h1 align="center">SWAY</h1>
|
|
||||||
|
|
||||||
<a href="#NAME">NAME</a><br>
|
|
||||||
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
|
||||||
<a href="#COMMANDS">COMMANDS</a><br>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>NAME
|
|
||||||
<a name="NAME"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">sway −
|
|
||||||
configuration file and commands</p>
|
|
||||||
|
|
||||||
<h2>DESCRIPTION
|
|
||||||
<a name="DESCRIPTION"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">A sway
|
|
||||||
configuration file is a list of sway commands that are
|
|
||||||
exected by sway on startup. These commands usually consist
|
|
||||||
of setting your preferences and setting key bindings. An
|
|
||||||
example config is likely present in /etc/sway/config for you
|
|
||||||
to check out.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em">All of these
|
|
||||||
commands may be issued at runtime through
|
|
||||||
<b>sway−msg</b>(1).</p>
|
|
||||||
|
|
||||||
<h2>COMMANDS
|
|
||||||
<a name="COMMANDS"></a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>bindsym</b>
|
|
||||||
<key combo> <command></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Binds <i>key combo</i> to
|
|
||||||
execute <i>command</i> when pressed. You may use XKB key
|
|
||||||
names here (<b>xev</b>(1) is a good tool for discovering
|
|
||||||
them). An example bindsym command would be <i>bindsym
|
|
||||||
Mod1+Shift+f exec firefox</i>, which would execute Firefox
|
|
||||||
if the alt, shift, and F keys are pressed together. Any
|
|
||||||
valid sway command is eligible to be bound to a key
|
|
||||||
combo.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>exec</b>
|
|
||||||
<shell command></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Executes <i>shell command</i>
|
|
||||||
with sh.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>exec_always</b>
|
|
||||||
<shell command></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Like exec, but the shell
|
|
||||||
command will be executed <i>again</i> after <b>reload</b> or
|
|
||||||
<b>restart</b> is executed.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>exit</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Exit sway and end your Wayland
|
|
||||||
session.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>floating</b>
|
|
||||||
toggle</p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Toggles the
|
|
||||||
"floating" status of the focused view.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>floating_modifier</b>
|
|
||||||
<modifier></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">When the <i>modifier</i> key is
|
|
||||||
held down, you may use left click to drag floating windows,
|
|
||||||
and right click to resize them. Unlike i3, this modifier may
|
|
||||||
also be used to resize and move windows that are tiled.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>focus</b>
|
|
||||||
<direction></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Direction may be one of
|
|
||||||
<i>up</i>, <i>down</i>, <i>left</i>, <i>right</i>, or
|
|
||||||
<i>parent</i>. The directional focus commands will move the
|
|
||||||
focus in that direction. The parent focus command will
|
|
||||||
change the focus to the parent of the currently focused
|
|
||||||
container, which is useful, for example, to open a sibling
|
|
||||||
of the parent container, or to move the entire container
|
|
||||||
around.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>focus</b>
|
|
||||||
mode_toggle</p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Toggles focus between floating
|
|
||||||
view and tiled view.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>focus_follows_mouse</b>
|
|
||||||
<yes|no></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">If set to <i>yes</i>, the
|
|
||||||
currently focused view will change as you move your mouse
|
|
||||||
around the screen to the view that ends up underneath your
|
|
||||||
mouse.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>fullscreen</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Toggles fullscreen status for
|
|
||||||
the focused view.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>gaps</b>
|
|
||||||
<amount></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Adds <i>amount</i> pixels
|
|
||||||
between each view, and around each output.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>gaps</b>
|
|
||||||
<inner|outer> <amount></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Adds <i>amount</i> pixels as an
|
|
||||||
<i>inner</i> or <i>outer</i> gap, where the former affects
|
|
||||||
spacing between views and the latter affects the space
|
|
||||||
around each output.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>kill</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Closes the currently focused
|
|
||||||
view.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>layout</b>
|
|
||||||
<mode></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Sets the layout mode of the
|
|
||||||
focused container. <i>mode</i> can be one of <i>splith</i>,
|
|
||||||
<i>splitv</i>, or <i>toggle split</i>.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>move</b>
|
|
||||||
<left|right|up|down></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Moves the focused container
|
|
||||||
<i>left</i>, <i>right</i>, <i>up</i>, or <i>down</i>.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>output</b>
|
|
||||||
<name> <resolution|res WIDTHxHEIGHT>
|
|
||||||
<position|pos X,Y></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Configures the specified
|
|
||||||
output. It will use the given resolution and be arranged at
|
|
||||||
the given position in the layout tree. You may omit either
|
|
||||||
of these parameters if you only want to set one of them.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>reload</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Reloads the sway config file
|
|
||||||
without restarting sway.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>resize</b>
|
|
||||||
<shrink|grow> <width|height> <amount></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Resizes the currently focused
|
|
||||||
container or view by <i>amount</i>. <i>amount</i> can be
|
|
||||||
specified as "n px" or "n ppt" or
|
|
||||||
"n px or n ppt".</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>set</b>
|
|
||||||
<name> <value></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Creates a substitution for
|
|
||||||
<i>value</i> that can be used with $<i>name</i> in other
|
|
||||||
commands.</p>
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>split</b>
|
|
||||||
<vertical|v|horizontal|h></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Splits the current container,
|
|
||||||
vertically or horiziontally.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>splith</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Equivalent to <b>split
|
|
||||||
horizontal</b>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>splitv</b></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Equivalent to <b>split
|
|
||||||
vertical</b>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>workspace</b>
|
|
||||||
<name></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Switches to the specified
|
|
||||||
workspace.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>workspace</b>
|
|
||||||
<prev_on_output|next_on_output></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Switches to the next workspace
|
|
||||||
on the current output.</p>
|
|
||||||
|
|
||||||
|
|
||||||
<p style="margin-left:11%; margin-top: 1em"><b>workspace</b>
|
|
||||||
<name> output <output></p>
|
|
||||||
|
|
||||||
<p style="margin-left:17%;">Specifies that the workspace
|
|
||||||
named <i>name</i> should appear on the specified
|
|
||||||
<i>output</i>.</p>
|
|
||||||
<hr>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue