Adding chat script

This commit is contained in:
aewens 2019-01-03 11:49:04 -06:00
parent 40a694ada4
commit 35ab3431b3
2 changed files with 7 additions and 0 deletions

View File

7
bin/chat Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
if grep -q "tilde.addresses = \"localhost\"" $HOME/.weechat/irc.conf; then
weechat
else
firejail weechat-curses -r "/set irc.look.temporary_servers on; /connect irc://$(whoami)@localhost/#meta,#team"
fi