Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/simpleDots/bin/dmenu_dir2menu.sh
Joerg Elfring a26076b864 ALL NEW DOTFILES!
No more branches and no more Makefiles
2020-06-16 22:47:23 +02:00

12 lines
196 B
Bash
Executable file

#!/bin/bash
directory=$1
## ARG1 needs to be a directory
if [ ! -d $directory ]
then
echo Usage: $0 [Directory with menuitems]
exit 1
fi
$directory/$(ls --color=never -1 $directory | dmenu)