Introduction
Introduction Statistics Contact Development Disclaimer Help
No colors by default - noice - small file browser (mirror / fork from 2f30.org)
git clone git://git.codemadness.org/noice
Log
Files
Refs
README
LICENSE
---
commit 7e8495803964d3acc920cc79a03089db78278290
parent 4799ca8afd18a7443bdb4faff2ce2c5cd02b84e8
Author: dok <[email protected]>
Date: Sat, 19 Jan 2019 18:43:02 +0100
No colors by default
Diffstat:
M config.def.h | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/config.def.h b/config.def.h
@@ -10,12 +10,21 @@ int idletimeout = 0; /* Screensaver timeout in seconds, 0 t…
int showhidden = 0; /* Set to 1 to show hidden files by default */
char *idlecmd = "rain"; /* The screensaver program */
+#ifdef USE_COLOR
#define CURSR_ATTR A_REVERSE
#define DIR_ATTR A_BOLD | COLOR_PAIR(4)
#define LINK_ATTR A_BOLD | COLOR_PAIR(6)
#define SOCK_ATTR A_BOLD | COLOR_PAIR(1)
#define FIFO_ATTR A_BOLD | COLOR_PAIR(5)
#define EXEC_ATTR A_BOLD | COLOR_PAIR(2)
+#else
+#define CURSR_ATTR A_REVERSE
+#define DIR_ATTR A_BOLD
+#define LINK_ATTR A_BOLD
+#define SOCK_ATTR A_BOLD
+#define FIFO_ATTR A_BOLD
+#define EXEC_ATTR A_BOLD
+#endif
struct cpair pairs[] = {
{ .fg = 0, .bg = 0 },
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.