all repos — dotfiles @ 852c222278be3d4f074713027b78b66de35604bd

my *nix dotfiles

nix/patches/st/bright.diff (view raw)

 1From e8f3c86d93613eef5af187dfd2dba9ae9919a2ee Mon Sep 17 00:00:00 2001
 2From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= <code@bnwr.net>
 3Date: Sun, 27 Jan 2019 13:31:28 +0800
 4Subject: [PATCH] Show bold not as bright
 5
 6---
 7 x.c | 4 ----
 8 1 file changed, 4 deletions(-)
 9
10diff --git a/x.c b/x.c
11index 0422421..904e1dc 100644
12--- a/x.c
13+++ b/x.c
14@@ -1296,10 +1296,6 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
15 		bg = &dc.col[base.bg];
16 	}
17 
18-	/* Change basic system colors [0-7] to bright system colors [8-15] */
19-	if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))
20-		fg = &dc.col[base.fg + 8];
21-
22 	if (IS_SET(MODE_REVERSE)) {
23 		if (fg == &dc.col[defaultfg]) {
24 			fg = &dc.col[defaultbg];
25-- 
262.20.1
27
28