ansible/roles/shell/files/chat

7 lines
244 B
Bash
Executable File

#!/bin/bash
if [[ -f ~/.weechat/irc.conf ]]; then
exec weechat
else
exec weechat-curses -r "/server add tilde irc.tilde.chat/6697 -ssl -autoconnect; /set irc.server.tilde.autojoin \"#meta,#thunix,#tildetel\"; /connect tilde"
fi