From 5322de934b05658337a4109e8c6cb450d6f63c96 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 4 Nov 2021 11:39:45 +0100 Subject: Weechat and slack! --- topics/cli/weechat.gmi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'topics/cli/weechat.gmi') diff --git a/topics/cli/weechat.gmi b/topics/cli/weechat.gmi index 719c95e..b9119b2 100644 --- a/topics/cli/weechat.gmi +++ b/topics/cli/weechat.gmi @@ -1 +1,22 @@ # Weechat + +Arun has packaged weechat for slack and matrix. Current install using a guix environment: + +``` +env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/opt/guix-latest/bin/guix environment --ad-hoc coreutils weechat weechat-matrix weechat-wee-slack nss-certs openssl python +echo $GUIX_ENVIRONMENT +/gnu/store/i4a3ynfjvq8r8cch14gkn2fwfs77wagj-profile/ +weechat +/python load /gnu/store/i4a3ynfjvq8r8cch14gkn2fwfs77wagj-profile/share/weechat/python/wee_slack.py +/slack register +``` + +So, capture the shell GUIX_ENVIRONMENT and use that to launch the wee-slack plugin. Next register a token through te Slack web interface. + +If you go through the motions you get a token and + +``` +/slack register 2654233192084.2682932906197.fd6d6e55c0038f-etc-052b4fa578ec497710b4b8770f1-etc +``` + +More instructions for https://github.com/wee-slack/wee-slack. -- cgit v1.2.3