Restore old defaults without any video attributes - noice - small file browser … | |
git clone git://git.codemadness.org/noice | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 92b695091ecaffcd9f4eb630c740ba50fd5df2d3 | |
parent 3adbce1b597e0812f1e503e82a671a84ae105f89 | |
Author: Lazaros Koromilas <[email protected]> | |
Date: Sun, 3 Feb 2019 22:57:31 +0200 | |
Restore old defaults without any video attributes | |
Diffstat: | |
M config.def.h | 14 ++++++++------ | |
1 file changed, 8 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/config.def.h b/config.def.h | |
@@ -11,13 +11,15 @@ int showhidden = 0; /* Set to 1 to show hidden files by de… | |
int usecolor = 0; /* Set to 1 to enable color attributes */ | |
char *idlecmd = "rain"; /* The screensaver program */ | |
-#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) | |
+/* See curs_attr(3) for valid video attributes */ | |
+#define CURSR_ATTR A_NORMAL | |
+#define DIR_ATTR A_NORMAL | COLOR_PAIR(4) | |
+#define LINK_ATTR A_NORMAL | COLOR_PAIR(6) | |
+#define SOCK_ATTR A_NORMAL | COLOR_PAIR(1) | |
+#define FIFO_ATTR A_NORMAL | COLOR_PAIR(5) | |
+#define EXEC_ATTR A_NORMAL | COLOR_PAIR(2) | |
+/* Colors to use with COLOR_PAIR(n) as attributes */ | |
struct cpair pairs[] = { | |
{ .fg = 0, .bg = 0 }, | |
/* pairs start at 1 */ |