From b839f0d05ded8c0087bcf52ce7a1d40a9b4c3733 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Mon, 24 Jan 2022 05:10:37 +0800 Subject: [PATCH] all.sh now looks inside menuitems directory. --- .config/wm_scripts/all.sh | 4 ++-- .config/wm_scripts/{ => menuitems}/layout.sh | 0 .config/wm_scripts/{ => menuitems}/manpages.sh | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename .config/wm_scripts/{ => menuitems}/layout.sh (100%) rename .config/wm_scripts/{ => menuitems}/manpages.sh (100%) diff --git a/.config/wm_scripts/all.sh b/.config/wm_scripts/all.sh index e250f1e..89a9e0c 100755 --- a/.config/wm_scripts/all.sh +++ b/.config/wm_scripts/all.sh @@ -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) diff --git a/.config/wm_scripts/layout.sh b/.config/wm_scripts/menuitems/layout.sh similarity index 100% rename from .config/wm_scripts/layout.sh rename to .config/wm_scripts/menuitems/layout.sh diff --git a/.config/wm_scripts/manpages.sh b/.config/wm_scripts/menuitems/manpages.sh similarity index 100% rename from .config/wm_scripts/manpages.sh rename to .config/wm_scripts/menuitems/manpages.sh