aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Martin Michlmayr <tbm@cyrius.com>2019-08-31 14:46:51 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-31 22:50:39 +0900
commit3dcfa2ee90d6528c612227667279ad8bc1b57cad (patch)
tree039d7b7dd4e7ad02b659c6ecc997268c352ed9a4
parentcmd_mode: don't reset to default after subcommand (diff)
downloadsway-3dcfa2ee90d6528c612227667279ad8bc1b57cad.tar.gz
sway-3dcfa2ee90d6528c612227667279ad8bc1b57cad.tar.zst
sway-3dcfa2ee90d6528c612227667279ad8bc1b57cad.zip
Fix markup syntax in man pages
-rw-r--r--sway/sway-bar.5.scd10
-rw-r--r--sway/sway-input.5.scd10
-rw-r--r--swaynag/swaynag.1.scd2
3 files changed, 11 insertions, 11 deletions
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd
index 42fb2989..36e84496 100644
--- a/sway/sway-bar.5.scd
+++ b/sway/sway-bar.5.scd
@@ -75,14 +75,14 @@ Sway allows configuring swaybar in the sway configuration file.
75*bindcode* [--release] <event-code> <command> 75*bindcode* [--release] <event-code> <command>
76 Executes _command_ when the mouse button has been pressed (or if _released_ 76 Executes _command_ when the mouse button has been pressed (or if _released_
77 is given, when the button has been released). The buttons can be given as 77 is given, when the button has been released). The buttons can be given as
78 an event code, which can be obtaining from `libinput debug-events`. To 78 an event code, which can be obtaining from *libinput debug-events*. To
79 disable the default behavior for a button, use the command _nop_. 79 disable the default behavior for a button, use the command _nop_.
80 80
81*bindsym* [--release] button[1-9]|<event-name> <command> 81*bindsym* [--release] button[1-9]|<event-name> <command>
82 Executes _command_ when the mouse button has been pressed (or if _released_ 82 Executes _command_ when the mouse button has been pressed (or if _released_
83 is given, when the button has been released). The buttons can be given as a 83 is given, when the button has been released). The buttons can be given as a
84 x11 button number or an event name, which can be obtained from `libinput 84 x11 button number or an event name, which can be obtained from *libinput
85 debug-events`. To disable the default behavior for a button, use the 85 debug-events*. To disable the default behavior for a button, use the
86 command _nop_. 86 command _nop_.
87 87
88*mode* dock|hide|invisible|overlay 88*mode* dock|hide|invisible|overlay
@@ -127,14 +127,14 @@ The following commands configure the tray.
127*tray_bindcode* <event-code> 127*tray_bindcode* <event-code>
128ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop 128ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop
129 Executes the action when the mouse button has been pressed. The buttons can 129 Executes the action when the mouse button has been pressed. The buttons can
130 be given as an event code, which can be obtained from `libinput debug-events`. 130 be given as an event code, which can be obtained from *libinput debug-events*.
131 To disable the default behavior for a button, use the command _nop_. 131 To disable the default behavior for a button, use the command _nop_.
132 132
133*tray_bindsym* button[1-9]|<event-name> 133*tray_bindsym* button[1-9]|<event-name>
134ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop 134ContextMenu|Activate|SecondaryActivate|ScrollDown|ScrollLeft|ScrollRight|ScrollUp|nop
135 Executes the action when the mouse button has been pressed. The buttons can 135 Executes the action when the mouse button has been pressed. The buttons can
136 be given as a x11 button number or an event name, which can be obtained 136 be given as a x11 button number or an event name, which can be obtained
137 from `libinput debug-events`. Use the command _nop_ to disable the default 137 from *libinput debug-events*. Use the command _nop_ to disable the default
138 action (Activate for button1, ContextMenu for button2 and SecondaryActivate 138 action (Activate for button1, ContextMenu for button2 and SecondaryActivate
139 for button3). 139 for button3).
140 140
diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd
index 9a9c5c4c..302d5428 100644
--- a/sway/sway-input.5.scd
+++ b/sway/sway-input.5.scd
@@ -64,8 +64,8 @@ For more information on these xkb configuration options, see
64 64
65*input* <identifier> xkb_switch_layout <index> 65*input* <identifier> xkb_switch_layout <index>
66 Changes the active keyboard layout index. This can be used when multiple 66 Changes the active keyboard layout index. This can be used when multiple
67 layouts are configured with `xkb_layout`. A list of layouts you can switch 67 layouts are configured with *xkb_layout*. A list of layouts you can switch
68 between can be obtained with `swaymsg -t get_inputs`. 68 between can be obtained with *swaymsg -t get_inputs*.
69 69
70*input* <identifier> xkb_variant <variant> 70*input* <identifier> xkb_variant <variant>
71 Sets the variant of the keyboard like _dvorak_ or _colemak_. 71 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.
149 149
150*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name> 150*input* <identifier> scroll_button disable|button[1-3,8,9]|<event-code-or-name>
151 Sets the button used for scroll_method on_button_down. The button can 151 Sets the button used for scroll_method on_button_down. The button can
152 be given as an event name or code, which can be obtained from `libinput 152 be given as an event name or code, which can be obtained from *libinput
153 debug-events`, or as a x11 mouse button (button[1-3,8,9]). If set to 153 debug-events*, or as a x11 mouse button (button[1-3,8,9]). If set to
154 _disable_, it disables the scroll_method on_button_down. 154 _disable_, it disables the scroll_method on_button_down.
155 155
156*input* <identifier> scroll_factor <floating point value> 156*input* <identifier> scroll_factor <floating point value>
@@ -199,7 +199,7 @@ correct seat.
199*seat* <seat> cursor press|release button[1-9]|<event-name-or-code> 199*seat* <seat> cursor press|release button[1-9]|<event-name-or-code>
200 Simulate pressing (or releasing) the specified mouse button on the 200 Simulate pressing (or releasing) the specified mouse button on the
201 specified seat. The button can either be provided as a button event name or 201 specified seat. The button can either be provided as a button event name or
202 event code, which can be obtained from `libinput debug-events`, or as an x11 202 event code, which can be obtained from *libinput debug-events*, or as an x11
203 mouse button (button[1-9]). If using button[4-7], which map to axes, an axis 203 mouse button (button[1-9]). If using button[4-7], which map to axes, an axis
204 event will be simulated, however _press_ and _release_ will be ignored and 204 event will be simulated, however _press_ and _release_ will be ignored and
205 both will occur. 205 both will occur.
diff --git a/swaynag/swaynag.1.scd b/swaynag/swaynag.1.scd
index b25568a0..fc839b96 100644
--- a/swaynag/swaynag.1.scd
+++ b/swaynag/swaynag.1.scd
@@ -12,7 +12,7 @@ _swaynag_ [options...]
12 12
13*-b, --button* <text> <action> 13*-b, --button* <text> <action>
14 Create a button with the text _text_ that executes _action_ when pressed. 14 Create a button with the text _text_ that executes _action_ when pressed.
15 If the environment variable `TERMINAL` is set, _action_ will be run inside 15 If the environment variable _TERMINAL_ is set, _action_ will be run inside
16 the terminal. Otherwise, it will fallback to running directly. Multiple 16 the terminal. Otherwise, it will fallback to running directly. Multiple
17 buttons can be defined by providing the flag multiple times. 17 buttons can be defined by providing the flag multiple times.
18 18