From 65b05169d3f258fb7b4fab31fffa26fefaaf1103 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 17 Mar 2011 17:55:53 +0100 Subject: [PATCH] change the config parser to use default_orientation instead of new_container_orientation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It’s a shorter and probably more meaningful description as it is not immediately clear what a container exactly is when first installing i3. --- src/cfgparse.l | 2 +- src/cfgparse.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfgparse.l b/src/cfgparse.l index 4776527b..cc0dd320 100644 --- a/src/cfgparse.l +++ b/src/cfgparse.l @@ -92,7 +92,7 @@ set[^\n]* { return TOKCOMMENT; } ipc-socket { BEGIN(BIND_AWS_COND); return TOKIPCSOCKET; } ipc_socket { BEGIN(BIND_AWS_COND); return TOKIPCSOCKET; } restart_state { BEGIN(BIND_AWS_COND); return TOKRESTARTSTATE; } -new_container_orientation { return TOK_ORIENTATION; } +default_orientation { return TOK_ORIENTATION; } horizontal { return TOK_HORIZ; } vertical { return TOK_VERT; } auto { return TOK_AUTO; } diff --git a/src/cfgparse.y b/src/cfgparse.y index 50058680..68678b80 100644 --- a/src/cfgparse.y +++ b/src/cfgparse.y @@ -224,7 +224,7 @@ void parse_file(const char *f) { %token TOKCOLOR %token TOKARROW "→" %token TOKMODE "mode" -%token TOK_ORIENTATION "new_container_orientation" +%token TOK_ORIENTATION "default_orientation" %token TOK_HORIZ "horizontal" %token TOK_VERT "vertical" %token TOK_AUTO "auto" -- 2.39.5