1
const char *default_theme =
2
"# When testing changes, the easiest way to reload the theme is with /RELOAD.\n"
3
"# This reloads the configuration file too, so if you did any changes remember\n"
4
"# to /SAVE it first. Remember also that /SAVE overwrites the theme file with\n"
5
"# old data so keep backups :)\n"
9
"# The real text formats that irssi uses are the ones you can find with\n"
10
"# /FORMAT command. Back in the old days all the colors and texts were mixed\n"
11
"# up in those formats, and it was really hard to change the colors since you\n"
12
"# might have had to change them in tens of different places. So, then came\n"
13
"# this templating system.\n"
15
"# Now the /FORMATs don't have any colors in them, and they also have very\n"
16
"# little other styling. Most of the stuff you need to change is in this\n"
17
"# theme file. If you can't change something here, you can always go back\n"
18
"# to change the /FORMATs directly, they're also saved in these .theme files.\n"
20
"# So .. the templates. They're those {blahblah} parts you see all over the\n"
21
"# /FORMATs and here. Their usage is simply {name parameter1 parameter2}.\n"
22
"# When irssi sees this kind of text, it goes to find \"name\" from abstracts\n"
23
"# block below and sets \"parameter1\" into $0 and \"parameter2\" into $1 (you\n"
24
"# can have more parameters of course). Templates can have subtemplates.\n"
25
"# Here's a small example:\n"
26
"# /FORMAT format hello {colorify {underline world}}\n"
27
"# abstracts = { colorify = \"%G$0-%n\"; underline = \"%U$0-%U\"; }\n"
28
"# When irssi expands the templates in \"format\", the final string would be:\n"
29
"# hello %G%Uworld%U%n\n"
30
"# ie. underlined bright green \"world\" text.\n"
31
"# and why \"$0-\", why not \"$0\"? $0 would only mean the first parameter,\n"
32
"# $0- means all the parameters. With {underline hello world} you'd really\n"
33
"# want to underline both of the words, not just the hello (and world would\n"
34
"# actually be removed entirely).\n"
38
"# You can find definitions for the color format codes in docs/formats.txt.\n"
40
"# There's one difference here though. %n format. Normally it means the\n"
41
"# default color of the terminal (white mostly), but here it means the\n"
42
"# \"reset color back to the one it was in higher template\". For example\n"
43
"# if there was /FORMAT test %g{foo}bar, and foo = \"%Y$0%n\", irssi would\n"
44
"# print yellow \"foo\" (as set with %Y) but \"bar\" would be green, which was\n"
45
"# set at the beginning before the {foo} template. If there wasn't the %g\n"
46
"# at start, the normal behaviour of %n would occur. If you _really_ want\n"
47
"# to use the terminal's default color, use %N.\n"
49
"#############################################################################\n"
51
"# default foreground color (%N) - -1 is the \"default terminal color\"\n"
52
"default_color = \"-1\";\n"
54
"# print timestamp/servertag at the end of line, not at beginning\n"
55
"info_eol = \"false\";\n"
57
"# these characters are automatically replaced with specified color\n"
58
"# (dark grey by default)\n"
59
"replaces = { \"[]=\" = \"%K$*%n\"; };\n"
66
" # text to insert at the beginning of each non-message line\n"
67
" line_start = \"%B-%W!%B-%n \";\n"
69
" # timestamp styling, nothing by default\n"
70
" timestamp = \"$*\";\n"
72
" # any kind of text that needs hilighting, default is to bold\n"
73
" hilight = \"%_$*%_\";\n"
75
" # any kind of error message, default is bright red\n"
76
" error = \"%R$*%n\";\n"
78
" # channel name is printed\n"
79
" channel = \"%_$*%_\";\n"
81
" # nick is printed\n"
82
" nick = \"%_$*%_\";\n"
84
" # nick host is printed\n"
85
" nickhost = \"[$*]\";\n"
87
" # server name is printed\n"
88
" server = \"%_$*%_\";\n"
90
" # some kind of comment is printed\n"
91
" comment = \"[$*]\";\n"
93
" # reason for something is printed (part, quit, kick, ..)\n"
94
" reason = \"{comment $*}\";\n"
96
" # mode change is printed ([+o nick])\n"
97
" mode = \"{comment $*}\";\n"
100
" ## channel specific messages\n"
103
" # highlighted nick/host is printed (joins)\n"
104
" channick_hilight = \"%C$*%n\";\n"
105
" chanhost_hilight = \"{nickhost %c$*%n}\";\n"
107
" # nick/host is printed (parts, quits, etc.)\n"
108
" channick = \"%c$*%n\";\n"
109
" chanhost = \"{nickhost $*}\";\n"
111
" # highlighted channel name is printed\n"
112
" channelhilight = \"%c$*%n\";\n"
114
" # ban/ban exception/invite list mask is printed\n"
115
" ban = \"%c$*%n\";\n"
121
" # the basic styling of how to print message, $0 = nick mode, $1 = nick\n"
122
" msgnick = \"%K<%n$0$1-%K>%n %|\";\n"
124
" # message from you is printed. \"msgownnick\" specifies the styling of the\n"
125
" # nick ($0 part in msgnick) and \"ownmsgnick\" specifies the styling of the\n"
128
" # Example1: You want the message text to be green:\n"
129
" # ownmsgnick = \"{msgnick $0 $1-}%g\";\n"
130
" # Example2.1: You want < and > chars to be yellow:\n"
131
" # ownmsgnick = \"%Y{msgnick $0 $1-%Y}%n\";\n"
132
" # (you'll also have to remove <> from replaces list above)\n"
133
" # Example2.2: But you still want to keep <> grey for other messages:\n"
134
" # pubmsgnick = \"%K{msgnick $0 $1-%K}%n\";\n"
135
" # pubmsgmenick = \"%K{msgnick $0 $1-%K}%n\";\n"
136
" # pubmsghinick = \"%K{msgnick $1 $0$2-%n%K}%n\";\n"
137
" # ownprivmsgnick = \"%K{msgnick $*%K}%n\";\n"
138
" # privmsgnick = \"%K{msgnick %R$*%K}%n\";\n"
140
" # $0 = nick mode, $1 = nick\n"
141
" ownmsgnick = \"{msgnick $0 $1-}\";\n"
142
" ownnick = \"%W$*%n\";\n"
144
" # public message in channel, $0 = nick mode, $1 = nick\n"
145
" pubmsgnick = \"{msgnick $0 $1-}\";\n"
146
" pubnick = \"%N$*%n\";\n"
148
" # public message in channel meant for me, $0 = nick mode, $1 = nick\n"
149
" pubmsgmenick = \"{msgnick $0 $1-}\";\n"
150
" menick = \"%Y$*%n\";\n"
152
" # public highlighted message in channel\n"
153
" # $0 = highlight color, $1 = nick mode, $2 = nick\n"
154
" pubmsghinick = \"{msgnick $1 $0$2-%n}\";\n"
156
" # channel name is printed with message\n"
157
" msgchannel = \"%K:%c$*%n\";\n"
159
" # private message, $0 = nick, $1 = host\n"
160
" privmsg = \"[%R$0%K(%r$1-%K)%n] \";\n"
162
" # private message from you, $0 = \"msg\", $1 = target nick\n"
163
" ownprivmsg = \"[%r$0%K(%R$1-%K)%n] \";\n"
165
" # own private message in query\n"
166
" ownprivmsgnick = \"{msgnick $*}\";\n"
167
" ownprivnick = \"%W$*%n\";\n"
169
" # private message in query\n"
170
" privmsgnick = \"{msgnick %R$*%n}\";\n"
173
" ## Actions (/ME stuff)\n"
176
" # used internally by this theme\n"
177
" action_core = \"%W * $*%n\";\n"
179
" # generic one that's used by most actions\n"
180
" action = \"{action_core $*} \";\n"
182
" # own action, both private/public\n"
183
" ownaction = \"{action $*}\";\n"
185
" # own action with target, both private/public\n"
186
" ownaction_target = \"{action_core $0}%K:%c$1%n \";\n"
188
" # private action sent by others\n"
189
" pvtaction = \"%W (*) $*%n \";\n"
190
" pvtaction_query = \"{action $*}\";\n"
192
" # public action sent by others\n"
193
" pubaction = \"{action $*}\";\n"
197
" ## other IRC events\n"
201
" whois = \"%# $[8]0 : $1-\";\n"
204
" ownnotice = \"[%r$0%K(%R$1-%K)]%n \";\n"
205
" notice = \"%K-%M$*%K-%n \";\n"
206
" pubnotice_channel = \"%K:%m$*\";\n"
207
" pvtnotice_host = \"%K(%m$*%K)\";\n"
208
" servernotice = \"%g!$*%n \";\n"
211
" ownctcp = \"[%r$0%K(%R$1-%K)] \";\n"
212
" ctcp = \"%g$*%n\";\n"
215
" wallop = \"%W$*%n: \";\n"
216
" wallop_nick = \"%n$*\";\n"
217
" wallop_action = \"%W * $*%n \";\n"
220
" netsplit = \"%R$*%n\";\n"
221
" netjoin = \"%C$*%n\";\n"
224
" names_prefix = \"\";\n"
225
" names_nick = \"[%_$0%_$1-] \";\n"
226
" names_nick_op = \"{names_nick $*}\";\n"
227
" names_nick_halfop = \"{names_nick $*}\";\n"
228
" names_nick_voice = \"{names_nick $*}\";\n"
229
" names_users = \"[%g$*%n]\";\n"
230
" names_channel = \"%G$*%n\";\n"
233
" dcc = \"%g$*%n\";\n"
234
" dccfile = \"%_$*%_\";\n"
236
" # DCC chat, own msg/action\n"
237
" dccownmsg = \"[%r$0%K($1-%K)%n] \";\n"
238
" dccownnick = \"%R$*%n\";\n"
239
" dccownquerynick = \"%W$*%n\";\n"
240
" dccownaction = \"{action $*}\";\n"
241
" dccownaction_target = \"{action_core $0}%K:%c$1%n \";\n"
243
" # DCC chat, others\n"
244
" dccmsg = \"[%G$1-%K(%g$0%K)%n] \";\n"
245
" dccquerynick = \"%G$*%n\";\n"
246
" dccaction = \"%W (*dcc*) $*%n %|\";\n"
252
" # default background for all statusbars. You can also give\n"
253
" # the default foreground color for statusbar items.\n"
254
" sb_background = \"%4%w\";\n"
256
" # default backround for \"default\" statusbar group\n"
257
" #sb_default_bg = \"%4\";\n"
258
" # background for prompt / input line\n"
259
" sb_prompt_bg = \"%n\";\n"
260
" # background for info statusbar\n"
261
" sb_info_bg = \"%8\";\n"
262
" # background for topicbar (same default)\n"
263
" #sb_topic_bg = \"%4\";\n"
265
" # text at the beginning of statusbars. sb-item already puts\n"
266
" # space there,so we don't use anything by default.\n"
268
" # text at the end of statusbars. Use space so that it's never\n"
269
" # used for anything.\n"
272
" topicsbstart = \"{sbstart $*}\";\n"
273
" topicsbend = \"{sbend $*}\";\n"
275
" prompt = \"[$*] \";\n"
277
" sb = \" %c[%n$*%c]%n\";\n"
278
" sbmode = \"(%c+%n$*)\";\n"
279
" sbaway = \" (%GzZzZ%n)\";\n"
280
" sbservertag = \":$0 (change with ^X)\";\n"
281
" sbnickmode = \"$0\";\n"
283
" # activity in statusbar\n"
286
" sb_act_sep = \"%c$*\";\n"
288
" sb_act_text = \"%c$*\";\n"
289
" # public message\n"
290
" sb_act_msg = \"%W$*\";\n"
292
" sb_act_hilight = \"%M$*\";\n"
293
" # hilight with specified color, $0 = color, $1 = text\n"
294
" sb_act_hilight_color = \"$0$1-%n\";\n"