scripts/misc/sweechat
2020-04-02 10:38:36 +02:00

11 lines
188 B
Bash
Executable file

#!/bin/zsh
if [[ "$1" == "-S" ]]; then
shift
server=${1};
shift
else
server="qwerty";
fi
exec alacritty -t Weechat -e tmux new-session mosh "${server}" -- tmux attach "$@" -t weechat