From 62b2b87c9ff6d0fd3709e51db3546846ce4bd016 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 7 May 2021 11:25:49 -0700 Subject: [PATCH] switch default to alacritty --- .config/alacritty/alacritty.yml | 2 +- bin/run_terminal | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index dd7d14c..25b8a7a 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -349,7 +349,7 @@ bell: # Duration of the visual bell flash in milliseconds. A `duration` of `0` will # disable the visual bell animation. - duration: 1000 + duration: 200 # Visual bell animation color. color: '#ffffff' diff --git a/bin/run_terminal b/bin/run_terminal index 63f8988..94570a1 100755 --- a/bin/run_terminal +++ b/bin/run_terminal @@ -1,6 +1,8 @@ #!/usr/bin/env bash -if [ -n "`which terminator`" ]; then +if [ -n "`which alacritty`" ]; then + alacritty $@ +elif [ -n "`which terminator`" ]; then terminator $@ elif [ -n "`which gnome-terminal`" ]; then gnome-terminal $@