dotfiles/.config/scripts/wm/all.sh

18 lines
262 B
Bash
Executable File

#!/bin/sh
#
# Script to run all scripts in wm_scripts directory.
#
cd $HOME/.config/wm_scripts/menuitems
list=""
for entry in ./*.sh
do
list="${list}${entry}\n"
done
end=${#list}-2
list=${list:0:end}
eval $(echo -e $list | $HOME/.config/wm_scripts/menucmd)