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