h: fire off tmux and weechat in the bg

This commit is contained in:
Aaron Bieber 2022-10-03 09:32:33 -06:00
parent 36471a59ca
commit 1c5bf23271
No known key found for this signature in database

View File

@ -6,6 +6,13 @@
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6644 ${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6644
${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645 ${icbirc}/bin/icbirc -l 127.0.0.1 -s localhost -p 6645
tname="IRC"
if !tmux ls | grep -q "^${tname}:"; then
tmux -2 new-session -d -s "${tname}" 'weechat'
tmux -s "${tname}" splitw -dv -b -h -l 30% 'ssh anonicb@slackers.openbsd.org'
fi
${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \ ${pkgs.openssh}/bin/ssh -NTL 7326:localhost:7326 \
-oServerAliveInterval=60 \ -oServerAliveInterval=60 \
-oExitOnForwardFailure=yes \ -oExitOnForwardFailure=yes \