[hackers] [dwm] config.def.h: style improvement, use color Scheme enum || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 28 Jun 2016 18:06:33 +0200 (CEST)

commit 56a31dc4a7be459e3a1ea06d45427e1a4087a1a6
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Tue Jun 28 18:04:56 2016 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Jun 28 18:04:56 2016 +0200

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

diff --git a/config.def.h b/config.def.h
index 13ea4b9..fd77a07 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -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 */
Received on Tue Jun 28 2016 - 18:06:33 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 28 2016 - 18:12:15 CEST