updates.
[silc.git] / apps / irssi / default.theme
1 # When testing changes, the easiest way to reload the theme is with /RELOAD.
2 # This reloads the configuration file too, so if you did any changes remember
3 # to /SAVE it first. Remember also that /SAVE overwrites the theme file with
4 # old data so keep backups :)
5
6 # TEMPLATES:
7
8 # The real text formats that irssi uses are the ones you can find with
9 # /FORMAT command. Back in the old days all the colors and texts were mixed
10 # up in those formats, and it was really hard to change the colors since you
11 # might have had to change them in tens of different places. So, then came
12 # this templating system.
13     
14 # Now the /FORMATs don't have any colors in them, and they also have very
15 # little other styling. Most of the stuff you need to change is in this
16 # theme file. If you can't change something here, you can always go back
17 # to change the /FORMATs directly, they're also saved in these .theme files.
18
19 # So .. the templates. They're those {blahblah} parts you see all over the
20 # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
21 # When irssi sees this kind of text, it goes to find "name" from abstracts
22 # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
23 # can have more parameters of course). Templates can have subtemplates.
24 # Here's a small example:
25 #   /FORMAT format hello {colorify {underline world}}
26 #   abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
27 # When irssi expands the templates in "format", the final string would be:
28 #   hello %G%Uworld%U%n
29 # ie. underlined bright green "world" text.
30 # and why "$0-", why not "$0"? $0 would only mean the first parameter,
31 # $0- means all the parameters. With {underline hello world} you'd really
32 # want to underline both of the words, not just the hello (and world would
33 # actually be removed entirely).
34
35 # COLORS:
36
37 # You can find definitions for the color format codes in docs/formats.txt.
38
39 # There's one difference here though. %n format. Normally it means the
40 # default color of the terminal (white mostly), but here it means the
41 # "reset color back to the one it was in higher template". For example
42 # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
43 # print yellow "foo" (as set with %Y) but "bar" would be green, which was
44 # set at the beginning before the {foo} template. If there wasn't the %g
45 # at start, the normal behaviour of %n would occur. If you _really_ want
46 # to use the terminal's default color, use %N.
47
48 #############################################################################
49
50 # default foreground color (%N) - 0 is the "default terminal color" 
51 default_color = 0;
52
53 # default foreground color when "0" can't be used,
54 # such as with bolds and reverses. white is default.
55 default_real_color = 7;
56
57 # these characters are automatically replaced with specified color
58 # (dark grey by default)
59 replaces = {};
60
61 abstracts = {
62   ##
63   ## generic
64   ##
65
66   # text to insert at the beginning of each non-message line
67   line_start = "*** ";
68
69   # timestamp styling, nothing by default
70   timestamp = "[$0-]";
71
72   # any kind of text that needs hilighting, default is to bold
73   hilight = "%_$0-%_";
74
75   # any kind of error message, default is bright red
76   error = "%R$0-%n";
77
78   # channel name is printed
79   channel = "%c$0-%n";
80
81   # nick is printed
82   nick = "%c$0-%n";
83
84   # nick host is printed
85   nickhost = "($0-)";
86
87   # server name is printed
88   server = "$0-";
89
90   # some kind of comment is printed
91   comment = "($0-)";
92
93   # reason for something is printed (part, quit, kick, ..)
94   reason = "{comment $0-}";
95
96   # mode change is printed ([+o nick])
97   mode = "{comment $0-}";
98
99   ##
100   ## channel specific messages
101   ##
102
103   # highlighted nick/host is printed (joins)
104   channick_hilight = "%c$0-%n";
105   chanhost_hilight = "{nickhost %c$0-%n}";
106
107   # nick/host is printed (parts, quits, etc.)
108   channick = "$0-";
109   chanhost = "{nickhost $0-}";
110
111   # highlighted channel name is printed
112   channelhilight = "%c$0-%n";
113
114   # ban/ban exception/invite list mask is printed
115   ban = "$0-";
116
117   ##
118   ## messages
119   ##
120
121   # the basic styling of how to print message, $0 = nick mode, $1 = nick
122   msgnick = "%c%|<$0$1->%n ";
123
124   # message from you is printed. "msgownnick" specifies the styling of the
125   # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
126   # whole line.
127
128   # Example1: You want the message text to be green:
129   #  ownmsgnick = "{msgnick $0 $1-}%g";
130   # Example2.1: You want < and > chars to be yellow:
131   #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
132   #  (you'll also have to remove <> from replaces list above)
133   # Example2.2: But you still want to keep <> grey for other messages:
134   #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
135   #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
136   #  pubmsghinick = "%K{msgnick $1 $0$2-%K}%n";
137   #  ownprivmsgnick = "%K{msgnick  $0-%K}%n";
138   #  privmsgnick = "%K{msgnick  %R$0-%K}%n";
139
140   # $0 = nick mode, $1 = nick
141   ownmsgnick = "{msgnick $0 $1-}%g";
142   ownnick = "$0-";
143
144   # public message in channel, $0 = nick mode, $1 = nick
145   pubmsgnick = "{msgnick $0 $1-}";
146   pubnick = "$0-";
147
148   # public message in channel meant for me, $0 = nick mode, $1 = nick
149   pubmsgmenick = "%g<$0$1->%n %|";
150   menick = "$0-";
151
152   # public highlighted message in channel
153   # $0 = highlight color, $1 = nick mode, $2 = nick
154   pubmsghinick = "{msgnick $1 $2-}$0";
155
156   # channel name is printed with message
157   msgchannel = "%w|%c$0-";
158
159   # private message, $0 = nick, $1 = host
160   privmsg = "*%c$0%n* ";
161
162   # private message from you, $0 = "msg", $1 = target nick
163   ownprivmsg = "->*%c$1-%n* %g";
164
165   # own private message in query
166   ownprivmsgnick = "{msgnick  $0-}%g";
167   ownprivnick = "$0-";
168
169   # private message in query
170   privmsgnick = "{msgnick  $0-%n}";
171
172   ##
173   ## Actions (/ME stuff)
174   ##
175
176   # used internally by this theme
177   action_core = "%Y* $0-";
178
179   # generic one that's used by most actions
180   action = "{action_core $0-} ";
181
182   # own action, both private/public
183   ownaction = "{action $0-}";
184
185   # own action with target, both private/public
186   ownaction_target = "{action_core $0}{msgchannel $1} ";
187
188   # private action sent by others
189   pvtaction = " (*) $0- ";
190   pvtaction_query = "{action $0-}";
191
192   # public action sent by others
193   pubaction = "{action $0-}";
194
195
196   ##
197   ## other IRC events
198   ##
199
200   # notices
201   ownnotice = "-%c$1-%n- ";
202   notice = "-%C$0-%n- ";
203   pubnotice_channel = "{msgchannel $0}";
204   pvtnotice_host = "";
205   servernotice = "{notice $0-}";
206
207   # CTCPs
208   ownctcp = "[$0$1-] ";
209   ctcp = "$0-";
210
211   # wallops
212   wallop = "$0-: ";
213   wallop_nick = "$0-";
214   wallop_action = " * $0- ";
215
216   # netsplits
217   netsplit = "%c$0-%n";
218   netjoin = "%C$0-%n";
219
220   # /names list
221   names_nick = "%n%_$0%_$1- | ";
222   names_users = "($0-)";
223   names_channel = "{channel $0-}";
224
225   # DCC
226   dcc = "$0-";
227   dccfile = "%_$0-%_";
228
229   # DCC chat, own msg/action
230   dccownmsg = "*%c=$1-%n*> %g";
231   dccownaction = "{action $0-}";
232   dccownaction_target = "{ownaction_target $0-}";
233
234   # DCC chat, others
235   dccmsg = "*%c=$1-%n* ";
236   dccquerynick = "$0-";
237   dccaction = " (*dcc*) $0- %|";
238
239   ##
240   ## statusbar
241   ##
242
243   # background of statusbar
244   sb_background = "%4";
245
246   # default statusbar item style
247   sb = "%c[%n$0-%c]%n";
248
249   sbmode = "(%c+%n$0-)";
250   sbaway = " (%GzZzZ%n)";
251   sbservertag = "%c:%n$0 (change with ^X)";
252   sbmore = "%_-- more --%_";
253   sblag = "{sb Lag: $0-}";
254   sbmail = "{sb Mail: $0-}";
255
256   # activity. Det is used for hilights when display doesn't support colors
257   sbact = "{sb {sbact_act $0}{sbact_det $1}}";
258   sbact_act = "Act: $0-";
259   sbact_det = " Det: $0-";
260
261 };
262
263 #
264 # Some default formats how to print stuff on screen
265 #
266 formats = {
267   "fe-common/core" = {
268     endofnames = "{channel $0}: Total of {hilight $1} nicks {comment {hilight $2} ops, {hilight $4} normal}";
269     line_start_irssi = "{line_start}";
270   };
271 };