dotfiles/.config/wm_scripts/all.sh

18 lines
232 B
Bash
Raw Normal View History

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