]> Git — Sourcephile - julm/julm-nix.git/blob - homes/julm/irssi/config
irssi: fix shared window
[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 = "conservancy"; autojoin = "yes"; },
142 { chatnet = "Libera"; name = "haskell-beginners"; autojoin = "yes"; },
143 { chatnet = "Libera"; name = "haskell-blah"; 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 = "lobsters-feed"; 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 = "postfix"; autojoin = "yes"; },
162 { chatnet = "Libera"; name = "sourcephile"; autojoin = "yes"; },
163 { chatnet = "Libera"; name = "stupidities"; autojoin = "yes"; },
164 { chatnet = "Libera"; name = "tetaneutral.net"; autojoin = "yes"; },
165 { chatnet = "Libera"; name = "zfs"; autojoin = "yes"; },
166 { chatnet = "Libera"; name = "zfs-fr"; autojoin = "yes"; },
167 { chatnet = "OFTC"; name = "haskell"; autojoin = "yes"; },
168 { chatnet = "OFTC"; name = "haskell-fr"; autojoin = "yes"; },
169 { chatnet = "OFTC"; name = "nixos"; autojoin = "yes"; },
170 { chatnet = "OFTC"; name = "nixos-fr"; autojoin = "yes"; },
171 { chatnet = "OFTC"; name = "zfs"; autojoin = "yes"; },
172 { chatnet = "OFTC"; name = "zfs-fr"; autojoin = "yes"; },
173 );
174 statusbar = {
175 # formats:
176 # when using {templates}, the template is shown only if it's argument isn't
177 # empty unless no argument is given. for example {sb} is printed always,
178 # but {sb $T} is printed only if $T isn't empty.
179 items = {
180 # start/end text in statusbars
181 barstart = "{sbstart}";
182 barend = "{sbend}";
183 topicbarstart = "{topicsbstart}";
184 topicbarend = "{topicsbend}";
185 # treated "normally", you could change the time/user name to whatever
186 time = "{sb $Z}";
187 user = "%N{sbaway $A} ";
188 # treated specially .. window is printed with non-empty windows,
189 # window_empty is printed with empty windows
190 #prompt = "{prompt $[.15]itemname}";
191 #prompt_empty = "{prompt $winname}";
192 window = "{sb %c$winref%K:%c$tag/$itemname{sbmode $M}}";
193 window_empty = "{sb $winref{sbservertag $tag}}";
194 prompt = "{sbmode $[-6]usermode} {sbnickmode $[1]cumode}%K$[-12]N %c>%N ";
195 prompt_empty = "{sbmode $[-6]usermode} %K$[-12]N %c>%N ";
196 topic = " $topic";
197 topic_empty = " Irssi v$J - http://www.irssi.org";
198 # all of these treated specially, they're only displayed when needed
199 #more = "-- more --";
200 lag = "{sb %KLag%c:%K$0-}";
201 act = "{sb %KAct%c:%n$0-}";
202 away = "{sbaway $A}";
203 more = " -- more --";
204 };
205
206 # there's two type of statusbars. root statusbars are either at the top
207 # of the screen or at the bottom of the screen. window statusbars are at
208 # the top/bottom of each split window in screen.
209 default = {
210 # the "default statusbar" to be displayed at the bottom of the window.
211 # contains all the normal items.
212
213 window = {
214 # window, root
215 type = "window";
216 # top, bottom
217 placement = "bottom";
218 # number
219 position = "1";
220 # active, inactive, always
221 visible = "active";
222 # list of items in statusbar in the display order
223 items = {
224 barstart = { priority = "100"; };
225 time = { };
226 window = { };
227 window_empty = { };
228 user = { };
229 lag = { priority = "-1"; };
230 act = { priority = "10"; };
231 more = { priority = "-1"; alignment = "right"; };
232 barend = { priority = "100"; alignment = "right"; };
233 usercount = { priority = "100"; alignment = "right"; };
234 otr = { };
235 };
236 };
237
238 window_inact = {
239 type = "window";
240 placement = "bottom";
241 position = "1";
242 visible = "inactive";
243 items = {
244 barstart = { priority = "100"; };
245 window = { };
246 window_empty = { };
247 more = { priority = "-1"; alignment = "right"; };
248 barend = { priority = "100"; alignment = "right"; };
249 };
250 disabled = "yes";
251 };
252
253 # Treat input line as yet another statusbar :)
254 # It's possible to add other items before or after the input line item.
255 prompt = {
256 type = "root";
257 placement = "bottom";
258 position = "100";
259 visible = "always";
260 items = {
261 prompt = { priority = "-1"; };
262 prompt_empty = { priority = "-1"; };
263 # treated specially, this is the real input line.
264 input = { priority = "10"; };
265 };
266 };
267
268 topic = {
269 type = "root";
270 placement = "top";
271 position = "1";
272 visible = "always";
273 items = {
274 topicbarstart = { priority = "100"; };
275 topic = { };
276 topic_empty = { };
277 topicbarend = { priority = "100"; alignment = "right"; };
278 };
279 };
280
281 type = { disabled = "yes"; };
282 };
283 };
284 hilights = (
285 { text = "julm"; nick = "yes"; word = "yes"; },
286 { text = "ju1m"; nick = "yes"; word = "yes"; }
287 );
288 ignores = (
289 { level = "ALL"; mask = "luminux"; },
290 { level = "ALL"; mask = "dameloo"; },
291 { level = "NO_ACT ALL"; mask = "NixOS_GitHub"; },
292 { level = "NO_ACT ALL"; mask = "nix-gsc-io`bot"; },
293 { level = "NO_ACT ALL"; mask = "nix-build"; },
294 { level = "NO_ACT ALL"; mask = "{^_^}"; },
295 { level = "NO_ACT ALL"; mask = "{`_`}"; },
296 { level = "CTCPS"; },
297 {
298 level = "JOINS PARTS QUITS NICKS";
299 channels = (
300 "#conservancy",
301 "#ghc",
302 "#grenode",
303 "#gresille",
304 "#haskell",
305 "#haskell-beginners",
306 "#haskell-blah",
307 "#haskell-docs",
308 "#haskell-fr",
309 "#haskell-ide-engine",
310 "#haskell-language-server",
311 "#haskell-offtopic",
312 "#haskell.nix",
313 "#ilico",
314 "#lobsters-feed",
315 "#nix-community",
316 "#nix-lang",
317 "#nixops",
318 "#nixos",
319 "#nixos-aarch64",
320 "#nixos-chat",
321 "#nixos-dev",
322 "#nixos-fr",
323 "#nixos-gnome",
324 "#nixos-nur",
325 "#nixos-security",
326 "#nixos-systemd",
327 "#PauLLA",
328 "#postfix",
329 "#purescript",
330 "#rezine",
331 "#spectrum",
332 "#stupidities",
333 "#tetaneutral.net",
334 "#zfs",
335 "#zfs-fr"
336 );
337 }
338 );
339 windows = {
340 1 = { immortal = "yes"; name = "(status)"; level = "ALL"; };
341 2 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#stupidities"; tag = "Libera"; }); };
342 3 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-fr"; tag = "Libera"; }); };
343 4 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#conservancy"; tag = "Libera"; }); };
344 5 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#grenode"; tag = "GeekNode"; }); };
345 6 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#gresille"; tag = "GeekNode"; }); };
346 7 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell"; tag = "OFTC"; }); };
347 8 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-beginners"; tag = "Libera"; }); };
348 9 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-blah"; tag = "Libera"; }); };
349 11 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-fr"; tag = "OFTC"; }); };
350 12 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell-offtopic"; tag = "Libera"; }); };
351 13 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#haskell.nix"; tag = "Libera"; }); };
352 14 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#ilico"; tag = "GeekNode"; }); };
353 15 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#markas"; tag = "GeekNode"; }); };
354 16 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nix-community"; tag = "Libera"; }); };
355 17 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos"; tag = "Libera"; }); };
356 18 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos"; tag = "OFTC"; }); };
357 19 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-aarch64"; tag = "Libera"; }); };
358 20 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-chat"; tag = "Libera"; }); };
359 21 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-dev"; tag = "Libera"; }); };
360 22 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-fr"; tag = "Libera"; }); };
361 23 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-fr"; tag = "OFTC"; }); };
362 24 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-security"; tag = "Libera"; }); };
363 25 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#nixos-systemd"; tag = "Libera"; }); };
364 26 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#PauLLA"; tag = "Libera"; }); };
365 27 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#postfix"; tag = "Libera"; }); };
366 28 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#rezine"; tag = "GeekNode"; }); };
367 29 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#sourcephile"; tag = "GeekNode"; }); };
368 30 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#sourcephile"; tag = "Libera"; }); };
369 31 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#tetaneutral.net"; tag = "Libera"; }); };
370 32 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs"; tag = "Libera"; }); };
371 33 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs"; tag = "OFTC"; }); };
372 34 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs-fr"; tag = "Libera"; }); };
373 35 = { items = ({type = "CHANNEL"; chat_type = "IRC"; name = "#zfs-fr"; tag = "OFTC"; }); };
374 };
375