add dmenufm and modify makefile

This commit is contained in:
randomuser 2020-12-12 20:51:54 -06:00
parent e5e5610859
commit 2300a6e286
1 changed files with 9 additions and 0 deletions

9
dmenufm Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
while true; do
choice=`ls -a | dmenu`;
[ -d $choice ] && cd $choice;
[ -f $choice ] && printf "%s\n" "$choice" && exit 0;
[ "$choice" = '!quit' ] && exit 0;
done
exit 1;