2021-05-23 14:32:37 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#
|
|
|
|
# Script to run all scripts in wm_scripts directory.
|
|
|
|
#
|
|
|
|
|
2022-01-24 05:10:37 +08:00
|
|
|
cd $HOME/.config/wm_scripts/menuitems
|
2021-05-23 14:32:37 +08:00
|
|
|
list=""
|
|
|
|
for entry in ./*.sh
|
|
|
|
do
|
|
|
|
list="${list}${entry}\n"
|
|
|
|
done
|
|
|
|
|
|
|
|
end=${#list}-2
|
|
|
|
list=${list:0:end}
|
2022-01-24 05:10:37 +08:00
|
|
|
eval $(echo -e $list | $HOME/.config/wm_scripts/menucmd)
|
2021-05-23 14:32:37 +08:00
|
|
|
|