From 06461716a592bfedda01f118c165135f29d699e3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 12 Apr 2020 16:09:54 -0400 Subject: [PATCH] Remove alacritty branch in bin/scratch I'm pretty sure I'll never use alacritty again. --- bin/scratch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/scratch b/bin/scratch index 6eadb17f..93e5019f 100755 --- a/bin/scratch +++ b/bin/scratch @@ -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"