aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2015-02-04 12:32:16 +0000
committersin <sin@2f30.org>2015-02-04 12:33:13 +0000
commit162922b98474db445511bc45ca70ebaec82bd77c (patch)
tree89fed742001d17091f9353c8554b1f8afd83abae
parentcefb945e35c39f98cbbdb3926155bcd2ecd287f4 (diff)
downloadnoice-162922b98474db445511bc45ca70ebaec82bd77c.tar.gz
Move mtimeorder to config.def.h
-rw-r--r--config.def.h2
-rw-r--r--noice.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index f3f6a48..311adb2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,8 @@
#define CURSR " > "
#define EMPTY " "
+int mtimeorder = 0; /* set to 1 to sort by time in the default case */
+
struct assoc assocs[] = {
{ "\\.(avi|mp4|mkv|mp3|ogg|flac)$", "mplayer" },
{ "\\.(png|jpg|gif)$", "feh" },
diff --git a/noice.c b/noice.c
index 04115cf..0a81137 100644
--- a/noice.c
+++ b/noice.c
@@ -72,8 +72,6 @@ struct entry {
time_t t;
};
-int mtimeorder;
-
/*
* Layout:
* .---------
Un proyecto texto-plano.xyz