From 5e4a0bb79ba2657496db73cc2da2e181c0a3d80d Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Wed, 30 Aug 2023 06:40:12 +0300 Subject: [PATCH] feat(theme): use gurvbox dark hard color scheme --- src/colors/gruvbox_dark_hard.h | 26 ++++++++++++++++++++++++++ src/config.h | 4 +++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 src/colors/gruvbox_dark_hard.h diff --git a/src/colors/gruvbox_dark_hard.h b/src/colors/gruvbox_dark_hard.h new file mode 100644 index 0000000..ec863c5 --- /dev/null +++ b/src/colors/gruvbox_dark_hard.h @@ -0,0 +1,26 @@ +// +// Created by anas on 08/28/23. +// +#ifndef GRUVBOX_DARK_HARD_H +#define GRUVBOX_DARK_HARD_H + +static const char norm_fg[] = "#EBDBB2"; // light1 +static const char norm_bg[] = "#1D2021"; // dark0_hard +static const char norm_border[] = "#504945"; // dark2 + +static const char sel_fg[] = "#FE8019"; // bright_orange +static const char sel_bg[] = "#1D2021"; // dark0_hard +static const char sel_border[] = "#7C6F64"; // dark4 + +static const char urg_fg[] = "#D5C4A1"; // light4 +static const char urg_bg[] = "#FB4934"; // bright_red +static const char urg_border[] = "#458588"; // neutral_blue + +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}, +}; + +#endif //GRUVBOX_DARK_HARD_H diff --git a/src/config.h b/src/config.h index ddf1d7f..8e65ef3 100644 --- a/src/config.h +++ b/src/config.h @@ -25,13 +25,15 @@ static const char dmenufont[] = "monospace:size=8"; #endif -#include "colors/dracula.h" +#include "colors/gruvbox_dark_hard.h" #include "archy_dwm.h" // Autostart programs static const char *const autostart[] = { // Start my build of slstatus "archy-slstatus", NULL, + // Start the terminal with tmux + TERMINAL, "-e", "tmux", NULL, NULL /* terminate */ };