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
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.
10 # Pour utiliser correctement cette configuration, modifiez les valeurs
11 # "Pseudo", "Prénom Nom" et "loginCr@ns"
13 #-----------------------------------------------------------------------------
15 # Les serveurs pré-enregistrés
16 # Il est toujours possible de se connecter à un serveur qui n'est pas
18 # irssi se connectera automatiquement aux 2 premiers cars ils ont
22 address = "irc.crans.org";
28 address = "irc.rezosup.org";
33 { address = "irc.stealth.net"; chatnet = "IRCnet"; port = "6668"; },
34 { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
36 address = "irc.undernet.org";
40 { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
42 address = "irc.quakenet.org";
46 { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }
55 max_query_chans = "5";
81 SILC = { type = "SILC"; };
82 Crans = { type = "IRC"; };
83 Acoeur = { type = "IRC"; };
84 rezosup = { type = "IRC"; };
85 ulminfo = { type = "IRC"; };
88 # Les channels à rejoindre automatiquement
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"; },
98 # Des commandes pratiques
101 WJOIN = "join -window";
102 WQUERY = "query -window";
133 WN = "window new hide";
134 SV = "say Irssi $J ($V) - http://irssi.org/";
138 CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
140 INVITELIST = "mode $C +I";
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)";
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";
156 "shadobot-hacker" = "msg Shadobot-hacker";
157 headdeask = "me headdesk";
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!";
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.";
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.
177 # start/end text in statusbars
178 barstart = "{sbstart}";
181 topicbarstart = "{topicsbstart}";
182 topicbarend = "{topicsbend}";
184 # treated "normally", you could change the time/user name to whatever
186 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
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}";
195 topic_empty = " Irssi v$J - http://www.irssi.org";
197 # all of these treated specially, they're only displayed when needed
198 lag = "{sb Lag: $0-}";
199 act = "{sb Act: $0-}";
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.
207 # the "default statusbar" to be displayed at the bottom of the window.
208 # contains all the normal items.
215 placement = "bottom";
218 # active, inactive, always
221 # list of items in statusbar in the display order
223 barstart = { priority = "100"; };
228 lag = { priority = "-1"; };
229 act = { priority = "10"; };
230 more = { priority = "-1"; alignment = "right"; };
231 barend = { priority = "100"; alignment = "right"; };
235 # statusbar to use in inactive split windows
238 placement = "bottom";
240 visible = "inactive";
242 barstart = { priority = "100"; };
245 more = { priority = "-1"; alignment = "right"; };
246 barend = { priority = "100"; alignment = "right"; };
250 # we treat input line as yet another statusbar :) It's possible to
251 # add other items before or after the input line item.
254 placement = "bottom";
255 # we want to be at the bottom always
259 prompt = { priority = "-1"; };
260 prompt_empty = { priority = "-1"; };
261 # treated specially, this is the real input line.
262 input = { priority = "10"; };
273 topicbarstart = { priority = "100"; };
276 topicbarend = { priority = "100"; alignment = "right"; };
283 # Configuration personnelle
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
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";
303 "fe-text" = { actlist_sort = "refnum"; };
305 autolog_level = "ALL";
306 autolog_path = "~/.irssi/logs/$tag/%Y/%m/$0.log";
309 "irc/core" = { join_auto_chans_on_invite = "yes"; };
312 #~# Pour changer le binding de certaines touches
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"; }