Add wrappers for terminals to make scripts terminal-agnostic

Scripts launching a terminal will now require x-terminal-emulator in the
path. A symlink for it can be created using `select-term.zsh`.
This commit is contained in:
Alexander Gehrke 2021-07-05 13:11:42 +02:00
parent a367418433
commit 7ba3dba2bc
6 changed files with 53 additions and 35 deletions

4
lib/g
View file

@ -24,6 +24,4 @@ else
action="tmux new-session -s ${prog} ${prog}"
fi
#exec alacritty --title G${prog} -e ${=action}
#exec urxvt -name G${prog} -e ${=action}
exec alacritty -t G${prog} -e ${=action}
exec x-terminal-emulator -t G${prog} -e ${=action}