]> git.pld-linux.org Git - packages/irssi.git/blob - irssi.conf.patch
e9472346e870e9b3ad7ca4df7a93a37eba46c4e6
[packages/irssi.git] / irssi.conf.patch
1 servers = (
2   { address = "irc.stealth.net"; chatnet = "IRCnet"; port = "6668"; },
3   { address = "irc.efnet.net"; 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   { address = "irc.freenode.net"; chatnet = "freenode"; port = "6667"; },
11   { address = "irc.gnome.org"; chatnet = "GIMPNet"; port = "6667"; },
12   { address = "irc.ptlink.net"; chatnet = "PTlink"; port = "6667"; },
13   { 
14     address = "irc.sorcery.net";
15     chatnet = "SorceryNet";
16     port = "6667";
17   },
18   { 
19     address = "irc.hashmark.net";
20     chatnet = "Hashmark";
21     port = "6667";
22   },
23   { address = "irc.ptnet.org"; chatnet = "PTnet"; port = "6667"; },
24   { address = "irc.azzurra.org"; chatnet = "AzzurraNET"; port = "6667"; },
25   { address = "irc.pld-linux.org"; chatnet = "PLDNet"; port = "6667"; },
26   { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }
27 );
28
29 chatnets = {
30   IRCnet = {
31     type = "IRC";
32     max_kicks = "4";
33     max_modes = "3";
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_modes = "4";
42     max_msgs = "3";
43     max_whois = "1";
44   };
45   Undernet = {
46     type = "IRC";
47     max_kicks = "4";
48     max_modes = "3";
49     max_msgs = "3";
50     max_whois = "30";
51   };
52   DALnet = {
53     type = "IRC";
54     max_kicks = "4";
55     max_modes = "6";
56     max_msgs = "3";
57     max_whois = "30";
58   };
59   freenode = {
60     type = "IRC";
61     max_kicks = "4";
62     max_modes = "4";
63     max_msgs = "1";
64     max_whois = "1";
65   };
66   GIMPNet = {
67     type = "IRC";
68     max_kicks = "4";
69     max_modes = "4";
70     max_msgs = "3";
71     max_whois = "1";
72   };
73   PTlink = {
74     type = "IRC";
75     max_kicks = "1";
76     max_modes = "6";
77     max_msgs = "30";
78     max_whois = "1";
79   };
80   SorceryNet = {
81     type = "IRC";
82     max_kicks = "30";
83     max_modes = "6";
84     max_msgs = "30";
85     max_whois = "30";
86   };
87   Hashmark = {
88     type = "IRC";
89     max_kicks = "4";
90     max_modes = "3";
91     max_msgs = "3";
92     max_whois = "30";
93   };
94   PTnet = {
95     type = "IRC";
96     max_kicks = "30";
97     max_modes = "13";
98     max_msgs = "10";
99     max_whois = "30";
100   };
101   AzzurraNET = {
102     type = "IRC";
103     max_kicks = "4";
104     max_modes = "6";
105     max_msgs = "3";
106   };
107   SILC = { type = "SILC"; };
108   PLDNet = {
109     type = "IRC";
110     max_kicks = "4";
111     max_modes = "4";
112     max_msgs = "5";
113     max_whois = "4";
114     max_query_chans = "5";
115   };
116 };
117
118 channels = (
119   { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
120   { name = "#irssi"; chatnet = "freenode"; autojoin = "No"; },
121   { name = "#pldhelp"; chatnet = "PLDNet"; autojoin = "No"; },
122   { name = "silc"; chatnet = "silc"; autojoin = "No"; }
123 );
124
125 aliases = {
126   J = "join";
127   WJOIN = "join -window";
128   WQUERY = "query -window";
129   LEAVE = "part";
130   BYE = "quit";
131   EXIT = "quit";
132   SIGNOFF = "quit";
133   DESCRIBE = "action";
134   DATE = "time";
135   HOST = "userhost";
136   LAST = "lastlog";
137   SAY = "msg *";
138   WI = "whois";
139   WII = "whois $0 $0";
140   WW = "whowas";
141   W = "who";
142   N = "names";
143   M = "msg";
144   T = "topic";
145   C = "clear";
146   CL = "clear";
147   K = "kick";
148   KB = "kickban";
149   KN = "knockout";
150   BANS = "ban";
151   B = "ban";
152   MUB = "unban *";
153   UB = "unban";
154   IG = "ignore";
155   UNIG = "unignore";
156   SB = "scrollback";
157   UMODE = "mode $N";
158   WC = "window close";
159   WN = "window new hide";
160   SV = "say Irssi $J ($V) - http://irssi.org/";
161   GOTO = "sb goto";
162   CHAT = "dcc chat";
163   RUN = "SCRIPT LOAD";
164   UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'";
165   CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
166   SBAR = "STATUSBAR";
167   INVITELIST = "mode $C +I";
168   Q = "QUERY";
169 };
170
171 statusbar = {
172   # formats:
173   # when using {templates}, the template is shown only if it's argument isn't
174   # empty unless no argument is given. for example {sb} is printed always,
175   # but {sb $T} is printed only if $T isn't empty.
176
177   items = {
178     # start/end text in statusbars
179     barstart = "{sbstart}";
180     barend = "{sbend}";
181
182     topicbarstart = "{topicsbstart}";
183     topicbarend = "{topicsbend}";
184
185     # treated "normally", you could change the time/user name to whatever
186     time = "{sb $Z}";
187     user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
188
189     # treated specially .. window is printed with non-empty windows,
190     # window_empty is printed with empty windows
191     window = "{sb $winref:$itemname{sbmode $M}}";
192     window_empty = "{sb $winref{sbservertag $tag}}";
193     prompt = "{prompt $[.15]itemname}";
194     prompt_empty = "{prompt $winname}";
195     topic = " $topic";
196     topic_empty = " Irssi v$J - http://irssi.org/help/";
197
198     # all of these treated specially, they're only displayed when needed
199     lag = "{sb Lag: $0-}";
200     act = "{sb Act: $0-}";
201     more = "-- more --";
202   };
203
204   # there's two type of statusbars. root statusbars are either at the top
205   # of the screen or at the bottom of the screen. window statusbars are at
206   # the top/bottom of each split window in screen.
207   default = {
208     # the "default statusbar" to be displayed at the bottom of the window.
209     # contains all the normal items.
210     window = {
211       disabled = "no";
212
213       # window, root
214       type = "window";
215       # top, bottom
216       placement = "bottom";
217       # number
218       position = "1";
219       # active, inactive, always
220       visible = "active";
221
222       # list of items in statusbar in the display order
223       items = {
224         barstart = { priority = "100"; };
225         time = { };
226         user = { };
227         window = { };
228         window_empty = { };
229         lag = { priority = "-1"; };
230         act = { priority = "10"; };
231         more = { priority = "-1"; alignment = "right"; };
232         barend = { priority = "100"; alignment = "right"; };
233       };
234     };
235
236     # statusbar to use in inactive split windows
237     window_inact = {
238       type = "window";
239       placement = "bottom";
240       position = "1";
241       visible = "inactive";
242       items = {
243         barstart = { priority = "100"; };
244         window = { };
245         window_empty = { };
246         more = { priority = "-1"; alignment = "right"; };
247         barend = { priority = "100"; alignment = "right"; };
248       };
249     };
250
251     # we treat input line as yet another statusbar :) It's possible to
252     # add other items before or after the input line item.
253     prompt = {
254       type = "root";
255       placement = "bottom";
256       # we want to be at the bottom always
257       position = "100";
258       visible = "always";
259       items = {
260         prompt = { priority = "-1"; };
261         prompt_empty = { priority = "-1"; };
262         # treated specially, this is the real input line.
263         input = { priority = "10"; };
264       };
265     };
266
267     # topicbar
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 };
This page took 0.038942 seconds and 2 git commands to generate.