From bc572df55a35cc738466996abe26339fc5acaeda Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 24 Apr 2020 10:12:24 +0530 Subject: NNN_SEL: custom selection file --- plugins/mocplay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mocplay') diff --git a/plugins/mocplay b/plugins/mocplay index 6f5a2a0..5db44b9 100755 --- a/plugins/mocplay +++ b/plugins/mocplay @@ -12,7 +12,7 @@ # Author: Arun Prakash Jana, ath3 IFS="$(printf '\n\r')" -selection=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection +selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} cmd=$(pgrep -x mocp 2>/dev/null) ret=$cmd -- cgit v1.2.3-70-g09d2