birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d5debeb920bf3750beb73fcb3f633c4adaa65f4f
parent d2121a34e2f63c25ab65f4624ab29570ef06e132
Author: grouse <bdmfegys@duck.com>
Date:   Sun,  3 Dec 2023 10:11:33 -0500

added darling colorscheme patch to extras

Diffstat:
Aextras/darling-6.4.patch | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+), 0 deletions(-)

diff --git a/extras/darling-6.4.patch b/extras/darling-6.4.patch @@ -0,0 +1,67 @@ +commit a1d93e976274d027e732e3d4a3fc9a6b360af015 +Author: grouse <bdmfegys@duck.com> +Date: Sun Dec 3 00:52:21 2023 -0500 + + darling patch for dwm is a colorscheme patch based on gmk's darling keycaps + +diff --git a/config.def.h b/config.def.h +index 9efa774..365859c 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -7,16 +7,44 @@ static const int showbar = 1; /* 0 means no bar */ + static const int topbar = 1; /* 0 means bottom bar */ + static const char *fonts[] = { "monospace:size=10" }; + static const char dmenufont[] = "monospace:size=10"; ++/* commented and replaced by darling 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 *colors[][3] = { +- /* fg bg border */ ++// fg bg border + [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, + [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + }; ++*/ ++/* ++color codes: ++ dark red: #861a22 ++ pink: #f4cdd4 ++ white: #f7f2ea ++ red: #bb1e10 ++ - unused cause it didnt work right ++ blue: #00a7e2 ++*/ ++// non-focused background ++static const char darlingunselbg[] = "#861a22"; ++// non-focused border ++static const char darlingunselborder[] = "#861a22"; ++// non-focused foreground ++static const char darlingunselfg[] = "#f7f2ea"; ++// focused foreground ++static const char darlingselfg[] = "#f4cdd4"; ++// focused background ++static const char darlingselbg[] = "#bb1e10"; ++// focused border ++static const char darlingselborder[] = "#f4cdd4"; ++static const char *colors[][3] = { ++ /* fg bg border */ ++ [SchemeNorm] = { darlingunselfg, darlingunselbg, darlingunselborder }, ++ [SchemeSel] = { darlingselfg, darlingselbg, darlingselborder }, ++}; + + /* tagging */ + static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +@@ -57,7 +85,10 @@ static const Layout layouts[] = { + + /* commands */ + static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ ++/* uncommented and replaced by darling patch + static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; ++*/ ++static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", darlingunselbg, "-nf", darlingunselfg, "-sb", darlingselbg, "-sf", darlingselfg, NULL }; + static const char *termcmd[] = { "st", NULL }; + + static const Key keys[] = {