Remove alacritty branch in bin/scratch

I'm pretty sure I'll never use alacritty again.
This commit is contained in:
Henrik Lissner 2020-04-12 16:09:54 -04:00
parent 899b76576e
commit 06461716a5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# Toggle a scratch terminal window. A scratch terminal is a disposable terminal
# for one-off, quick commands that don't warrant a dedicated terminal.
SCRID=scratch
CMD=${1:-'tmux new-session -A -s scratch -n scratch'}
focused=$(xdotool getactivewindow)
@ -10,9 +13,6 @@ if [[ -n $scratch ]]; then
else
xdotool windowactivate $scratch
fi
elif command -v alacritty >/dev/null; then
alacritty --class $SCRID \
-e $SHELL -c "$CMD"
elif command -v urxvt >/dev/null; then
urxvt -name $SCRID \
-e $SHELL -c "$CMD"