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