dmenu-scripts/dmenu-runner

16 lines
190 B
Plaintext
Raw Normal View History

#!/bin/sh
load_config () {
. $HOME/.config/dmenu/config
}
2022-07-17 11:03:13 +02:00
main () {
load_config
choice=$(dmenu_path | grep dmenu- | $DMENU -p "Choose script to run:")
$choice
}
main $@