i3-sensible-terminal: launch i3-nagbar when no terminal is found

fixes #1587
This commit is contained in:
Michael Stapelberg 2015-03-26 09:21:40 +01:00
parent ebf5941456
commit d97aeffcd4
1 changed files with 2 additions and 0 deletions

View File

@ -13,3 +13,5 @@ for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm
exec $terminal "$@"
fi
done
i3-nagbar -m 'i3-sensible-terminal could not find a terminal emulator. Please install one.'