weechat 4.x updates

tengel 2024-07-16 10:08:41 -05:00
parent d6cc693d55
commit 3b4f0f4f2e

@ -57,34 +57,24 @@ More settings to help secure, filter and anonymize to taste:
[Reference](https://en.wikipedia.org/wiki/Wikipedia:IRC/Channel_access_and_configuration_guide) [Reference](https://en.wikipedia.org/wiki/Wikipedia:IRC/Channel_access_and_configuration_guide)
Configure **Tilde**, **Libera** and/or **OFTC**: Configure **Libera** and/or **OFTC**:
``` ```
/server add tilde irc.tilde.chat/6697 -ssl /server add libera irc.libera.chat/6697 -tls
/set irc.server.tilde.nicks "nick,nick2,nick3"
/set irc.server.tilde.username "nick"
/set irc.server.tilde.realname "nick"
/server add libera irc.libera.chat/6697 -ssl
/set irc.server.libera.nicks "nick,nick2,nick3" /set irc.server.libera.nicks "nick,nick2,nick3"
/set irc.server.libera.username "nick" /set irc.server.libera.username "nick"
/set irc.server.libera.realname "nick" /set irc.server.libera.realname "nick"
/server add oftc irc.oftc.net/6697 -ssl /server add oftc irc.oftc.net/6697 -tls
/set irc.server.oftc.nicks "nick,nick2,nick3" /set irc.server.oftc.nicks "nick,nick2,nick3"
/set irc.server.oftc.username "nick" /set irc.server.oftc.username "nick"
/set irc.server.oftc.realname "nick" /set irc.server.oftc.realname "nick"
``` ```
Protect your login on **Tilde** or **Libera**: Protect your login on **Libera**; Libera will set a cloak automatically:
``` ```
/connect tilde
/msg nickserv register <password> <email>
/secure set tilde_password xxxxxxxxxxx
/set irc.server.tilde.sasl_username "nick"
/set irc.server.tilde.sasl_password "${sec.data.tilde_password}"
/connect libera /connect libera
/msg nickserv register <password> <email> /msg nickserv register <password> <email>
(email) /msg nickserv VERIFY REGISTER <nick> <tempcode>
/secure set libera_password xxxxxxxxxxx /secure set libera_password xxxxxxxxxxx
/set irc.server.libera.sasl_username "nick" /set irc.server.libera.sasl_username "nick"
/set irc.server.libera.sasl_password "${sec.data.libera_password}" /set irc.server.libera.sasl_password "${sec.data.libera_password}"
@ -94,32 +84,13 @@ Potect your login on **OFTC** - [Nickserv Validation](https://services.oftc.net/
``` ```
/connect oftc /connect oftc
/msg nickserv register <password> <email> /msg nickserv register <password> <email>
/msg nickserv set cloak on
/secure set oftc_password xxxxxxxxxxx /secure set oftc_password xxxxxxxxxxx
/set irc.server.oftc.command "/eval /msg nickserv identify ${sec.data.oftc_password}" /set irc.server.oftc.command "/eval /msg nickserv identify ${sec.data.oftc_password}"
``` ```
Cloak request on **Tilde** (use a fake domain name):
```
/msg HostServ request random.tld
```
Tilde requires an admin to manually assign your cloak, read the instructions on-screen.
Cloak yourself on **Libera**:
```
/j #libera-Cloak
!cloakme
```
Cloak yourself on **OFTC**:
```
/msg nickserv set cloak on
```
Automatically join things: Automatically join things:
``` ```
/set irc.server.tilde.autoconnnect on
/set irc.server.tilde.autojoin "#chan1,##chan2"
/set irc.server.libera.autoconnect on /set irc.server.libera.autoconnect on
/set irc.server.libera.autojoin "#chan1,##chan2" /set irc.server.libera.autojoin "#chan1,##chan2"
@ -175,15 +146,15 @@ F11 is typically trapped as "Full Screen" by many Linux desktops; F1, F2, Alt+F1
The default bindings for `F9` / `F10` are trapped by the window manager and have no alternate binding. By default `Ctrl+F9` and `Ctrl+F10` are not used, so we can map those to the same actions: The default bindings for `F9` / `F10` are trapped by the window manager and have no alternate binding. By default `Ctrl+F9` and `Ctrl+F10` are not used, so we can map those to the same actions:
``` ```
/key bind meta2-20;5~ /bar scroll title * -30% /key bind ctrl-f9 /bar scroll title * -30%
/key bind meta2-21;5~ /bar scroll title * +30% /key bind ctrl-f10 /bar scroll title * +30%
``` ```
The official documentation indicates `Ctrl+F11` / `Ctrl+F12` are mapped to scrolling the nicklist buffer, however they do not seem to actually work out of the box. Map them as documented: The official documentation indicates `Ctrl+F11` / `Ctrl+F12` are mapped to scrolling the nicklist buffer, however they do not seem to actually work out of the box. Map them as documented:
``` ```
/key bind meta2-23;5~ /bar scroll nicklist * -100% /key bind ctrl-f11 /bar scroll nicklist * -100%
/key bind meta2-24;5~ /bar scroll nicklist * +100% /key bind ctrl-f12 /bar scroll nicklist * +100%
``` ```
To map a keystroke without knowing it's code ("meta2-20;5~" e.g.), type `Alt-k` and then type the keystroke to map and weechat will insert the correct code for you. To map a keystroke without knowing it's code ("meta2-20;5~" e.g.), type `Alt-k` and then type the keystroke to map and weechat will insert the correct code for you.