]> gitweb.pimeys.fr Git - config-20-100.git/blob - .irssi/config
[procmail] Tri des ML : nom-ml.domain.list*e*s.tld est géré aussi
[config-20-100.git] / .irssi / config
1 # .irssi/config générique mis à votre disposition
2 # par les gentils membres actifs du Cr@ns
3 # Vous pouvez l'utiliser, le redistribuer, le modifier à votre convenance.
4 # Des questions, des suggestions : {nounou,ca}@lists.crans.org
5 # Licence : WTFPL
6
7 # Les sections commentées par #~# sont des features qui ne sont pas activées
8 # par défaut. Sentez-vous libre de les décommenter pour les utiliser.
9
10 # Pour utiliser correctement cette configuration, modifiez les valeurs
11 # "Pseudo", "Prénom Nom" et "loginCr@ns"
12
13 #-----------------------------------------------------------------------------
14
15 # Les serveurs pré-enregistrés
16 # Il est toujours possible de se connecter à un serveur qui n'est pas
17 # dans cette liste.
18 # irssi se connectera automatiquement aux 2 premiers cars ils ont
19 # autoconnect = "yes"
20 servers = (
21 {
22 address = "irc.crans.org";
23 chatnet = "Crans";
24 autoconnect = "yes";
25 term_type = "utf-8";
26 },
27 {
28 address = "irc.rezosup.org";
29 chatnet = "rezosup";
30 autoconnect = "yes";
31 term_type = "utf-8";
32 },
33 { address = "irc.stealth.net"; chatnet = "IRCnet"; port = "6668"; },
34 { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
35 {
36 address = "irc.undernet.org";
37 chatnet = "Undernet";
38 port = "6667";
39 },
40 { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
41 {
42 address = "irc.quakenet.org";
43 chatnet = "QuakeNet";
44 port = "6667";
45 },
46 { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }
47 );
48
49 chatnets = {
50 IRCnet = {
51 type = "IRC";
52 max_kicks = "4";
53 max_msgs = "5";
54 max_whois = "4";
55 max_query_chans = "5";
56 };
57 EFNet = {
58 type = "IRC";
59 max_kicks = "4";
60 max_msgs = "3";
61 max_whois = "1";
62 };
63 Undernet = {
64 type = "IRC";
65 max_kicks = "1";
66 max_msgs = "3";
67 max_whois = "30";
68 };
69 DALnet = {
70 type = "IRC";
71 max_kicks = "4";
72 max_msgs = "3";
73 max_whois = "30";
74 };
75 QuakeNet = {
76 type = "IRC";
77 max_kicks = "1";
78 max_msgs = "3";
79 max_whois = "30";
80 };
81 SILC = { type = "SILC"; };
82 Crans = { type = "IRC"; };
83 Acoeur = { type = "IRC"; };
84 rezosup = { type = "IRC"; };
85 ulminfo = { type = "IRC"; };
86 };
87
88 # Les channels à rejoindre automatiquement
89 channels = (
90 # { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
91 # { name = "silc"; chatnet = "silc"; autojoin = "No"; },
92 { name = "#crans"; chatnet = "Crans"; autojoin = "Yes"; },
93 { name = "#general"; chatnet = "Crans"; autojoin = "Yes"; },
94 { name = "#flood"; chatnet = "Crans"; autojoin = "Yes"; },
95 { name = "#federez"; chatnet = "rezosup"; autojoin = "Yes"; },
96 );
97
98 # Des commandes pratiques
99 aliases = {
100 J = "join";
101 WJOIN = "join -window";
102 WQUERY = "query -window";
103 LEAVE = "part";
104 BYE = "quit";
105 EXIT = "quit";
106 SIGNOFF = "quit";
107 DESCRIBE = "action";
108 DATE = "time";
109 HOST = "userhost";
110 LAST = "lastlog";
111 SAY = "msg *";
112 WI = "whois";
113 WII = "whois $0 $0";
114 WW = "whowas";
115 W = "win";
116 N = "names";
117 M = "msg";
118 T = "topic";
119 C = "clear";
120 CL = "clear";
121 K = "kick";
122 KB = "kickban";
123 KN = "knockout";
124 BANS = "ban";
125 B = "ban";
126 MUB = "unban *";
127 UB = "unban";
128 IG = "ignore";
129 UNIG = "unignore";
130 SB = "scrollback";
131 UMODE = "mode $N";
132 WC = "window close";
133 WN = "window new hide";
134 SV = "say Irssi $J ($V) - http://irssi.org/";
135 GOTO = "sb goto";
136 CHAT = "dcc chat";
137 RUN = "SCRIPT LOAD";
138 CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
139 SBAR = "STATUSBAR";
140 INVITELIST = "mode $C +I";
141 Q = "QUERY";
142 "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";
143 EXEMPTLIST = "mode $C +e";
144 ATAG = "WINDOW SERVER";
145 slap = "me slaps $0-around a bit with a large salmon";
146 fp = "/me facepalms";
147 facepalm = "/me facepalms";
148 utf8 = "say echo \"export LANG=fr_FR.UTF-8\" >> .zshrc; say /set term_charset=UTF-8; say Terminal > Définir l'encodage des caractères > Unicode (UTF-8)";
149 howtoutf8 = "utf8";
150 irclippy = "say ╭─╮ $0-; say ಠ_ಠ /; say │▕│; say ╰─╯";
151 basile = "msg Basile";
152 deconnaisseur = "msg deconnaisseur";
153 autoslap = "me slaps himself";
154 replay = "deconnaisseur noplay $0; deconnaisseur play $0; say deconnaisseur: encore";
155 hung = "msg Hung";
156 "shadobot-hacker" = "msg Shadobot-hacker";
157 headdeask = "me headdesk";
158 hd = "headdeask";
159 historien = "msg historien";
160 salesman = "msg Salesman";
161 orly = "say   ___; say {o,o}; say |)__); say -\"-\"-; say O RLY ?";
162 yarly = "say ___; say {-.-}; say |) (|; say -\"-\"-; say YA RLY";
163 nowai = "say   ___; say  {0,0}; say  (__(|; say  -\"-\"-; say NO WAI!";
164 slaps = "slap";
165 xwing = "say oo__ _ _ __oo; say \\\"\\\"\\\"--,,,_(_)_--_(_)_,,,--\\\"\\\"\\\"; say _>_[____]_<_; say ___--\\\"\\\"\\\" (_)\\\\__/(_) \\\"\\\"\\\"--___; say oo\\\"\\\" \"\"oo;";
166 roissy = "say              ___ ; say             /L|0\\\\ ; say            /  |  \\\\ ; say           /       \\\\ ; say          /    |    \\\\ ; say         /           \\\\ ; say        /  __  | __   \\\\ ; say       /  __/    \\\\__   \\\\ ; say      /  /__   |  __\\\\   \\\\ ; say     /___________________\\\\ ; say    /          |          \\\\ ; say   /          _|_          \\\\ ; say  /      ____/___\\\\____      \\\\ ; say  ___________[o0o]___________ ; say           O   O    O ; say ROISSY !";
167 contentlessping = "say $0: You sent me a contentless ping. This is a contentless pong. Please provide a bit of information about what you want and I will respond when I am around.";
168 };
169
170 statusbar = {
171 # formats:
172 # when using {templates}, the template is shown only if it's argument isn't
173 # empty unless no argument is given. for example {sb} is printed always,
174 # but {sb $T} is printed only if $T isn't empty.
175
176 items = {
177 # start/end text in statusbars
178 barstart = "{sbstart}";
179 barend = "{sbend}";
180
181 topicbarstart = "{topicsbstart}";
182 topicbarend = "{topicsbend}";
183
184 # treated "normally", you could change the time/user name to whatever
185 time = "{sb $Z}";
186 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
187
188 # treated specially .. window is printed with non-empty windows,
189 # window_empty is printed with empty windows
190 window = "{sb $winref:$tag/$itemname{sbmode $M}}";
191 window_empty = "{sb $winref{sbservertag $tag}}";
192 prompt = "{prompt $[.15]itemname}";
193 prompt_empty = "{prompt $winname}";
194 topic = " $topic";
195 topic_empty = " Irssi v$J - http://www.irssi.org";
196
197 # all of these treated specially, they're only displayed when needed
198 lag = "{sb Lag: $0-}";
199 act = "{sb Act: $0-}";
200 more = "-- more --";
201 };
202
203 # there's two type of statusbars. root statusbars are either at the top
204 # of the screen or at the bottom of the screen. window statusbars are at
205 # the top/bottom of each split window in screen.
206 default = {
207 # the "default statusbar" to be displayed at the bottom of the window.
208 # contains all the normal items.
209 window = {
210 disabled = "no";
211
212 # window, root
213 type = "window";
214 # top, bottom
215 placement = "bottom";
216 # number
217 position = "1";
218 # active, inactive, always
219 visible = "active";
220
221 # list of items in statusbar in the display order
222 items = {
223 barstart = { priority = "100"; };
224 time = { };
225 user = { };
226 window = { };
227 window_empty = { };
228 lag = { priority = "-1"; };
229 act = { priority = "10"; };
230 more = { priority = "-1"; alignment = "right"; };
231 barend = { priority = "100"; alignment = "right"; };
232 };
233 };
234
235 # statusbar to use in inactive split windows
236 window_inact = {
237 type = "window";
238 placement = "bottom";
239 position = "1";
240 visible = "inactive";
241 items = {
242 barstart = { priority = "100"; };
243 window = { };
244 window_empty = { };
245 more = { priority = "-1"; alignment = "right"; };
246 barend = { priority = "100"; alignment = "right"; };
247 };
248 };
249
250 # we treat input line as yet another statusbar :) It's possible to
251 # add other items before or after the input line item.
252 prompt = {
253 type = "root";
254 placement = "bottom";
255 # we want to be at the bottom always
256 position = "100";
257 visible = "always";
258 items = {
259 prompt = { priority = "-1"; };
260 prompt_empty = { priority = "-1"; };
261 # treated specially, this is the real input line.
262 input = { priority = "10"; };
263 };
264 };
265
266 # topicbar
267 topic = {
268 type = "root";
269 placement = "top";
270 position = "1";
271 visible = "always";
272 items = {
273 topicbarstart = { priority = "100"; };
274 topic = { };
275 topic_empty = { };
276 topicbarend = { priority = "100"; alignment = "right"; };
277 };
278 };
279 };
280 };
281
282
283 # Configuration personnelle
284 settings = {
285 core = {
286 # À remplacer par vos vrais prénom et nom
287 # Permet à un utilisateur qui utilise /whois de savoir qui vous êtes
288 real_name = "Prénom Nom";
289 user_name = "logincCr@ns";
290 # Le pseudo avec lequel vous apparaissez sur les channels
291 nick = "Pseudo";
292 # Affichage de la date avec les secondes dans les logs
293 log_timestamp = "%H:%M:%S";
294 # Affichage de la date avec les secondes sur l'interface d'irssi
295 timestamp_format = "%H:%M:%S";
296 # Le message que vous enverrez sur tous les channels en quittant irssi
297 quit_message = "Bye ! ;-)";
298 log_close_string = "--- Log closed %Y-%m-%d %H:%M:%S";
299 log_open_string = "--- Log opened %Y-%m-%d %H:%M:%S";
300 log_day_changed = "--- Day changed %Y-%m-%d";
301 awaylog_level = "msgs never";
302 };
303 "fe-text" = { actlist_sort = "refnum"; };
304 "fe-common/core" = {
305 autolog_level = "ALL";
306 autolog_path = "~/.irssi/logs/$tag/%Y/%m/$0.log";
307 autolog = "yes";
308 };
309 "irc/core" = { join_auto_chans_on_invite = "yes"; };
310 };
311 logs = { };
312 #~# Pour changer le binding de certaines touches
313 #~# keyboard = (
314 #~# { key = "meta-q"; id = "active_window"; data = ""; },
315 #~# { key = "meta-a"; id = "change_window"; data = "11"; },
316 #~# { key = "meta-z"; id = "change_window"; data = "12"; },
317 #~# { key = "meta-p"; id = "change_window"; data = "20"; }
318 #~# );
319 ignores = ( );