diff --git a/.local/bin/tools/de b/.local/bin/tools/de index 666d865..568f784 100755 --- a/.local/bin/tools/de +++ b/.local/bin/tools/de @@ -4,17 +4,11 @@ ppid () { ps -p ${1:-$$} -o ppid=; } shell="$(ps aux | grep $( ppid ) | head -n1 | awk '{print $11}' )" document_dirs="$HOME/bks/* $HOME/eth/* $HOME/dox/*" +#force launch dmenu via cmd +if [ "$1" = "launchdmenu" ]; then + file="$( du -a $document_dirs | awk '{for(i=2; i