aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/commands/mode.c3
-rw-r--r--sway/sway.5.scd6
2 files changed, 5 insertions, 4 deletions
diff --git a/sway/commands/mode.c b/sway/commands/mode.c
index 3e0ee80c..ef2c5d79 100644
--- a/sway/commands/mode.c
+++ b/sway/commands/mode.c
@@ -13,7 +13,8 @@
static struct cmd_handler mode_handlers[] = {
{ "bindcode", cmd_bindcode },
{ "bindswitch", cmd_bindswitch },
- { "bindsym", cmd_bindsym }
+ { "bindsym", cmd_bindsym },
+ { "set", cmd_set },
};
struct cmd_results *cmd_mode(int argc, char **argv) {
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 18fc28a3..dbfeefe3 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -573,9 +573,9 @@ The default colors are:
Switches to the specified mode. The default mode _default_.
*mode* [--pango_markup] <mode> <mode-subcommands...>
- The only valid _mode-subcommands..._ are *bindsym*, *bindcode* and
- *bindswitch*. If _--pango_markup_ is given, then _mode_ will be interpreted
- as pango markup.
+ The only valid _mode-subcommands..._ are *bindsym*, *bindcode*,
+ *bindswitch*, and *set*. If _--pango_markup_ is given, then _mode_ will be
+ interpreted as pango markup.
*mouse_warping* output|container|none
If _output_ is specified, the mouse will be moved to new outputs as you