fix chrome startup without xterm

pull/40/head
TomasM 2017-11-06 13:58:48 -05:00
parent 020b75e973
commit 75b6c2d320
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ exec xlunch --input /etc/xlunch/entries.dsv --background /usr/share/wallpapers/w
whi="$(which $cmd | head -n 1)" whi="$(which $cmd | head -n 1)"
Xdep=$(ldd $whi | grep libX11) Xdep=$(ldd $whi | grep libX11)
if [ "$Xdep" = "" ]; then if [ "$Xdep" = "" -a "$cmd" != "chromium" ]; then
xterm -e bash -c "echo '$LINE'; $LINE; echo; read -n 1 -s -r -p 'Command finished. Press any key to close window...'" xterm -e bash -c "echo '$LINE'; $LINE; echo; read -n 1 -s -r -p 'Command finished. Press any key to close window...'"
else else
$LINE $LINE