dwm

dynamic window manager

git clone https://9o.is/git/dwm.git

commit 307585fcd6b8df9fb4794a071dc25e46f8b8cd15
parent b4cf6f520e0aea66cec298526097fa23f0e7a3a5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 28 Jun 2016 18:04:56 +0200

config.def.h: style improvement, use color Scheme enum

Diffstat:
Mconfig.def.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -12,10 +12,10 @@ static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; static const char col_cyan[] = "#005577"; -static const char *colors[][3] = { - /* fg bg border */ - { col_gray3, col_gray1, col_gray2}, /* normal */ - { col_gray4, col_cyan, col_cyan }, /* selected */ +static const char *colors[SchemeLast][3] = { + /* fg bg border */ + [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, + [SchemeSel] = { col_gray4, col_cyan, col_cyan }, }; /* tagging */