aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sin <sin@2f30.org>2014-10-21 11:35:08 +0100
committerGravatar sin <sin@2f30.org>2014-10-21 11:35:08 +0100
commitd330033c4f2c0fb219f1e65a5e40042af34f9120 (patch)
tree70cff5ebdc586b7473239f3c1baabbbf0685c3e4
parent5999cef3967293c53faca42941e6090f4fd99e28 (diff)
downloadnnn-d330033c4f2c0fb219f1e65a5e40042af34f9120.tar.gz
Move some more config params to config.def.h
-rw-r--r--config.def.h5
-rw-r--r--noice.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index cebb942..e7af17f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,4 +1,7 @@
-/* Configuration */
+#define CWD "cwd: "
+#define CURSR " > "
+#define EMPTY " "
+
struct assoc assocs[] = {
{ "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
{ "\\.(png|jpg|gif)$", "feh" },
diff --git a/noice.c b/noice.c
index 3845980..22bec3b 100644
--- a/noice.c
+++ b/noice.c
@@ -58,10 +58,6 @@ struct history {
SLIST_HEAD(histhead, history) histhead = SLIST_HEAD_INITIALIZER(histhead);
-#define CWD "cwd: "
-#define CURSR " > "
-#define EMPTY " "
-
/*
* Layout:
* .---------