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
binaries=1
else
# Extra code
if [ "${current_path}" == "/bin" ] ; then
count_path=$(expr ${count_path} + 1)
else
# Extra code / When /bin is the same that /usr/bin/
#if [ "${current_path}" == "/bin" ] ; then
# count_path=$(expr ${count_path} + 1)
#else
# ls -1 ${current_path}/
# count_path=$(expr ${count_path} + 1)
#fi
ls -1 ${current_path}/
count_path=$(expr ${count_path} + 1)
fi
fi
done
}