dmenu-scripts/dmenu-runner

16 lines
190 B
Bash
Executable File

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