From b64df85d23ad186b036683b79db1c6aaf9da523b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 11 Dec 2019 22:53:03 +0530 Subject: Operation completion notification --- src/nnn.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2