improve weechat setup

This commit is contained in:
redbeardymcgee 2024-11-09 09:46:09 -06:00
parent 8771e02c40
commit e6000b25ac
2 changed files with 32 additions and 2 deletions

View file

@ -120,10 +120,10 @@ and ssh clients.
dnf install openssh-server dnf install openssh-server
## Generate strong key on your laptop or workstation/desktop ## Generate strong key on your laptop or workstation/desktop
ssh-keygen -t ed25519 -a 32 -f ~/.ssh/"$localhost-to-$remotehost" ssh-keygen -t ed25519 -a 32 -f ~/.ssh/$localhost-to-$remotehost
## Copy key to AlmaLinux ## Copy key to AlmaLinux
ssh-copy-id -i ~/.ssh/"$localhost-to-$remotehost" "$user@$remotehost" ssh-copy-id -i ~/.ssh/$localhost-to-$remotehost $user@$remotehost
``` ```
#### Override `sshd` config #### Override `sshd` config

View file

@ -1,3 +1,33 @@
# Quadlets # Quadlets
Quadlets go in `~/.config/containers/systemd`. Quadlets go in `~/.config/containers/systemd`.
## Weechat
### Attach and configure
> [!TIP] Detach key sequence: `ctrl-p` `ctrl-q`.
```bash
ssh -t $remotehost sh -lc 'cd; podman attach weechat'
/set irc.look.smart_filter on
/set irc.server_default.msg_part ""
/set irc.server_default.msg_quit ""
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
/plugin unload xfer
/set weechat.plugin.autoload "*,!xfer"
/filter add irc_smart * irc_smart_filter *
/server add mam irc.myanonamouse.net/6697
/set irc.server.mam.username $irc_username
/set irc.server_default.autojoin_dynamic on
/set irc.server.mam.autojoin "#anonamouse.net"
/set irc.server.mam.nicks "$irc_nick1,$irc_nick2"
/set irc.server.mam.autoconnect on
/connect mam
```