#!/bin/sh
die(){printf"\033[31;1merr: %b\033[0m\n""$1"command-vnotify-send>/dev/null&¬ify-send" ttyasrt""$1"exit"${2:-1}"}######### MAIN #########if[-z"$TERMINAL"];thendie"\$TERMIANL must be set"fiiftty--silent;thenexec"$@"elseexec"$TERMINAL"--"$@"fi