230424.3 · 214aab9fdc45e7a507d41b564a1136eea9b298c9
terminal: various fixes for my terminal setup
reading declarations
Changes to bin/terminal. All files
@@ -2,15 +2,20 @@ # vim: tabstop=2 shiftwidth=2 softtabstop=2 +logfile="/tmp/terminal-$USER.log" temubin=alacritty dir=+if is-work; then+ # For whatever reason, alacritty crashes every time+ # I try to maximize it in GNOME.+ temubin=gnome-terminal+fi if [ "$1" = "-d" ]; then dir="$2"- echo "$dir" >> "/tmp/terminal-$USER.log"+ echo "$dir" >> "$logfile" shift 2 fi -logfile="/tmp/alacritty-$USER.log" if [ -z "$dir" ]; then exec $temubin "$@" >> "$logfile" 2>&1 else