Add gruvbox patch

This commit is contained in:
2024-06-03 11:02:01 +01:00
parent c7e3c4c448
commit ac2925e3ce
4 changed files with 32 additions and 23 deletions

1
.gitignore vendored
View File

@@ -39,4 +39,3 @@ suckless/st/st
suckless/tabbed/tabbed suckless/tabbed/tabbed
suckless/slstatus/slstatus suckless/slstatus/slstatus
suckless/*/config.h

View File

@@ -9,9 +9,9 @@ static const char *fonts[] = {
static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#bbbbbb", "#222222" }, [SchemeNorm] = { "#ebdbb2", "#282828" },
[SchemeSel] = { "#eeeeee", "#005577" }, [SchemeSel] = { "#ebdbb2", "#98971a" },
[SchemeOut] = { "#000000", "#00ffff" }, [SchemeOut] = { "#ebdbb2", "#8ec07c" },
}; };
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0; static unsigned int lines = 0;

View File

@@ -0,0 +1,29 @@
From 9ae8ea55988973aa19f1e069ee24ba7af5a669e0 Mon Sep 17 00:00:00 2001
From: Miles Glapa-Grossklag <m.glapa.grossklag@gmail.com>
Date: Mon, 29 Mar 2021 18:57:52 -0700
Subject: [PATCH] Add gruvbox dark colorscheme
---
config.def.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.def.h b/config.def.h
index 1edb647..36105e5 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,9 +9,9 @@ static const char *fonts[] = {
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
- [SchemeNorm] = { "#bbbbbb", "#222222" },
- [SchemeSel] = { "#eeeeee", "#005577" },
- [SchemeOut] = { "#000000", "#00ffff" },
+ [SchemeNorm] = { "#ebdbb2", "#282828" },
+ [SchemeSel] = { "#ebdbb2", "#98971a" },
+ [SchemeOut] = { "#ebdbb2", "#8ec07c" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
--
2.25.1

View File

@@ -1,19 +0,0 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[BG] = "black", /* background */
[INIT] = "#4f525c", /* after initialization */
[INPUT] = "#005577", /* during input */
[FAILED] = "#CC3333", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
/* size of square in px */
static const int squaresize = 50;
/* time in seconds before the monitor shuts down */
static const int monitortime = 5;