aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authordok <dok@grehack.fr>2019-01-06 14:10:16 +0100
committersin <sin@2f30.org>2019-01-19 17:07:27 +0000
commit383abc8aa9265f3a81142973106dcaeaded63e85 (patch)
tree3a1958426b07d5588fdc13723092763b49997ef9 /config.def.h
parentffd423c6175d8c219ae4a6d939670e81845c68fc (diff)
downloadnoice-383abc8aa9265f3a81142973106dcaeaded63e85.tar.gz
Add colors
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 1669d8a..aca34f1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,24 @@ int idletimeout = 0; /* Screensaver timeout in seconds, 0 to disable */
int showhidden = 0; /* Set to 1 to show hidden files by default */
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)
+
+struct cpair pairs[] = {
+ { .fg = 0, .bg = 0 },
+ /* pairs start at 1 */
+ { COLOR_RED, 0 },
+ { COLOR_GREEN, 0 },
+ { COLOR_YELLOW, 0 },
+ { COLOR_BLUE, 0 },
+ { COLOR_MAGENTA, 0 },
+ { COLOR_CYAN, 0 },
+};
+
struct assoc assocs[] = {
{ "\\.(avi|mp4|mkv|mp3|ogg|flac|mov)$", "mpv" },
{ "\\.(png|jpg|gif)$", "sxiv" },
Un proyecto texto-plano.xyz