cdmenu/dmenu_terminal

8 lines
106 B
Bash
Executable File

#!/bin/sh
chosen=$(dmenu_path | dmenu "$@")
if [ ! -z "$chosen" ]; then
"$TERMINAL" -e $chosen &
fi