vimrc: update
[shutils.git] / dotfiles / irssi / config-sthu
1 servers = (
2 { address = "irc.stealth.net"; chatnet = "IRCnet"; port = "6668"; },
3 { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
4 {
5 address = "irc.undernet.org";
6 chatnet = "Undernet";
7 port = "6667";
8 },
9 { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
10 {
11 address = "irc.quakenet.org";
12 chatnet = "QuakeNet";
13 port = "6667";
14 },
15 { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
16 {
17 address = "irc.freenode.net";
18 chatnet = "freenode";
19 port = "7000";
20 use_ssl = "yes";
21 ssl_verify = "yes";
22 ssl_capath = "/etc/ssl/certs";
23 family = "inet";
24 autoconnect = "yes";
25 },
26 {
27 address = "irc.oftc.net";
28 chatnet = "OFTC";
29 port = "6697";
30 use_ssl = "yes";
31 ssl_verify = "yes";
32 ssl_capath = "/etc/ssl/certs";
33 family = "inet";
34 autoconnect = "yes";
35 },
36 {
37 address = "testing.bitlbee.org";
38 chatnet = "bitlbee";
39 port = "6668";
40 use_ssl = "yes";
41 ssl_verify = "no";
42 family = "inet";
43 autoconnect = "yes";
44 }
45 );
46
47 chatnets = {
48 IRCnet = {
49 type = "IRC";
50 max_kicks = "4";
51 max_msgs = "5";
52 max_whois = "4";
53 max_query_chans = "5";
54 };
55 EFNet = {
56 type = "IRC";
57 max_kicks = "4";
58 max_msgs = "3";
59 max_whois = "1";
60 };
61 Undernet = {
62 type = "IRC";
63 max_kicks = "1";
64 max_msgs = "3";
65 max_whois = "30";
66 };
67 DALnet = {
68 type = "IRC";
69 max_kicks = "4";
70 max_msgs = "3";
71 max_whois = "30";
72 };
73 QuakeNet = {
74 type = "IRC";
75 max_kicks = "1";
76 max_msgs = "3";
77 max_whois = "30";
78 };
79 SILC = { type = "SILC"; };
80 freenode = {
81 type = "IRC";
82 #autosendcmd = "/msg nickserv identify QPFR6YdanYOkZvYcLsLO; /window goto nickserv; /wait 2000; /wc";
83 autosendcmd = "/msg nickserv identify Naihu2udaqua5Ule; /window goto nickserv; /wait 2000; /wc";
84 };
85 OFTC = {
86 type = "IRC";
87 #autosendcmd = "/msg nickserv identify aLeno8CY4m5Z4HQWlA7iR+BpIkghGu7H6QxDWHHh; /wait 2000; /window goto nickserv; /wc";
88 autosendcmd = "/msg nickserv identify kiesah8ter5Vooth; /wait 2000; /window goto nickserv; /wc";
89 };
90 bitlbee = {
91 type = "IRC";
92 autosendcmd = "/msg nickserv identify 2ciCuvKX; /wait 2000; /window goto nickserv; /wc";
93 };
94 };
95
96 channels = (
97 { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
98 { name = "silc"; chatnet = "silc"; autojoin = "No"; },
99 { name = "#compgeo"; chatnet = "OFTC"; autojoin = "yes"; },
100 { name = "#wavelab"; chatnet = "freenode"; autojoin = "yes"; },
101 { name = "#chaossbg"; chatnet = "freenode"; autojoin = "yes"; },
102 {
103 name = "#gentoo-anfaenger";
104 chatnet = "freenode";
105 autojoin = "No";
106 },
107 { name = "#gentoo.de"; chatnet = "freenode"; autojoin = "No"; }
108 );
109
110 aliases = {
111 J = "join";
112 WJOIN = "join -window";
113 WQUERY = "query -window";
114 LEAVE = "part";
115 BYE = "quit";
116 EXIT = "quit";
117 SIGNOFF = "quit";
118 DESCRIBE = "action";
119 DATE = "time";
120 HOST = "userhost";
121 LAST = "lastlog";
122 SAY = "msg *";
123 WI = "whois";
124 WII = "whois $0 $0";
125 WW = "whowas";
126 W = "who";
127 N = "names";
128 M = "msg";
129 T = "topic";
130 C = "clear";
131 CL = "clear";
132 K = "kick";
133 KB = "kickban";
134 KN = "knockout";
135 BANS = "ban";
136 B = "ban";
137 MUB = "unban *";
138 UB = "unban";
139 IG = "ignore";
140 UNIG = "unignore";
141 SB = "scrollback";
142 UMODE = "mode $N";
143 WC = "window close";
144 WN = "window new hide";
145 SV = "say Irssi $J ($V) - http://irssi.org/";
146 GOTO = "sb goto";
147 CHAT = "dcc chat";
148 RUN = "SCRIPT LOAD";
149 CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
150 SBAR = "STATUSBAR";
151 INVITELIST = "mode $C +I";
152 Q = "QUERY";
153 "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
154 EXEMPTLIST = "mode $C +e";
155 ATAG = "WINDOW SERVER";
156 };
157
158 statusbar = {
159 # formats:
160 # when using {templates}, the template is shown only if it's argument isn't
161 # empty unless no argument is given. for example {sb} is printed always,
162 # but {sb $T} is printed only if $T isn't empty.
163
164 items = {
165 # start/end text in statusbars
166 barstart = "{sbstart}";
167 barend = "{sbend}";
168
169 topicbarstart = "{topicsbstart}";
170 topicbarend = "{topicsbend}";
171
172 # treated "normally", you could change the time/user name to whatever
173 time = "{sb $Z}";
174 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
175
176 # treated specially .. window is printed with non-empty windows,
177 # window_empty is printed with empty windows
178 window = "{sb $winref:$tag/$itemname{sbmode $M}}";
179 window_empty = "{sb $winref{sbservertag $tag}}";
180 prompt = "{prompt $[.15]itemname}";
181 prompt_empty = "{prompt $winname}";
182 topic = " $topic";
183 topic_empty = " Irssi v$J - http://www.irssi.org";
184
185 # all of these treated specially, they're only displayed when needed
186 lag = "{sb Lag: $0-}";
187 act = "{sb Act: $0-}";
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 window = {
198 disabled = "no";
199
200 # window, root
201 type = "window";
202 # top, bottom
203 placement = "bottom";
204 # number
205 position = "1";
206 # active, inactive, always
207 visible = "active";
208
209 # list of items in statusbar in the display order
210 items = {
211 barstart = { priority = "100"; };
212 time = { };
213 user = { };
214 window = { };
215 window_empty = { };
216 lag = { priority = "-1"; };
217 act = { priority = "10"; };
218 more = { priority = "-1"; alignment = "right"; };
219 barend = { priority = "100"; alignment = "right"; };
220 usercount = { };
221 };
222 };
223
224 # statusbar to use in inactive split windows
225 window_inact = {
226 type = "window";
227 placement = "bottom";
228 position = "1";
229 visible = "inactive";
230 items = {
231 barstart = { priority = "100"; };
232 window = { };
233 window_empty = { };
234 more = { priority = "-1"; alignment = "right"; };
235 barend = { priority = "100"; alignment = "right"; };
236 };
237 };
238
239 # we treat input line as yet another statusbar :) It's possible to
240 # add other items before or after the input line item.
241 prompt = {
242 type = "root";
243 placement = "bottom";
244 # we want to be at the bottom always
245 position = "100";
246 visible = "always";
247 items = {
248 prompt = { priority = "-1"; };
249 prompt_empty = { priority = "-1"; };
250 # treated specially, this is the real input line.
251 input = { priority = "10"; };
252 };
253 };
254
255 # topicbar
256 topic = {
257 type = "root";
258 placement = "top";
259 position = "1";
260 visible = "always";
261 items = {
262 topicbarstart = { priority = "100"; };
263 topic = { };
264 topic_empty = { };
265 topicbarend = { priority = "100"; alignment = "right"; };
266 };
267 };
268 awl_0 = {
269 items = {
270 barstart = { priority = "100"; };
271 awl_0 = { };
272 barend = { priority = "100"; alignment = "right"; };
273 };
274 };
275 };
276 };
277 settings = {
278 core = {
279 real_name = "Stefan Huber";
280 user_name = "shuber";
281 nick = "shuber";
282 log_timestamp = "%F %H:%M ";
283 resolve_prefer_ipv6 = "yes";
284 timestamp_format = "%R";
285 };
286 "fe-text" = { actlist_sort = "refnum"; };
287 "fe-common/core" = {
288 beep_when_away = "yes";
289 theme = "envy";
290 beep_msg_level = "MSGS DCC DCCMSGS HILIGHT";
291 bell_beeps = "yes";
292 beep_when_window_active = "yes";
293 autolog = "yes";
294 autolog_path = "~/.irssi/logs/$tag/$0.%Y-%m.log";
295 term_charset = "UTF-8";
296 show_names_on_join = "yes";
297 show_nickmode = "yes";
298 use_status_window = "yes";
299 use_msgs_window = "no";
300 activity_hide_level = "JOINS QUITS PARTS NICKS MODES";
301 emphasis_multiword = "yes";
302 hilight_level = "PUBLIC DCCMSGS";
303 };
304 "perl/core/scripts" = {
305 nicklist_width = "10";
306 nicklist_height = "20";
307 nicklist_automode = "screen";
308 screen_away_active = "yes";
309 screen_away_nick = "";
310 beep_cmd = "/usr/bin/ogg123 --quiet /usr/share/sounds/KDE-Im-Irc-Event.ogg &";
311 neat_maxlength = "12";
312 screen_away_message = "Currently away";
313 };
314 };
315 hilights = (
316 { text = "shuber"; nick = "yes"; word = "yes"; },
317 { text = "shuber2"; nick = "yes"; word = "yes"; }
318 );
319 logs = { };
320 windows = {
321 1 = {
322 immortal = "yes";
323 name = "(status)";
324 level = "ALL";
325 sticky = "yes";
326 };
327 2 = { name = "hilight"; sticky = "yes"; };
328 3 = {
329 items = (
330 {
331 type = "CHANNEL";
332 chat_type = "IRC";
333 name = "&bitlbee";
334 tag = "bitlbee";
335 }
336 );
337 sticky = "yes";
338 parent = "1";
339 };
340 4 = {
341 items = (
342 {
343 type = "CHANNEL";
344 chat_type = "IRC";
345 name = "#wavelab";
346 tag = "freenode";
347 }
348 );
349 sticky = "yes";
350 parent = "1";
351 };
352 5 = {
353 items = (
354 {
355 type = "CHANNEL";
356 chat_type = "IRC";
357 name = "#compgeo";
358 tag = "OFTC";
359 }
360 );
361 sticky = "yes";
362 parent = "1";
363 };
364 6 = {
365 items = (
366 {
367 type = "CHANNEL";
368 chat_type = "IRC";
369 name = "#chaossbg";
370 tag = "freenode";
371 }
372 );
373 sticky = "yes";
374 parent = "1";
375 };
376 };
377 mainwindows = {
378 1 = { first_line = "4"; lines = "26"; };
379 2 = { first_line = "1"; lines = "3"; };
380 };