]> git.sthu.org Git - shutils.git/blob - dotfiles/irssi/config
systemd: Add vidirsyncer unit and timer files
[shutils.git] / dotfiles / irssi / config
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 = "no";
35 }
36 );
37
38 chatnets = {
39 IRCnet = {
40 type = "IRC";
41 max_kicks = "4";
42 max_msgs = "5";
43 max_whois = "4";
44 max_query_chans = "5";
45 };
46 EFNet = {
47 type = "IRC";
48 max_kicks = "4";
49 max_msgs = "3";
50 max_whois = "1";
51 };
52 Undernet = {
53 type = "IRC";
54 max_kicks = "1";
55 max_msgs = "3";
56 max_whois = "30";
57 };
58 DALnet = {
59 type = "IRC";
60 max_kicks = "4";
61 max_msgs = "3";
62 max_whois = "30";
63 };
64 QuakeNet = {
65 type = "IRC";
66 max_kicks = "1";
67 max_msgs = "3";
68 max_whois = "30";
69 };
70 SILC = { type = "SILC"; };
71 freenode = {
72 type = "IRC";
73 #autosendcmd = "/msg nickserv identify PASSWORD; /window goto nickserv; /wait 2000; /wc";
74 };
75 OFTC = { type = "IRC"; };
76 };
77
78 channels = (
79 { name = "#myfavchannel"; chatnet = "freenode"; autojoin = "yes"; }
80 );
81
82 aliases = {
83 J = "join";
84 WJOIN = "join -window";
85 WQUERY = "query -window";
86 LEAVE = "part";
87 BYE = "quit";
88 EXIT = "quit";
89 SIGNOFF = "quit";
90 DESCRIBE = "action";
91 DATE = "time";
92 HOST = "userhost";
93 LAST = "lastlog";
94 SAY = "msg *";
95 WI = "whois";
96 WII = "whois $0 $0";
97 WW = "whowas";
98 W = "who";
99 N = "names";
100 M = "msg";
101 T = "topic";
102 C = "clear";
103 CL = "clear";
104 K = "kick";
105 KB = "kickban";
106 KN = "knockout";
107 BANS = "ban";
108 B = "ban";
109 MUB = "unban *";
110 UB = "unban";
111 IG = "ignore";
112 UNIG = "unignore";
113 SB = "scrollback";
114 UMODE = "mode $N";
115 WC = "window close";
116 WN = "window new hide";
117 SV = "say Irssi $J ($V) - http://irssi.org/";
118 GOTO = "sb goto";
119 CHAT = "dcc chat";
120 RUN = "SCRIPT LOAD";
121 CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
122 SBAR = "STATUSBAR";
123 INVITELIST = "mode $C +I";
124 Q = "QUERY";
125 "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";
126 EXEMPTLIST = "mode $C +e";
127 ATAG = "WINDOW SERVER";
128 };
129
130 statusbar = {
131 # formats:
132 # when using {templates}, the template is shown only if it's argument isn't
133 # empty unless no argument is given. for example {sb} is printed always,
134 # but {sb $T} is printed only if $T isn't empty.
135
136 items = {
137 # start/end text in statusbars
138 barstart = "{sbstart}";
139 barend = "{sbend}";
140
141 topicbarstart = "{topicsbstart}";
142 topicbarend = "{topicsbend}";
143
144 # treated "normally", you could change the time/user name to whatever
145 time = "{sb $Z}";
146 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
147
148 # treated specially .. window is printed with non-empty windows,
149 # window_empty is printed with empty windows
150 window = "{sb $winref:$tag/$itemname{sbmode $M}}";
151 window_empty = "{sb $winref{sbservertag $tag}}";
152 prompt = "{prompt $[.15]itemname}";
153 prompt_empty = "{prompt $winname}";
154 topic = " $topic";
155 topic_empty = " Irssi v$J - http://www.irssi.org";
156
157 # all of these treated specially, they're only displayed when needed
158 lag = "{sb Lag: $0-}";
159 act = "{sb Act: $0-}";
160 more = "-- more --";
161 };
162
163 # there's two type of statusbars. root statusbars are either at the top
164 # of the screen or at the bottom of the screen. window statusbars are at
165 # the top/bottom of each split window in screen.
166 default = {
167 # the "default statusbar" to be displayed at the bottom of the window.
168 # contains all the normal items.
169 window = {
170 disabled = "no";
171
172 # window, root
173 type = "window";
174 # top, bottom
175 placement = "bottom";
176 # number
177 position = "1";
178 # active, inactive, always
179 visible = "active";
180
181 # list of items in statusbar in the display order
182 items = {
183 barstart = { priority = "100"; };
184 time = { };
185 user = { };
186 window = { };
187 window_empty = { };
188 lag = { priority = "-1"; };
189 act = { priority = "10"; };
190 more = { priority = "-1"; alignment = "right"; };
191 barend = { priority = "100"; alignment = "right"; };
192 usercount = { };
193 };
194 };
195
196 # statusbar to use in inactive split windows
197 window_inact = {
198 type = "window";
199 placement = "bottom";
200 position = "1";
201 visible = "inactive";
202 items = {
203 barstart = { priority = "100"; };
204 window = { };
205 window_empty = { };
206 more = { priority = "-1"; alignment = "right"; };
207 barend = { priority = "100"; alignment = "right"; };
208 };
209 };
210
211 # we treat input line as yet another statusbar :) It's possible to
212 # add other items before or after the input line item.
213 prompt = {
214 type = "root";
215 placement = "bottom";
216 # we want to be at the bottom always
217 position = "100";
218 visible = "always";
219 items = {
220 prompt = { priority = "-1"; };
221 prompt_empty = { priority = "-1"; };
222 # treated specially, this is the real input line.
223 input = { priority = "10"; };
224 };
225 };
226
227 # topicbar
228 topic = {
229 type = "root";
230 placement = "top";
231 position = "1";
232 visible = "always";
233 items = {
234 topicbarstart = { priority = "100"; };
235 topic = { };
236 topic_empty = { };
237 topicbarend = { priority = "100"; alignment = "right"; };
238 };
239 };
240 awl_0 = {
241 items = {
242 barstart = { priority = "100"; };
243 awl_0 = { };
244 barend = { priority = "100"; alignment = "right"; };
245 };
246 };
247 };
248 };
249 settings = {
250 core = {
251 real_name = "Firsname Lastname";
252 user_name = "XXX";
253 nick = "XXX";
254 log_timestamp = "%F %H:%M ";
255 resolve_prefer_ipv6 = "yes";
256 timestamp_format = "%R";
257 };
258 "fe-text" = { actlist_sort = "refnum"; };
259 "fe-common/core" = {
260 beep_when_away = "yes";
261 theme = "envy";
262 beep_msg_level = "MSGS DCC DCCMSGS HILIGHT";
263 bell_beeps = "yes";
264 beep_when_window_active = "yes";
265 autolog = "yes";
266 autolog_path = "~/.irssi/logs/$tag/$0.%Y-%m.log";
267 term_charset = "UTF-8";
268 show_names_on_join = "yes";
269 show_nickmode = "yes";
270 use_status_window = "yes";
271 use_msgs_window = "no";
272 activity_hide_level = "JOINS QUITS PARTS NICKS MODES";
273 emphasis_multiword = "yes";
274 hilight_level = "PUBLIC DCCMSGS";
275 };
276 "perl/core/scripts" = {
277 nicklist_width = "10";
278 nicklist_height = "20";
279 nicklist_automode = "screen";
280 screen_away_active = "yes";
281 screen_away_nick = "";
282 #beep_cmd = "/usr/bin/ogg123 --quiet /usr/share/sounds/KDE-Im-Irc-Event.ogg &";
283 neat_maxlength = "12";
284 screen_away_message = "Currently away";
285 };
286 };
287 hilights = ( { text = "NICK XXX"; nick = "yes"; word = "yes"; } );
288 logs = { };
289 windows = {
290 1 = {
291 immortal = "yes";
292 name = "(status)";
293 level = "ALL";
294 sticky = "yes";
295 parent = "3";
296 };
297 2 = { name = "hilight"; sticky = "yes"; };
298 3 = {
299 items = (
300 {
301 type = "CHANNEL";
302 chat_type = "IRC";
303 name = "#myfavchannel";
304 tag = "freenode";
305 }
306 );
307 sticky = "yes";
308 };
309 };
310 mainwindows = {
311 3 = { first_line = "8"; lines = "61"; };
312 2 = { first_line = "1"; lines = "7"; };
313 };