mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
Fix markup syntax in man pages
This commit is contained in:
parent
1a8b9fda8a
commit
3dcfa2ee90
@ -75,14 +75,14 @@ Sway allows configuring swaybar in the sway configuration file.
|
||||
*bindcode* [--release] <event-code> <command>
|
||||
Executes _command_ when the mouse button has been pressed (or if _released_
|
||||
is given, when the button has been released). The buttons can be given as
|
||||
an event code, which can be obtaining from `libinput debug-events`. To
|
||||
an event code, which can be obtaining from *libinput debug-events*. To
|
||||
disable the default behavior for a button, use the command _nop_.
|
||||
|
||||
*bindsym* [--release] button[1-9]|<event-name> <command>
|
||||
Executes _command_ when the mouse button has been pressed (or if _released_
|
||||
is given, when the button has been released). The buttons can be given as a
|
||||
x11 button number or an event name, which can be obtained from `libinput
|
||||
debug-events`. To disable the default behavior for a button, use the
|
||||
x11 button number or an event name, which can be obtained from *libinput
|
||||
debug-events*. To disable the default behavior for a button, use the
|
||||
command _nop_.
|
||||
|
||||
*mode* dock|hide|invisible|overlay
|
||||
@ -127,14 +127,14 @@ The following commands configure the tray.
|
||||
*tray_bindcode* <event-code>
|
||||
ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop
|
||||
Executes the action when the mouse button has been pressed. The buttons can
|
||||
be given as an event code, which can be obtained from `libinput debug-events`.
|
||||
be given as an event code, which can be obtained from *libinput debug-events*.
|
||||
To disable the default behavior for a button, use the command _nop_.
|
||||
|
||||
*tray_bindsym* button[1-9]|<event-name>
|
||||
ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop
|
||||
Executes the action when the mouse button has been pressed. The buttons can
|
||||
be given as a x11 button number or an event name, which can be obtained
|
||||
from `libinput debug-events`. Use the command _nop_ to disable the default
|
||||
from *libinput debug-events*. Use the command _nop_ to disable the default
|
||||
action (Activate for button1, ContextMenu for button2 and SecondaryActivate
|
||||
for button3).
|
||||
|
||||
|
@ -64,8 +64,8 @@ For more information on these xkb configuration options, see
|
||||
|
||||
*input* <identifier> xkb_switch_layout <index>
|
||||
Changes the active keyboard layout index. This can be used when multiple
|
||||
layouts are configured with `xkb_layout`. A list of layouts you can switch
|
||||
between can be obtained with `swaymsg -t get_inputs`.
|
||||
layouts are configured with *xkb_layout*. A list of layouts you can switch
|
||||
between can be obtained with *swaymsg -t get_inputs*.
|
||||
|
||||
*input* <identifier> xkb_variant <variant>
|
||||
Sets the variant of the keyboard like _dvorak_ or _colemak_.
|
||||
@ -149,8 +149,8 @@ The following commands may only be used in the configuration file.
|
||||
|
||||
*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name>
|
||||
Sets the button used for scroll_method on_button_down. The button can
|
||||
be given as an event name or code, which can be obtained from `libinput
|
||||
debug-events`, or as a x11 mouse button (button[1-3,8,9]). If set to
|
||||
be given as an event name or code, which can be obtained from *libinput
|
||||
debug-events*, or as a x11 mouse button (button[1-3,8,9]). If set to
|
||||
_disable_, it disables the scroll_method on_button_down.
|
||||
|
||||
*input* <identifier> scroll_factor <floating point value>
|
||||
@ -199,7 +199,7 @@ correct seat.
|
||||
*seat* <seat> cursor press|release button[1-9]|<event-name-or-code>
|
||||
Simulate pressing (or releasing) the specified mouse button on the
|
||||
specified seat. The button can either be provided as a button event name or
|
||||
event code, which can be obtained from `libinput debug-events`, or as an x11
|
||||
event code, which can be obtained from *libinput debug-events*, or as an x11
|
||||
mouse button (button[1-9]). If using button[4-7], which map to axes, an axis
|
||||
event will be simulated, however _press_ and _release_ will be ignored and
|
||||
both will occur.
|
||||
|
@ -12,7 +12,7 @@ _swaynag_ [options...]
|
||||
|
||||
*-b, --button* <text> <action>
|
||||
Create a button with the text _text_ that executes _action_ when pressed.
|
||||
If the environment variable `TERMINAL` is set, _action_ will be run inside
|
||||
If the environment variable _TERMINAL_ is set, _action_ will be run inside
|
||||
the terminal. Otherwise, it will fallback to running directly. Multiple
|
||||
buttons can be defined by providing the flag multiple times.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user