From 21d264555b1f2c845faa00e6012927f628329404 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Thu, 1 Oct 2020 15:04:46 +0200 Subject: [PATCH] picom pipe update --- usr/bin/jgpicom-pipe | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/bin/jgpicom-pipe b/usr/bin/jgpicom-pipe index 416fc48..25d2a9a 100755 --- a/usr/bin/jgpicom-pipe +++ b/usr/bin/jgpicom-pipe @@ -59,17 +59,21 @@ else fi for item in "$CONFDIR"/*.conf; do +if [ -f "$item" ];then if [ "$(readlink $CONFFILE)" -ef "$item" ];then out+=("${item##*/}") else out+=("${item##*/},ln -sf $item $CONFFILE") fi +fi done out+=("^sep($EDIT_TITLE)") +if [ -f "$CONFFFILE" ];then if [ ! "$(readlink $CONFFILE)" -ef "/dev/null" ];then out+=("$EDIT,geany $CONFFILE") fi +fi out+=("$OPENDIR,exo-open --launch FileManager $CONFDIR") printf '%s\n' "${out[@]}"