picom pipe update

master
Daniel Napora 2020-10-01 15:04:46 +02:00
parent 9449df6af2
commit 21d264555b
1 changed files with 4 additions and 0 deletions

View File

@ -59,17 +59,21 @@ else
fi
for item in "$CONFDIR"/*.conf; do
if [ -f "$item" ];then
if [ "$(readlink $CONFFILE)" -ef "$item" ];then
out+=("<u><b>${item##*/}</b></u>")
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[@]}"