dotfiles.pub/_scripts/dmenu_run_term

6 lines
164 B
Bash
Executable file

#!/bin/sh
# select a command with dmenu_run but run it in the terminal emulator
command=$(dmenu_path | dmenu "$@")
[[ $command != "" ]] && exec urxvt -e $command