dmenu_run_i (257B)
1 #!/bin/sh 2 3 # dmenu_run improved 4 # command ending with '!', is started in the terminal. 5 6 test -s "$HOME"/.dmenurc && . "$HOME"/.dmenurc 7 8 cmd="$(dmenu_path | dmenu "$@")" 9 10 case $cmd in 11 *\!) "${TERMINAL:-st}" -e "${cmd%?}" & ;; 12 *) "${cmd}" & ;; 13 esac