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) - -1 is the "default terminal color"
51default_color = "3";
52
53# print timestamp/servertag at the end of line, not at beginning
54info_eol = "false";
55
56abstracts = {
57  ##
58  ## generic
59  ##
60
61  # text to insert at the beginning of each non-message line
62  line_start = "%W***%n ";
63
64  # timestamp styling, nothing by default
65  timestamp = "%w[$0-]%n";
66
67  # any kind of text that needs hilighting, default is to bold
68  hilight = "%_$0-%_";
69
70  # any kind of error message, default is bright red
71  error = "%R$0-%n";
72
73  # channel name is printed
74  channel = "%_$0-%_";
75
76  # nick is printed
77  nick = "%_$0-%_";
78
79  # nick host is printed
80  nickhost = "[%_$0-%_]";
81
82  # server name is printed
83  server = "%_$0-%_";
84
85  # some kind of comment is printed
86  comment = "(%_$0-%_)";
87
88  # reason for something is printed (part, quit, kick, ..)
89  reason = "{comment $0-}";
90
91  # mode change is printed ([+o nick])
92  mode = "{comment $0-}";
93
94  ##
95  ## channel specific messages
96  ##
97
98  # highlighted nick/host is printed (joins)
99  channick_hilight = "%_$0-%_";
100  chanhost_hilight = "{nickhost $0-}";
101
102  # nick/host is printed (parts, quits, etc.)
103  channick = "%_$0-%_";
104  chanhost = "{nickhost $0-}";
105
106  # highlighted channel name is printed
107  channelhilight = "%_$0-%_";
108
109  # ban/ban exception/invite list mask is printed
110  ban = "%_$0-%_";
111
112  ##
113  ## messages
114  ##
115
116  # the basic styling of how to print message, $0 = nick mode, $1 = nick
117  msgnick = "$0$1- %|";
118
119  # message from you is printed. "msgownnick" specifies the styling of the
120  # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
121  # whole line.
122
123  # Example1: You want the message text to be green:
124  #  ownmsgnick = "{msgnick $0 $1-}%g";
125  # Example2.1: You want < and > chars to be yellow:
126  #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
127  #  (you'll also have to remove <> from replaces list above)
128  # Example2.2: But you still want to keep <> grey for other messages:
129  #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
130  #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
131  #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
132  #  ownprivmsgnick = "%K{msgnick  $0-%K}%n";
133  #  privmsgnick = "%K{msgnick  %R$0-%K}%n";
134
135  # $0 = nick mode, $1 = nick
136  ownmsgnick = "{msgnick %C$0%n $1-:}";
137  ownnick = "%W$0-%n";
138
139  # public message in channel, $0 = nick mode, $1 = nick
140  pubmsgnick = "{msgnick %C$0%n $1-:}";
141  pubnick = "%w$0-%n";
142
143  # public message in channel meant for me, $0 = nick mode, $1 = nick
144  pubmsgmenick = "{msgnick %R[M]->%C$0%n $1-:}";
145  menick = "%w$0-%n";
146
147  # public highlighted message in channel
148  # $0 = highlight color, $1 = nick mode, $2 = nick
149  pubmsghinick = "{msgnick %R[H]->%C$1%n %w$2-%n:}";
150
151  # channel name is printed with message
152  msgchannel = "%_$0-%_";
153
154  # private message, $0 = nick, $1 = host
155  privmsg = "[%w$0%n] ";
156
157  # private message from you, $0 = "msg", $1 = target nick
158  ownprivmsg = "%R[Q]->%w$1-%n ";
159
160  # own private message in query
161  ownprivmsgnick = "{msgnick $0-:}";
162  ownprivnick = "%W$0-%n";
163
164  # private message in query
165  privmsgnick = "{msgnick  %w$0-%n:}";
166
167  ##
168  ## Actions (/ME stuff)
169  ##
170
171  # used internally by this theme
172  action_core = "%P* $0- ";
173
174  # generic one that's used by most actions
175  action = "{action_core $0-} ";
176
177  # own action, both private/public
178  ownaction = "{action_core $0-}";
179
180  # own action with target, both private/public
181  ownaction_target = "{action_core $0} $1 ";
182
183  # private action sent by others
184  pvtaction = "{action_core $0-}";
185  pvtaction_query = "{action_core $0-}";
186
187  # public action sent by others
188  pubaction = "{action_core $0-}";
189
190
191  ##
192  ## other IRC events
193  ##
194
195  # notices
196  ownnotice = "%R$1-%n %R[N]->%n ";
197  notice = "%R[N]<- %n$0-: ";
198  pubnotice_channel = "$0-:";
199  pvtnotice_host = "";
200  servernotice = "%R[N]<- %n!$0-: ";
201
202  # CTCPs
203  ownctcp = "%R[CTCP]->%n $1-:%_ ";
204  ctcp = "$0% $2- ";
205
206  # wallops
207  wallop = "%R[W]->%n $0-: ";
208  wallop_nick = "$0-";
209  wallop_action = " %P* $0-%n ";
210
211  # netsplits
212  netsplit = "%R* $0-%n";
213  netjoin = "%R* $0-%n";
214
215  # /names list
216  names_nick = "[%_$0%_%w$1-%n] ";
217  names_users = "[%C$1 $0%n]";
218  names_channel = "$0-";
219
220  # DCC
221  dcc = "<%g$0-%n>";
222  dccfile = "%_$0-%_";
223
224  # DCC chat, own msg/action
225  dccownmsg = "[%r$0%K($1-%K)%n] ";
226  dccownnick = "%W$0-: ";
227  dccownaction = "{action_core $0-}";
228  dccownaction_target = "{action_core $0} $1 ";
229
230  # DCC chat, others
231  dccmsg = "[%G$1-%K(%g$0%K)%n] ";
232  dccquerynick = "%w$0-%n";
233  dccaction = "%P* $0-%n %|";
234
235  ##
236  ## statusbar
237  ##
238
239  # background of statusbar
240  sb_background = "%7";
241  sb_topic_bg = "%8";
242  prompt = "%R::%n$0-%R::%n ";
243
244  # default statusbar item style
245  sb = "%m::%b$0-%m::%n ";
246
247  sbmode = "(+$0-)";
248  sbaway = " (Away)";
249  sbservertag = ":$0 (^X to change)";
250  sbmore = "::more::";
251  sblag = "{sb Lag: $0-}";
252  sbmail = "{sb Mail: $0-}";
253
254  # activity. Det is used for hilights when display doesn't support colors
255  sbact = "{sb {sbact_act $0}{sbact_det $1}}";
256  sb_act_sep = "%b$0-%n";
257  sb_act_text = "%r$0-%n";
258  sb_act_msg = "%W$0-%n";
259  sbact_act = "Act: $0-";
260  sbact_det = " Det: $0-";
261};
262formats = {
263  "fe-common/core" = {
264     daychange = "%W*** Day changed to %%d %%b %%Y %n";
265     talking_with = "%W*** You are now talking with $0 %n";
266     join = "%G[J]->%n {channick_hilight $0} has joined {channel $2}";
267     part = "%Y[P]->%n {channick_hilight $0} has left {channel $2} {reason $3}";
268     kick = "%Y[K]->%n {channick_hilight $0} was kicked from {channel $1} by {channick_hilight $2} {reason $3}";
269     quit = "%R[Q]->%n {channick_hilight $0} has quit {reason $2}";
270     quit_once = "%R[Q]->%n {channel $3} {channick_hilight $0} has quit {reason $2}";
271     invite = "%G[I]->%n {channick_hilight $0} invites you to {channel $1}";
272     new_topic = "%W[T]->%n Topic of {channel $1} changed by {channick_hilight $0} to: {hilight $2}";
273     topic_unset = "%W[T]->%n Topic unset by {channick_hilight $0} on {channel $1}";
274     your_nick_changed = "%W[N]->%n You're now known as {channick_hilight $1}";
275     nick_changed = "%W[N]->%n {channick_hilight $0} is now known as {channick_hilight $1}";
276     names_nick_op = "{names_nick_op $0 %_$1%_}";
277     endofnames = "{channel $0}: Total of {hilight $1} nicks {comment {hilight $2} %Wops%n, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal}";
278     query_start = "Query started {nick $0}";
279  };
280  "fe-common/irc" = {
281     channel_created = "%W[I]->%n Channel {channel $0} created %_$1%_";
282     topic = "%W[T]->%n Topic is: %_$1%_";
283     no_topic = "%W[T]->%n No topic set for %_$0%_";
284     topic_info = "%W[T]->%n set by {channick_hilight $0} {mode $1}";
285     usermode_change = "%W[M]->%n Mode change for user {channick_hilight $1} {mode $0}";
286     chanmode_change = "%W[M]->%n Mode change for {channel $0} by {channick_hilight $2} {mode $1}";
287     server_chanmode_change = "%W[M]->%n Mode change for {channel $0} by {channick_hilight $2} {mode $1}";
288     channel_change = "%W[M]->%n Mode change for {channel $0} {mode $1}";
289     channel_mode = "%W[M]->%n Mode of {channel $0}: {mode $1}";
290     channel_synced = "%W[I]->%n Join to {channel $0} was synced in {hilight $1} secs";
291     whois = "%W[W]->%n IRCname: %|{channick_hilight $0!$1@$2} ($3)";
292     whois_idle = "%W[W]->%n Idle: %|since $1 days $2 hours $3 mins $4 secs";
293     whois_idle_signon = "%W[W]->%n Idle: %|since $1 days $2 hours $3 mins $4 secs {comment Signed on: $5}";
294     whois_server = "%W[W]->%n Server: %|$1 {comment $2}";
295     whois_oper = "%W[W]->%n Info: %|{hilight $1}";
296     whois_registered = "%W[W]->%n Info: %|has registered this nick";
297     whois_help = "%W[W]->%n Info: %|available for help";
298     whois_modes = "%W[W]->%n Modes: %|{mode $1}";
299     whois_realhost = "%W[W]->%n Hostname: %|{hilight $1-}";
300     whois_usermode = "%W[W]->%n Usermode: %|{mode $1}";
301     whois_channels = "%W[W]->%n Channels: %|{channel $1}";
302     whois_away = "%W[W]->%n Away: %|$1";
303     whois_special = "%W[W]->%n Info: %|$1";
304     whois_extra = "%W[W]->%n Info: %|$1";
305     end_of_whois = "%W[W]->%n End of WHOIS";
306     whois_not_found = "%W[W]->%n There is no such nick {channick_hilight $0}";
307     ctcp_reply = "%R[CTCP]<-%n {hilight $0} reply from {channick_hilight $1}: $2";
308     ctcp_reply_channel = "%R[CTCP]<-%n {hilight $0} reply from {channick_hilight $1} in channel {channel $3}: $2";
309     ctcp_ping_reply = "%R[CTCP]<-%n {hilight PING} reply from {channick_hilight $0}: $1.$[-3.0]2 seconds";
310     ctcp_requested = "";
311     ctcp_requested_unknown = "";
312  };
313};
314