Added script that runs all scripts in wm_scripts.

This commit is contained in:
sheldonmlee 2021-05-23 14:32:37 +08:00
parent 4e83485d79
commit bb31017840

17
.config/wm_scripts/all.sh Executable file
View File

@ -0,0 +1,17 @@
#!/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)