#!/bin/sh load_config () { . $HOME/.config/dmenu/config } main () { load_config choice=$(dmenu_path | grep dmenu- | $DMENU -p "Choose script to run:") $choice } main $@