dotfiles/bin/run_terminal

15 lines
317 B
Bash
Executable file

#!/usr/bin/env bash
if [ -n "`which alacritty`" ]; then
alacritty $@
elif [ -n "`which terminator`" ]; then
terminator $@
elif [ -n "`which gnome-terminal`" ]; then
gnome-terminal $@
elif [ -n "`which xfce4-terminal`" ]; then
xfce4-terminal $@
elif [ -n "`which urxvt`" ]; then
urxvt $@
else
xterm $@
fi