From 9329b2c2022efdb6e2e2a5abbeef3083b6e2a2ee Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Sep 2018 08:22:37 +0530 Subject: [PATCH] Allow using "all" as "*" for enabled_layouts --- kitty/config_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/config_data.py b/kitty/config_data.py index a6d20211a..9660f7335 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -462,7 +462,7 @@ def to_layout_names(raw): parts = [x.strip().lower() for x in raw.split(',')] ans = [] for p in parts: - if p == '*': + if p in ('*', 'all'): ans.extend(sorted(all_layouts)) continue name = p.partition(':')[0] @@ -474,7 +474,7 @@ def to_layout_names(raw): o('enabled_layouts', '*', option_type=to_layout_names, long_text=_(''' The enabled window layouts. A comma separated list of layout names. The special -value :code:`*` means all layouts. The first listed layout will be used as the +value :code:`all` means all layouts. The first listed layout will be used as the startup layout. For a list of available layouts, see the :ref:`layouts`. '''))