Disable ignore /bin by default (dmenu_run)

This commit is contained in:
q3aql 2022-05-30 15:35:11 +02:00
parent 859f47c19e
commit db55baf722

View File

@ -16,14 +16,16 @@ list_binaries() {
if [ -z "${current_path}" ] ; then if [ -z "${current_path}" ] ; then
binaries=1 binaries=1
else else
# Extra code # Extra code / When /bin is the same that /usr/bin/
if [ "${current_path}" == "/bin" ] ; then #if [ "${current_path}" == "/bin" ] ; then
count_path=$(expr ${count_path} + 1) # count_path=$(expr ${count_path} + 1)
else #else
# ls -1 ${current_path}/
# count_path=$(expr ${count_path} + 1)
#fi
ls -1 ${current_path}/ ls -1 ${current_path}/
count_path=$(expr ${count_path} + 1) count_path=$(expr ${count_path} + 1)
fi fi
fi
done done
} }