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