diff --git a/config.h b/config.h index 3e18fdd..d6bba3e 100644 --- a/config.h +++ b/config.h @@ -15,18 +15,7 @@ static const char *fonts[] = { "Iosevka:pixelsize=14:antialias=true:aut }; /* color theme */ -static const char col_gray1[] = "#222222"; -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 col_urgborder[] = "#ff0000"; -static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, - [SchemeUrg] = { col_gray4, col_cyan, col_urgborder }, -}; +#include "themes/mydark.h" /* sticky indicator */ static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */ diff --git a/themes/default.h b/themes/default.h new file mode 100644 index 0000000..df9cc5f --- /dev/null +++ b/themes/default.h @@ -0,0 +1,12 @@ +static const char col_gray1[] = "#222222"; +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 col_urgborder[] = "#ff0000"; +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, + [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + [SchemeUrg] = { col_gray4, col_cyan, col_urgborder }, +}; diff --git a/themes/mydark.h b/themes/mydark.h new file mode 100644 index 0000000..aa52910 --- /dev/null +++ b/themes/mydark.h @@ -0,0 +1,18 @@ +static const char norm_fg[] = "#D6DEEB"; +static const char norm_bg[] = "#121317"; +static const char norm_border[] = "#121317"; + +static const char sel_fg[] = "#D6DEEB"; +static const char sel_bg[] = "#313439"; +static const char sel_border[] = "#313439"; + +static const char urg_fg[] = "#D6DEEB"; +static const char urg_bg[] = "#1E222A"; +static const char urg_border[] = "#282C34"; + +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins + [SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win + [SchemeUrg] = { urg_fg, urg_bg, urg_border }, +};