aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-16 19:15:06 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-17 07:04:42 +0530
commitaa56b99326a12f5bbab6d5a693755060e81e44a2 (patch)
tree7bd8c4507a2c73725d3e2c45c19ec0e3afe7913b /src
parent32b3445f3b96ae1c177a026e0fc9726ce17bbf81 (diff)
downloadnnn-aa56b99326a12f5bbab6d5a693755060e81e44a2.tar.gz
Add widely available cmatrix as locker fallback
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index d9db166..05a27cd 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -334,7 +334,7 @@ static char g_tmpfpath[TMP_LEN_MAX] __attribute__ ((aligned));
#define ATOOL 3
#define BSDTAR 4
#define LOCKER 5
-#define PIPES 6
+#define CMATRIX 6
#define NLAUNCH 7
#define UNKNOWN 8
@@ -358,7 +358,7 @@ static char * const utils[] = {
#else
"vlock",
#endif
- "pipes.sh",
+ "cmatrix",
"nlaunch",
"UNKNOWN"
};
@@ -2627,7 +2627,7 @@ static void lock_terminal(void)
{
char *tmp = utils[LOCKER];
if (!getutil(tmp))
- tmp = utils[PIPES];;
+ tmp = utils[CMATRIX];;
spawn(tmp, NULL, NULL, NULL, F_NORMAL);
}