]>
Commit | Line | Data |
---|---|---|
0dc598f6 | 1 | # When testing changes, the easiest way to reload the theme is with /RELOAD. |
28465db5 TS |
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 | ||
c2da48eb TS |
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 | |
f382abee TS |
45 | # at start, the normal behaviour of %n would occur. If you _really_ want |
46 | # to use the terminal's default color, use %N. | |
c2da48eb TS |
47 | |
48 | ############################################################################# | |
49 | ||
2ba339a2 | 50 | # default foreground color (%N) - -1 is the "default terminal color" |
09ca5896 | 51 | default_color = "-1"; |
fa82a26c | 52 | |
ca234bdf TS |
53 | # print timestamp/servertag at the end of line, not at beginning |
54 | info_eol = "false"; | |
55 | ||
000ba23a | 56 | # these characters are automatically replaced with specified color |
c2da48eb | 57 | # (dark grey by default) |
ea4323a1 | 58 | replaces = { "[]=" = "%K$*%n"; }; |
000ba23a | 59 | |
000ba23a | 60 | abstracts = { |
c3a45d08 TS |
61 | ## |
62 | ## generic | |
63 | ## | |
64 | ||
65 | # text to insert at the beginning of each non-message line | |
47c16eca | 66 | line_start = "%B-%n!%B-%n "; |
c3a45d08 TS |
67 | |
68 | # timestamp styling, nothing by default | |
c9f76eee | 69 | timestamp = "$*"; |
c3a45d08 TS |
70 | |
71 | # any kind of text that needs hilighting, default is to bold | |
c9f76eee | 72 | hilight = "%_$*%_"; |
c3a45d08 TS |
73 | |
74 | # any kind of error message, default is bright red | |
c9f76eee | 75 | error = "%R$*%n"; |
c3a45d08 TS |
76 | |
77 | # channel name is printed | |
c9f76eee | 78 | channel = "%_$*%_"; |
c3a45d08 TS |
79 | |
80 | # nick is printed | |
c9f76eee | 81 | nick = "%_$*%_"; |
c3a45d08 TS |
82 | |
83 | # nick host is printed | |
c9f76eee | 84 | nickhost = "[$*]"; |
c3a45d08 TS |
85 | |
86 | # server name is printed | |
c9f76eee | 87 | server = "%_$*%_"; |
c3a45d08 TS |
88 | |
89 | # some kind of comment is printed | |
c9f76eee | 90 | comment = "[$*]"; |
c3a45d08 TS |
91 | |
92 | # reason for something is printed (part, quit, kick, ..) | |
c9f76eee | 93 | reason = "{comment $*}"; |
c3a45d08 TS |
94 | |
95 | # mode change is printed ([+o nick]) | |
c9f76eee | 96 | mode = "{comment $*}"; |
c3a45d08 TS |
97 | |
98 | ## | |
99 | ## channel specific messages | |
100 | ## | |
101 | ||
102 | # highlighted nick/host is printed (joins) | |
c9f76eee TS |
103 | channick_hilight = "%C$*%n"; |
104 | chanhost_hilight = "{nickhost %c$*%n}"; | |
c3a45d08 TS |
105 | |
106 | # nick/host is printed (parts, quits, etc.) | |
c9f76eee TS |
107 | channick = "%c$*%n"; |
108 | chanhost = "{nickhost $*}"; | |
c3a45d08 TS |
109 | |
110 | # highlighted channel name is printed | |
c9f76eee | 111 | channelhilight = "%c$*%n"; |
c3a45d08 TS |
112 | |
113 | # ban/ban exception/invite list mask is printed | |
c9f76eee | 114 | ban = "%c$*%n"; |
c3a45d08 TS |
115 | |
116 | ## | |
117 | ## messages | |
118 | ## | |
119 | ||
f8f6d767 | 120 | # the basic styling of how to print message, $0 = nick mode, $1 = nick |
ea4323a1 | 121 | msgnick = "%K<%n$0$1-%K>%n %|"; |
c3a45d08 | 122 | |
378cab29 | 123 | # message from you is printed. "ownnick" specifies the styling of the |
c3a45d08 | 124 | # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the |
28465db5 TS |
125 | # whole line. |
126 | ||
127 | # Example1: You want the message text to be green: | |
f8f6d767 TS |
128 | # ownmsgnick = "{msgnick $0 $1-}%g"; |
129 | # Example2.1: You want < and > chars to be yellow: | |
130 | # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n"; | |
28465db5 TS |
131 | # (you'll also have to remove <> from replaces list above) |
132 | # Example2.2: But you still want to keep <> grey for other messages: | |
f8f6d767 TS |
133 | # pubmsgnick = "%K{msgnick $0 $1-%K}%n"; |
134 | # pubmsgmenick = "%K{msgnick $0 $1-%K}%n"; | |
da641088 | 135 | # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n"; |
c9f76eee TS |
136 | # ownprivmsgnick = "%K{msgnick $*%K}%n"; |
137 | # privmsgnick = "%K{msgnick %R$*%K}%n"; | |
f8f6d767 TS |
138 | |
139 | # $0 = nick mode, $1 = nick | |
140 | ownmsgnick = "{msgnick $0 $1-}"; | |
47c16eca | 141 | ownnick = "%_$*%n"; |
c3a45d08 | 142 | |
f8f6d767 TS |
143 | # public message in channel, $0 = nick mode, $1 = nick |
144 | pubmsgnick = "{msgnick $0 $1-}"; | |
c9f76eee | 145 | pubnick = "%N$*%n"; |
c3a45d08 | 146 | |
f8f6d767 TS |
147 | # public message in channel meant for me, $0 = nick mode, $1 = nick |
148 | pubmsgmenick = "{msgnick $0 $1-}"; | |
c9f76eee | 149 | menick = "%Y$*%n"; |
c3a45d08 TS |
150 | |
151 | # public highlighted message in channel | |
f8f6d767 | 152 | # $0 = highlight color, $1 = nick mode, $2 = nick |
da641088 | 153 | pubmsghinick = "{msgnick $1 $0$2-%n}"; |
c3a45d08 TS |
154 | |
155 | # channel name is printed with message | |
c9f76eee | 156 | msgchannel = "%K:%c$*%n"; |
c3a45d08 TS |
157 | |
158 | # private message, $0 = nick, $1 = host | |
4a295a73 | 159 | privmsg = "[%R$0%K(%r$1-%K)%n] "; |
c3a45d08 TS |
160 | |
161 | # private message from you, $0 = "msg", $1 = target nick | |
dc12f511 | 162 | ownprivmsg = "[%r$0%K(%R$1-%K)%n] "; |
c3a45d08 | 163 | |
28465db5 | 164 | # own private message in query |
c9f76eee | 165 | ownprivmsgnick = "{msgnick $*}"; |
47c16eca | 166 | ownprivnick = "%_$*%n"; |
28465db5 | 167 | |
c3a45d08 | 168 | # private message in query |
c9f76eee | 169 | privmsgnick = "{msgnick %R$*%n}"; |
c3a45d08 TS |
170 | |
171 | ## | |
c2da48eb | 172 | ## Actions (/ME stuff) |
c3a45d08 TS |
173 | ## |
174 | ||
45ad955d | 175 | # used internally by this theme |
47c16eca | 176 | action_core = "%_ * $*%n"; |
45ad955d | 177 | |
c2da48eb | 178 | # generic one that's used by most actions |
c9f76eee | 179 | action = "{action_core $*} "; |
c2da48eb TS |
180 | |
181 | # own action, both private/public | |
c9f76eee | 182 | ownaction = "{action $*}"; |
c2da48eb | 183 | |
45ad955d TS |
184 | # own action with target, both private/public |
185 | ownaction_target = "{action_core $0}%K:%c$1%n "; | |
186 | ||
c2da48eb | 187 | # private action sent by others |
47c16eca | 188 | pvtaction = "%_ (*) $*%n "; |
c9f76eee | 189 | pvtaction_query = "{action $*}"; |
c2da48eb TS |
190 | |
191 | # public action sent by others | |
c9f76eee | 192 | pubaction = "{action $*}"; |
c3a45d08 | 193 | |
c2da48eb TS |
194 | |
195 | ## | |
196 | ## other IRC events | |
197 | ## | |
198 | ||
f5a161be | 199 | # whois |
d856e65e | 200 | whois = "%# $[8]0 : $1-"; |
f5a161be | 201 | |
4a295a73 TS |
202 | # notices |
203 | ownnotice = "[%r$0%K(%R$1-%K)]%n "; | |
c9f76eee TS |
204 | notice = "%K-%M$*%K-%n "; |
205 | pubnotice_channel = "%K:%m$*"; | |
206 | pvtnotice_host = "%K(%m$*%K)"; | |
207 | servernotice = "%g!$*%n "; | |
c3a45d08 TS |
208 | |
209 | # CTCPs | |
4a295a73 | 210 | ownctcp = "[%r$0%K(%R$1-%K)] "; |
c9f76eee | 211 | ctcp = "%g$*%n"; |
c3a45d08 | 212 | |
4a295a73 | 213 | # wallops |
47c16eca | 214 | wallop = "%_$*%n: "; |
c9f76eee | 215 | wallop_nick = "%n$*"; |
47c16eca | 216 | wallop_action = "%_ * $*%n "; |
c3a45d08 | 217 | |
4a295a73 | 218 | # netsplits |
c9f76eee TS |
219 | netsplit = "%R$*%n"; |
220 | netjoin = "%C$*%n"; | |
c3a45d08 | 221 | |
4a295a73 | 222 | # /names list |
7bdd1cbe | 223 | names_prefix = ""; |
4a295a73 | 224 | names_nick = "[%_$0%_$1-] "; |
edf0e479 TS |
225 | names_nick_op = "{names_nick $*}"; |
226 | names_nick_halfop = "{names_nick $*}"; | |
227 | names_nick_voice = "{names_nick $*}"; | |
c9f76eee TS |
228 | names_users = "[%g$*%n]"; |
229 | names_channel = "%G$*%n"; | |
c3a45d08 TS |
230 | |
231 | # DCC | |
c9f76eee TS |
232 | dcc = "%g$*%n"; |
233 | dccfile = "%_$*%_"; | |
c3a45d08 | 234 | |
c2da48eb | 235 | # DCC chat, own msg/action |
f8f1f814 | 236 | dccownmsg = "[%r$0%K($1-%K)%n] "; |
c9f76eee | 237 | dccownnick = "%R$*%n"; |
47c16eca | 238 | dccownquerynick = "%_$*%n"; |
c9f76eee | 239 | dccownaction = "{action $*}"; |
118f9a11 | 240 | dccownaction_target = "{action_core $0}%K:%c$1%n "; |
c2da48eb TS |
241 | |
242 | # DCC chat, others | |
4a295a73 | 243 | dccmsg = "[%G$1-%K(%g$0%K)%n] "; |
c9f76eee | 244 | dccquerynick = "%G$*%n"; |
47c16eca | 245 | dccaction = "%_ (*dcc*) $*%n %|"; |
87777968 TS |
246 | |
247 | ## | |
248 | ## statusbar | |
249 | ## | |
250 | ||
fbf8ba37 TS |
251 | # default background for all statusbars. You can also give |
252 | # the default foreground color for statusbar items. | |
6211e7a4 | 253 | sb_background = "%4%w"; |
373fad3c | 254 | |
b0ac3b83 | 255 | # default backround for "default" statusbar group |
373fad3c | 256 | #sb_default_bg = "%4"; |
b0ac3b83 | 257 | # background for prompt / input line |
0dc3e3f0 | 258 | sb_prompt_bg = "%n"; |
b0ac3b83 TS |
259 | # background for info statusbar |
260 | sb_info_bg = "%8"; | |
7446a0eb TS |
261 | # background for topicbar (same default) |
262 | #sb_topic_bg = "%4"; | |
b0ac3b83 | 263 | |
8ec92308 P |
264 | # text at the beginning of statusbars. "sb" already puts a space there, |
265 | # so we don't use anything by default. | |
6f8a3bd0 TS |
266 | sbstart = ""; |
267 | # text at the end of statusbars. Use space so that it's never | |
268 | # used for anything. | |
269 | sbend = " "; | |
270 | ||
8dfed0f0 TS |
271 | topicsbstart = "{sbstart $*}"; |
272 | topicsbend = "{sbend $*}"; | |
273 | ||
7793f2fe TS |
274 | prompt = "[$*] "; |
275 | ||
c9f76eee TS |
276 | sb = " %c[%n$*%c]%n"; |
277 | sbmode = "(%c+%n$*)"; | |
87777968 | 278 | sbaway = " (%GzZzZ%n)"; |
b0ac3b83 | 279 | sbservertag = ":$0 (change with ^X)"; |
22c5f7b0 | 280 | sbnickmode = "$0"; |
6f8a3bd0 | 281 | |
7793f2fe TS |
282 | # activity in statusbar |
283 | ||
284 | # ',' separator | |
285 | sb_act_sep = "%c$*"; | |
286 | # normal text | |
287 | sb_act_text = "%c$*"; | |
288 | # public message | |
289 | sb_act_msg = "%W$*"; | |
290 | # hilight | |
291 | sb_act_hilight = "%M$*"; | |
292 | # hilight with specified color, $0 = color, $1 = text | |
293 | sb_act_hilight_color = "$0$1-%n"; | |
000ba23a | 294 | }; |