aboutsummaryrefslogtreecommitdiff
path: root/patches/st/bright.diff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-09-26 16:56:36 +0100
committerAkshay <[email protected]>2021-09-26 16:56:36 +0100
commit5cdb4e421a809de51c3ebe8404e50d732721238b (patch)
tree73b71617c41b3e13edbf26035e821bb884d30441 /patches/st/bright.diff
init
Diffstat (limited to 'patches/st/bright.diff')
-rw-r--r--patches/st/bright.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/st/bright.diff b/patches/st/bright.diff
new file mode 100644
index 0000000..77379d3
--- /dev/null
+++ b/patches/st/bright.diff
@@ -0,0 +1,28 @@
1From e8f3c86d93613eef5af187dfd2dba9ae9919a2ee Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= <[email protected]>
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