diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 08:19:33 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 08:19:33 -0500 |
commit | 2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8 (patch) | |
tree | 71ad222f366d1f1df928b88ea3242dc92457a8bd | |
parent | fix logging issue for new wlroots (diff) | |
download | sway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.tar.gz sway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.tar.zst sway-2624f55f8decf7f1cc1dd64a3f72b130f7ef77e8.zip |
input and seat command docs
-rw-r--r-- | sway/sway-input.5.txt | 50 | ||||
-rw-r--r-- | sway/sway.1.txt | 23 | ||||
-rw-r--r-- | sway/sway.5.txt | 7 |
3 files changed, 53 insertions, 27 deletions
diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt index f0c8f87c..d4652a82 100644 --- a/sway/sway-input.5.txt +++ b/sway/sway-input.5.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | ///// | 1 | ///// |
2 | vim:set ts=4 sw=4 tw=82 noet: | 2 | vim:set ft=asciidoc ts=4 sw=4 tw=82 noet: |
3 | ///// | 3 | ///// |
4 | sway-input (5) | 4 | sway-input (5) |
5 | ============== | 5 | ============== |
@@ -11,12 +11,37 @@ sway-input - input configuration file and commands | |||
11 | Description | 11 | Description |
12 | ----------- | 12 | ----------- |
13 | 13 | ||
14 | Sway allows for configuration of libinput devices within the sway configuration file. | 14 | Sway allows for configuration of devices within the sway configuration file. |
15 | sway-input commands must be used inside an _input { }_ block in the config. | 15 | sway-input commands must be used inside an _input { }_ block in the config. |
16 | To obtain a list of available device identifiers, run **swaymsg -t get_inputs**. | 16 | To obtain a list of available device identifiers, run **swaymsg -t get_inputs**. |
17 | 17 | ||
18 | Commands | 18 | Input Commands |
19 | -------- | 19 | -------------- |
20 | |||
21 | Keyboard Configuration | ||
22 | ~~~~~~~~~~~~~~~~~~~~~~ | ||
23 | |||
24 | For more information on these xkb configuration options, see | ||
25 | **xkeyboard-config**(7). | ||
26 | |||
27 | **input** <identifier> xkb_layout <layout_name>:: | ||
28 | Sets the layout of the keyboard like _us_ or _de_. | ||
29 | |||
30 | **input** <identifier> xkb_model <model_name>:: | ||
31 | Sets the model of the keyboard. This has an influence for some extra keys your | ||
32 | keyboard might have. | ||
33 | |||
34 | **input** <identifier> xkb_options <options>:: | ||
35 | Sets extra xkb configuration options for the keyboard. | ||
36 | |||
37 | **input** <identifier> xkb_rules <rules>:: | ||
38 | Sets files of rules to be used for keyboard mapping composition. | ||
39 | |||
40 | **input** <identifier> xkb_variant <variant>:: | ||
41 | Sets the variant of the keyboard like _dvorak_ or _colemak_. | ||
42 | |||
43 | Libinput Configuration | ||
44 | ~~~~~~~~~~~~~~~~~~~~~~ | ||
20 | 45 | ||
21 | **input** <identifier> accel_profile <adaptive|flat>:: | 46 | **input** <identifier> accel_profile <adaptive|flat>:: |
22 | Sets the pointer acceleration profile for the specified input device. | 47 | Sets the pointer acceleration profile for the specified input device. |
@@ -53,6 +78,23 @@ Commands | |||
53 | **input** <identifier> tap <enabled|disabled>:: | 78 | **input** <identifier> tap <enabled|disabled>:: |
54 | Enables or disables tap for specified input device. | 79 | Enables or disables tap for specified input device. |
55 | 80 | ||
81 | Seat Configuration | ||
82 | ------------------ | ||
83 | |||
84 | Configure options for multiseat mode. sway-seat commands must be used inside a | ||
85 | _seat { }_ block in the config. | ||
86 | |||
87 | A _seat_ is a collection of input devices that act independently of each other. | ||
88 | Seats are identified by name and the default seat is _seat0_ if no seats are | ||
89 | configured. Each seat has an independent keyboard focus and a separate cursor that | ||
90 | is controlled by the pointer devices of the seat. This is useful for multiple | ||
91 | people using the desktop at the same time with their own devices (each sitting in | ||
92 | their own "seat"). | ||
93 | |||
94 | **seat** <name> attach <input_identifier>:: | ||
95 | Attach an input device to this seat by its input identifier. A special value | ||
96 | of _*_ will attach all devices to the seat. | ||
97 | |||
56 | See Also | 98 | See Also |
57 | -------- | 99 | -------- |
58 | 100 | ||
diff --git a/sway/sway.1.txt b/sway/sway.1.txt index 14ab9f49..17fc13da 100644 --- a/sway/sway.1.txt +++ b/sway/sway.1.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | ///// | 1 | ///// |
2 | vim:set ts=4 sw=4 tw=82 noet: | 2 | vim:set ft=asciidoc ts=4 sw=4 tw=82 noet: |
3 | ///// | 3 | ///// |
4 | :quotes.~: | 4 | :quotes.~: |
5 | 5 | ||
@@ -93,27 +93,6 @@ The following environment variables have an effect on sway: | |||
93 | *SWAYSOCK*:: | 93 | *SWAYSOCK*:: |
94 | Specifies the path to the sway IPC socket. | 94 | Specifies the path to the sway IPC socket. |
95 | 95 | ||
96 | *WLC_DRM_DEVICE*:: | ||
97 | Specifies the device to use in DRM mode. | ||
98 | |||
99 | *WLC_SHM*:: | ||
100 | Set 1 to force EGL clients to use shared memory. | ||
101 | |||
102 | *WLC_OUTPUTS*:: | ||
103 | Number of fake outputs to use when running in X11 mode. | ||
104 | |||
105 | *WLC_XWAYLAND*:: | ||
106 | Set to 0 to disable Xwayland support. | ||
107 | |||
108 | *WLC_LIBINPUT*:: | ||
109 | Set to 1 to force libinput (even in X11 mode). | ||
110 | |||
111 | *WLC_REPEAT_DELAY*:: | ||
112 | Configures the keyboard repeat delay. | ||
113 | |||
114 | *WLC_REPEAT_RATE*:: | ||
115 | Configures the keyboard repeat rate. | ||
116 | |||
117 | *XKB_DEFAULT_RULES*, *XKB_DEFAULT_MODEL*, *XKB_DEFAULT_LAYOUT*, *XKB_DEFAULT_VARIANT*, *XKB_DEFAULT_OPTIONS*:: | 96 | *XKB_DEFAULT_RULES*, *XKB_DEFAULT_MODEL*, *XKB_DEFAULT_LAYOUT*, *XKB_DEFAULT_VARIANT*, *XKB_DEFAULT_OPTIONS*:: |
118 | Configures the xkb keyboard settings. See xkeyboard-config(7). | 97 | Configures the xkb keyboard settings. See xkeyboard-config(7). |
119 | 98 | ||
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index 2a4ef205..afd3c9fa 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -312,7 +312,7 @@ The default colors are: | |||
312 | **hide_edge_borders** <none|vertical|horizontal|both|smart>:: | 312 | **hide_edge_borders** <none|vertical|horizontal|both|smart>:: |
313 | Hide window borders adjacent to the screen edges. Default is _none_. | 313 | Hide window borders adjacent to the screen edges. Default is _none_. |
314 | 314 | ||
315 | **input** <input device> <block of commands>:: | 315 | **input** <input_device> <block of commands>:: |
316 | Append _{_ to this command, the following lines will be commands to configure | 316 | Append _{_ to this command, the following lines will be commands to configure |
317 | the named input device, and _}_ on its own line will close the block. | 317 | the named input device, and _}_ on its own line will close the block. |
318 | + | 318 | + |
@@ -320,6 +320,11 @@ The default colors are: | |||
320 | + | 320 | + |
321 | See **sway-input**(5) for details. | 321 | See **sway-input**(5) for details. |
322 | 322 | ||
323 | **seat** <seat_name> <block of commands>:: | ||
324 | Append _{_ to this command, the following lines will be commands to configure | ||
325 | the named seat, and _}_ on its own line will close the block. | ||
326 | See **sway-input**(5) for details. | ||
327 | |||
323 | **kill**:: | 328 | **kill**:: |
324 | Kills (force-closes) the currently-focused container and all of its children. | 329 | Kills (force-closes) the currently-focused container and all of its children. |
325 | 330 | ||