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