Introduction
Introduction Statistics Contact Development Disclaimer Help
dmenu_run_i - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dmenu_run_i (275B)
---
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 '') ;;
12 *\!) exec "${TERMINAL:-st}" -e ${cmd%?} & ;;
13 *) exec ${cmd} & ;;
14 esac
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.