projects
/
nnn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefb945
)
Move mtimeorder to config.def.h
author
sin <sin@2f30.org>
Wed, 4 Feb 2015 12:32:16 +0000 (12:32 +0000)
committer
sin <sin@2f30.org>
Wed, 4 Feb 2015 12:33:13 +0000 (12:33 +0000)
config.def.h
patch
|
blob
|
history
noice.c
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index f3f6a48cb412d494bf869755a9d575e80fc1a09f..311adb275d145e468b7ffa08417399696c21fb12 100644
(file)
--- 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 04115cf5aa50545dcc437bdc422f69f854927e0b..0a81137869e03b32489aab96c3964fba2a54532e 100644
(file)
--- a/
noice.c
+++ b/
noice.c
@@
-72,8
+72,6
@@
struct entry {
time_t t;
};
-int mtimeorder;
-
/*
* Layout:
* .---------