mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
commit
4b3e533a59
3 changed files with 8 additions and 5 deletions
|
@ -44,6 +44,7 @@ Install dependencies:
|
||||||
* [wlc](https://github.com/Cloudef/wlc)
|
* [wlc](https://github.com/Cloudef/wlc)
|
||||||
* wayland
|
* wayland
|
||||||
* xwayland
|
* xwayland
|
||||||
|
* libinput >= 1.6.0
|
||||||
* libcap
|
* libcap
|
||||||
* asciidoc
|
* asciidoc
|
||||||
* pcre
|
* pcre
|
||||||
|
|
|
@ -284,7 +284,9 @@ json_object *ipc_json_describe_input(struct libinput_device *device) {
|
||||||
{ LIBINPUT_DEVICE_CAP_TABLET_TOOL, "tablet_tool", NULL },
|
{ LIBINPUT_DEVICE_CAP_TABLET_TOOL, "tablet_tool", NULL },
|
||||||
{ LIBINPUT_DEVICE_CAP_TABLET_PAD, "tablet_pad", NULL },
|
{ LIBINPUT_DEVICE_CAP_TABLET_PAD, "tablet_pad", NULL },
|
||||||
{ LIBINPUT_DEVICE_CAP_GESTURE, "gesture", NULL },
|
{ LIBINPUT_DEVICE_CAP_GESTURE, "gesture", NULL },
|
||||||
{ LIBINPUT_DEVICE_CAP_SWITCH, "switch", NULL }
|
#ifdef LIBINPUT_DEVICE_CAP_SWITCH // libinput 1.7.0+
|
||||||
|
{ LIBINPUT_DEVICE_CAP_SWITCH, "switch", NULL },
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
json_object *_caps = json_object_new_array();
|
json_object *_caps = json_object_new_array();
|
||||||
|
|
|
@ -50,17 +50,17 @@ Commands
|
||||||
|
|
||||||
**wrap_scroll** <yes|no>::
|
**wrap_scroll** <yes|no>::
|
||||||
Enables or disables wrapping when scrolling through workspaces with the
|
Enables or disables wrapping when scrolling through workspaces with the
|
||||||
scroll wheel. Default is no.
|
scroll wheel. Default is _no_.
|
||||||
|
|
||||||
**workspace_buttons** <yes|no>::
|
**workspace_buttons** <yes|no>::
|
||||||
Enables or disables workspace buttons on the bar. Default is yes.
|
Enables or disables workspace buttons on the bar. Default is _yes_.
|
||||||
|
|
||||||
**strip_workspace_numbers** <yes|no>::
|
**strip_workspace_numbers** <yes|no>::
|
||||||
If set to _yes_, then workspace numbers will be omitted from the workspace
|
If set to _yes_, then workspace numbers will be omitted from the workspace
|
||||||
button and only the custom name will be shown.
|
button and only the custom name will be shown. Default is _no_.
|
||||||
|
|
||||||
**binding_mode_indicator** <yes|no>::
|
**binding_mode_indicator** <yes|no>::
|
||||||
Enable or disable binding mode indicator. It's enabled by default.
|
Enable or disable binding mode indicator. Default is _yes_.
|
||||||
|
|
||||||
**height** <height>::
|
**height** <height>::
|
||||||
Sets the height of the bar. Default height will match the font size.
|
Sets the height of the bar. Default height will match the font size.
|
||||||
|
|
Loading…
Reference in a new issue