diff options
-rw-r--r-- | sway/sway-bar.5.scd | 10 | ||||
-rw-r--r-- | sway/sway-input.5.scd | 10 | ||||
-rw-r--r-- | swaynag/swaynag.1.scd | 2 |
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. *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). 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 *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. 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...] *-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. |