]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Example LiberaChat configuration
authorSergey Matveev <stargrave@stargrave.org>
Mon, 19 Jul 2021 07:32:33 +0000 (10:32 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 19 Jul 2021 17:31:33 +0000 (20:31 +0300)
irssi/.irssi/config.skel

index 41f2462e8b8bda04181d3c6db340a53c568814e1..d36050a127c54cdb280df5ebcf49212e9ec8e1b5 100644 (file)
@@ -18,12 +18,36 @@ settings = {
     user_name = "stargrave";
     nick = "stargrave";
     timestamp_format = "%H:%M:%S";
+    resolve_prefer_ipv6 = "yes";
   };
 };
 logs = { };
+servers = (
+  {
+    address = "irc.libera.chat";
+    chatnet = "LiberaChat";
+    port = "6697";
+    use_tls = "yes";
+    tls_verify = "yes";
+    autoconnect = "yes";
+  }
+);
+chatnets = {
+  LiberaChat = {
+    type = "IRC";
+    sasl_mechanism = "plain";
+    sasl_username = "stargrave";
+    sasl_password = "PASSWORD";
+  };
+};
 hilights = ( { text = "stargrave"; nick = "yes"; word = "yes"; } );
 keyboard = (
   { key = "^Y"; id = "command"; data = "SCROLLBACK GOTO -2"; },
   { key = "^E"; id = "command"; data = "SCROLLBACK GOTO +2"; },
-  { key = "^L"; id = "command"; data = "WINDOW LAST"; },
+  { key = "^L"; id = "command"; data = "WINDOW LAST"; }
+);
+channels = (
+  { name = "#freebsd"; chatnet = "LiberaChat"; autojoin = "yes"; },
+  { name = "#redo"; chatnet = "LiberaChat"; autojoin = "yes"; }
 );
+ignores = ( { level = "NO_ACT ALL"; channels = ( "#freebsd" ); } );