dmenu/dmenu_run

9 lines
258 B
Bash
Executable File

#!/bin/bash
# dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &
config_file="$HOME/.config/dmenu/aliases"
[[ -e "$config_file" ]] && flags="--rcfile $config_file"
dmenu_path | dmenu "$@" | echo "unset HISTFILE; $(cat)" | /bin/bash $flags -i >/dev/null 2>&1