]> Git — Sourcephile - julm/julm-nix.git/blob - homes/julm/irssi/config
irssi: fix geeknode and ilico
[julm/julm-nix.git] / homes / julm / irssi / config
1 settings = {
2 core = {
3 real_name = "Julien Moutinho";
4 user_name = "julm";
5 nick = "julm";
6 timestamp_format = "%H:%M ";
7 log_create_mode = "660";
8 log_timestamp = "%Y-%m-%d %H:%M:%S%p ";
9 settings_autosave = "no";
10 };
11 "irc/core" = {
12 alternate_nick = "julm_";
13 # Recommended by https://github.com/cryptodotis/irssi-otr/blob/master/README.md
14 cmd_queue_speed = "1msec";
15 };
16 silc = {
17 sign_private_messages = "yes";
18 sign_channel_messages = "yes";
19 };
20 "fe-common/core" = {
21 autolog = "yes";
22 autolog_path = "~/log/irssi/$tag/$0/%Y-%m-%d.log";
23 names_max_columns = "9";
24 autolog_ignore_targets = "GeekNode/C Libera/NickServ OFTC/NickServ";
25 beep_msg_level = "MSGS NOTICES INVITES DCC DCCMSGS HILIGHT";
26 };
27 "fe-text" = {
28 actlist_sort = "refnum";
29 paste_join_multiline = "no";
30 };
31 "perl/core/scripts" = {
32 awl_block = "20";
33 awl_shared_sbar = "OFF";
34 awl_viewer = "no";
35 nicklist_width = "13";
36 nickcolor_enable_prefix = "OFF";
37 nickcolor_enable_truncate = "ON";
38 nickcolor_truncate_value = "-13";
39 title_string = "IRC: $winname$T";
40 };
41 #proxy = {
42 # irssiproxy_password = "";
43 # irssiproxy_ports = "GeekNode=2777 FreeNode=2778 OFTC=2779 ToileLibre=2780 IndyMedia=2781";
44 # irssiproxy_bind = "127.0.0.1";
45 #};
46 };
47 chatnets = {
48 FreeNode = {
49 type = "IRC";
50 nick = "julm";
51 autosendcmd = "";
52 # Cannot use dynamic password on SASL, and sasl.auth is not encrypted.
53 #sasl_mechanism = "PLAIN";
54 #sasl_username = "julm";
55 #sasl_password = "<password:FreeNode>";
56 };
57 GeekNode = {
58 type = "IRC";
59 nick = "julm";
60 autosendcmd = "passwd GeekNode msg C nick identify <password>";
61 };
62 Libera = {
63 type = "IRC";
64 nick = "julm";
65 autosendcmd = "";
66 # Cannot use dynamic password on SASL, and sasl.auth is not encrypted.
67 #sasl_mechanism = "PLAIN";
68 #sasl_username = "julm";
69 #sasl_password = "<password:Libera>";
70 };
71 OFTC = {
72 type = "IRC";
73 nick = "julm";
74 autosendcmd = "passwd OFTC msg NickServ identify <password>";
75 };
76 ToileLibre = {
77 type = "IRC";
78 nick = "julm";
79 autosendcmd = "";
80 };
81 };
82 servers = (
83 { chatnet = "Libera";
84 address = "irc.libera.chat";
85 port = "6697";
86 use_ssl = "yes";
87 ssl_verify = "yes";
88 autoconnect = "yes";
89 password = "<password:Libera>";
90 },
91 { chatnet = "FreeNode";
92 address = "irc.freenode.net";
93 port = "6697";
94 use_ssl = "yes";
95 ssl_verify = "yes";
96 autoconnect = "no";
97 password = "<password:FreeNode>";
98 },
99 { chatnet = "GeekNode";
100 address = "irc.geeknode.org";
101 port = "6697";
102 use_ssl = "yes";
103 ssl_verify = "yes";
104 autoconnect = "yes";
105 # GeekNode does not use NickServ but C
106 #password = "<password:GeekNode>";
107 },
108 { chatnet = "IndyMedia";
109 address = "irc.indymedia.org";
110 port = "6697";
111 use_ssl = "yes";
112 ssl_verify = "yes";
113 autoconnect = "no";
114 password = "<password:IndyMedia>";
115 },
116 { chatnet = "ToileLibre";
117 address = "lenine-irc.wirefull.org";
118 port = "6697";
119 use_ssl = "yes";
120 ssl_verify = "no";
121 autoconnect = "no";
122 password = "<password:ToileLibre>";
123 }
124 { chatnet = "OFTC";
125 address = "irc.oftc.net";
126 port = "6697";
127 use_ssl = "yes";
128 ssl_verify = "yes";
129 autoconnect = "yes";
130 password = "<password:OFTC>";
131 }
132 );
133 channels = (
134 { chatnet = "GeekNode"; name = "grenode"; autojoin = "yes"; },
135 { chatnet = "GeekNode"; name = "gresille"; autojoin = "yes"; },
136 { chatnet = "GeekNode"; name = "ilico"; autojoin = "yes"; },
137 { chatnet = "GeekNode"; name = "illyse"; autojoin = "no"; },
138 { chatnet = "GeekNode"; name = "markas"; autojoin = "yes"; },
139 { chatnet = "GeekNode"; name = "rezine"; autojoin = "yes"; },
140 { chatnet = "GeekNode"; name = "sourcephile"; autojoin = "yes"; },
141 { chatnet = "Libera"; name = "categorytheory"; autojoin = "yes"; },
142 { chatnet = "Libera"; name = "conservancy"; autojoin = "yes"; },
143 { chatnet = "Libera"; name = "haskell-beginners"; autojoin = "yes"; },
144 { chatnet = "Libera"; name = "haskell-blah"; autojoin = "yes"; },
145 { chatnet = "Libera"; name = "haskell-docs"; autojoin = "no"; },
146 { chatnet = "Libera"; name = "haskell-fr"; autojoin = "yes"; },
147 { chatnet = "Libera"; name = "haskell-language-server"; autojoin = "no"; },
148 { chatnet = "Libera"; name = "haskell-offtopic"; autojoin = "yes"; },
149 { chatnet = "Libera"; name = "haskell.nix"; autojoin = "yes"; },
150 { chatnet = "Libera"; name = "lobsters-feed"; autojoin = "yes"; },
151 { chatnet = "Libera"; name = "nix-community"; autojoin = "yes"; },
152 { chatnet = "Libera"; name = "nixos"; autojoin = "yes"; },
153 { chatnet = "Libera"; name = "nixos-aarch64"; autojoin = "yes"; },
154 { chatnet = "Libera"; name = "nixos-chat"; autojoin = "yes"; },
155 { chatnet = "Libera"; name = "nixos-dev"; autojoin = "yes"; },
156 { chatnet = "Libera"; name = "nixos-fr"; autojoin = "yes"; },
157 { chatnet = "Libera"; name = "nixos-gnome"; autojoin = "no"; },
158 { chatnet = "Libera"; name = "nixos-nur"; autojoin = "no"; },
159 { chatnet = "Libera"; name = "nixos-security"; autojoin = "yes"; },
160 { chatnet = "Libera"; name = "nixos-systemd"; autojoin = "yes"; },
161 { chatnet = "Libera"; name = "PauLLA"; autojoin = "yes"; },
162 { chatnet = "Libera"; name = "postfix"; autojoin = "yes"; },
163 { chatnet = "Libera"; name = "sourcephile"; autojoin = "yes"; },
164 { chatnet = "Libera"; name = "stupidities"; autojoin = "yes"; },
165 { chatnet = "Libera"; name = "tetaneutral.net"; autojoin = "yes"; },
166 { chatnet = "Libera"; name = "zfs"; autojoin = "yes"; },
167 { chatnet = "Libera"; name = "zfs-fr"; autojoin = "yes"; },
168 { chatnet = "OFTC"; name = "haskell"; autojoin = "yes"; },
169 { chatnet = "OFTC"; name = "haskell-fr"; autojoin = "yes"; },
170 { chatnet = "OFTC"; name = "nixos"; autojoin = "yes"; },
171 { chatnet = "OFTC"; name = "nixos-fr"; autojoin = "yes"; },
172 { chatnet = "OFTC"; name = "zfs"; autojoin = "yes"; },
173 { chatnet = "OFTC"; name = "zfs-fr"; autojoin = "yes"; },
174 );
175 statusbar = {
176 # formats:
177 # when using {templates}, the template is shown only if it's argument isn't
178 # empty unless no argument is given. for example {sb} is printed always,
179 # but {sb $T} is printed only if $T isn't empty.
180 items = {
181 # start/end text in statusbars
182 barstart = "{sbstart}";
183 barend = "{sbend}";
184 topicbarstart = "{topicsbstart}";
185 topicbarend = "{topicsbend}";
186 # treated "normally", you could change the time/user name to whatever
187 time = "{sb $Z}";
188 user = "%N{sbaway $A} ";
189 # treated specially .. window is printed with non-empty windows,
190 # window_empty is printed with empty windows
191 #prompt = "{prompt $[.15]itemname}";
192 #prompt_empty = "{prompt $winname}";
193 window = "{sb %c$winref%K:%c$tag/$itemname{sbmode $M}}";
194 window_empty = "{sb $winref{sbservertag $tag}}";
195 prompt = "{sbmode $[-6]usermode} {sbnickmode $[1]cumode}%K$[-12]N %c>%N ";
196 prompt_empty = "{sbmode $[-6]usermode} %K$[-12]N %c>%N ";
197 topic = " $topic";
198 topic_empty = " Irssi v$J - http://www.irssi.org";
199 # all of these treated specially, they're only displayed when needed
200 #more = "-- more --";
201 lag = "{sb %KLag%c:%K$0-}";
202 act = "{sb %KAct%c:%n$0-}";
203 away = "{sbaway $A}";
204 more = " -- more --";
205 };
206
207 # there's two type of statusbars. root statusbars are either at the top
208 # of the screen or at the bottom of the screen. window statusbars are at
209 # the top/bottom of each split window in screen.
210 default = {
211 # the "default statusbar" to be displayed at the bottom of the window.
212 # contains all the normal items.
213
214 window = {
215 # window, root
216 type = "window";
217 # top, bottom
218 placement = "bottom";
219 # number
220 position = "1";
221 # active, inactive, always
222 visible = "active";
223 # list of items in statusbar in the display order
224 items = {
225 barstart = { priority = "100"; };
226 time = { };
227 window = { };
228 window_empty = { };
229 user = { };
230 lag = { priority = "-1"; };
231 act = { priority = "10"; };
232 more = { priority = "-1"; alignment = "right"; };
233 barend = { priority = "100"; alignment = "right"; };
234 usercount = { priority = "100"; alignment = "right"; };
235 otr = { };
236 };
237 };
238
239 window_inact = {
240 type = "window";
241 placement = "bottom";
242 position = "1";
243 visible = "inactive";
244 items = {
245 barstart = { priority = "100"; };
246 window = { };
247 window_empty = { };
248 more = { priority = "-1"; alignment = "right"; };
249 barend = { priority = "100"; alignment = "right"; };
250 };
251 disabled = "yes";
252 };
253
254 # Treat input line as yet another statusbar :)
255 # It's possible to add other items before or after the input line item.
256 prompt = {
257 type = "root";
258 placement = "bottom";
259 position = "100";
260 visible = "always";
261 items = {
262 prompt = { priority = "-1"; };
263 prompt_empty = { priority = "-1"; };
264 # treated specially, this is the real input line.
265 input = { priority = "10"; };
266 };
267 };
268
269 topic = {
270 type = "root";
271 placement = "top";
272 position = "1";
273 visible = "always";
274 items = {
275 topicbarstart = { priority = "100"; };
276 topic = { };
277 topic_empty = { };
278 topicbarend = { priority = "100"; alignment = "right"; };
279 };
280 };
281
282 type = { disabled = "yes"; };
283 };
284 };
285 hilights = (
286 { text = "julm"; nick = "yes"; word = "yes"; },
287 { text = "ju1m"; nick = "yes"; word = "yes"; }
288 );
289 ignores = (
290 { level = "ALL"; mask = "luminux"; },
291 { level = "ALL"; mask = "dameloo"; },
292 { level = "NO_ACT ALL"; mask = "NixOS_GitHub"; },
293 { level = "NO_ACT ALL"; mask = "nix-gsc-io`bot"; },
294 { level = "NO_ACT ALL"; mask = "nix-build"; },
295 { level = "NO_ACT ALL"; mask = "{^_^}"; },
296 { level = "NO_ACT ALL"; mask = "{`_`}"; },
297 { level = "CTCPS"; },
298 {
299 level = "JOINS PARTS QUITS NICKS";
300 channels = (
301 "#categorytheory",
302 "#conservancy",
303 "#ghc",
304 "#grenode",
305 "#gresille",
306 "#haskell",
307 "#haskell-beginners",
308 "#haskell-blah",
309 "#haskell-docs",
310 "#haskell-fr",
311 "#haskell-ide-engine",
312 "#haskell-language-server",
313 "#haskell-offtopic",
314 "#haskell.nix",
315 "#ilico",
316 "#lobsters-feed",
317 "#nix-community",
318 "#nix-lang",
319 "#nixops",
320 "#nixos",
321 "#nixos-aarch64",
322 "#nixos-chat",
323 "#nixos-dev",
324 "#nixos-fr",
325 "#nixos-gnome",
326 "#nixos-nur",
327 "#nixos-security",
328 "#nixos-systemd",
329 "#PauLLA",
330 "#postfix",
331 "#purescript",
332 "#rezine",
333 "#spectrum",
334 "#stupidities",
335 "#tetaneutral.net",
336 "#zfs",
337 "#zfs-fr"
338 );
339 }
340 );
341 windows = {
342 1 = { immortal = "yes"; name = "(status)"; level = "ALL"; };
343 2 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#stupidities"; tag = "Libera"; }); };
344 3 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-fr"; tag = "Libera"; }); };
345 3 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#categorytheory"; tag = "Libera"; }); };
346 4 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#conservancy"; tag = "Libera"; }); };
347 5 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#grenode"; tag = "GeekNode"; }); };
348 6 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#gresille"; tag = "GeekNode"; }); };
349 7 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell"; tag = "OFTC"; }); };
350 8 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-beginners"; tag = "Libera"; }); };
351 9 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-blah"; tag = "Libera"; }); };
352 11 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-fr"; tag = "OFTC"; }); };
353 12 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-offtopic"; tag = "Libera"; }); };
354 13 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell.nix"; tag = "Libera"; }); };
355 14 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#ilico"; tag = "GeekNode"; }); };
356 15 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#markas"; tag = "GeekNode"; }); };
357 16 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nix-community"; tag = "Libera"; }); };
358 17 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos"; tag = "Libera"; }); };
359 18 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos"; tag = "OFTC"; }); };
360 19 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-aarch64"; tag = "Libera"; }); };
361 20 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-chat"; tag = "Libera"; }); };
362 21 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-dev"; tag = "Libera"; }); };
363 22 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-fr"; tag = "Libera"; }); };
364 23 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-fr"; tag = "OFTC"; }); };
365 24 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-security"; tag = "Libera"; }); };
366 25 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-systemd"; tag = "Libera"; }); };
367 26 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#PauLLA"; tag = "Libera"; }); };
368 27 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#postfix"; tag = "Libera"; }); };
369 28 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#rezine"; tag = "GeekNode"; }); };
370 29 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#sourcephile"; tag = "GeekNode"; }); };
371 30 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#sourcephile"; tag = "Libera"; }); };
372 31 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#tetaneutral.net"; tag = "Libera"; }); };
373 32 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs"; tag = "Libera"; }); };
374 33 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs"; tag = "OFTC"; }); };
375 34 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs-fr"; tag = "Libera"; }); };
376 35 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs-fr"; tag = "OFTC"; }); };
377 };
378