all.sh now looks inside menuitems directory.

This commit is contained in:
Sheldon Lee 2022-01-24 05:10:37 +08:00
parent e00b72e1f6
commit b839f0d05d
3 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# Script to run all scripts in wm_scripts directory.
#
cd $HOME/.config/wm_scripts/
cd $HOME/.config/wm_scripts/menuitems
list=""
for entry in ./*.sh
do
@ -13,5 +13,5 @@ done
end=${#list}-2
list=${list:0:end}
eval $(echo -e $list | rofi -dmenu)
eval $(echo -e $list | $HOME/.config/wm_scripts/menucmd)