aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-11 22:53:03 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-11 22:53:03 +0530
commitb64df85d23ad186b036683b79db1c6aaf9da523b (patch)
treeb0215bee6173062c97ff23e72642d9b0efc7b372 /src/nnn.c
parent7eec6cedabe2327679a264492265a394ec2b4317 (diff)
downloadnnn-b64df85d23ad186b036683b79db1c6aaf9da523b.tar.gz
Operation completion notification
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 9ff6030..1e25bf8 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -138,7 +138,7 @@
#define CTX_MAX 4
#define DOT_FILTER_LEN 7
#define ASCII_MAX 128
-#define EXEC_ARGS_MAX 8
+#define EXEC_ARGS_MAX 10
#define SCROLLOFF 3
#define MIN_DISPLAY_COLS 10
#define LONG_SIZE sizeof(ulong)
@@ -4972,6 +4972,9 @@ nochange:
if (!cpmvrm_selection(sel, path, &presel))
goto nochange;
+ spawn("ntfy -l CRITICAL -t nnn send Done!",
+ NULL, NULL, NULL, F_NOWAIT | F_NOTRACE | F_MULTI);
+
if (ndents)
copycurname();
goto begin;