commit 162922b98474db445511bc45ca70ebaec82bd77c
parent cefb945e35c39f98cbbdb3926155bcd2ecd287f4
Author: sin <sin@2f30.org>
Date: Wed, 4 Feb 2015 12:32:16 +0000
Move mtimeorder to config.def.h
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -72,8 +72,6 @@ struct entry {
time_t t;
};
-int mtimeorder;
-
/*
* Layout:
* .---------