]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/irssi/default.theme
nautilus: broken, switch back to caja
[julm/julm-nix.git] / home-manager / profiles / 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) - -1 is the "default terminal color"
51 default_color = "-1";
52
53 # print timestamp/servertag at the end of line, not at beginning
54 info_eol = "false";
55
56 # these characters are automatically replaced with specified color
57 # (dark grey by default)
58 replaces = { "[]=" = "%K$*%n"; };
59
60 abstracts = {
61 ##
62 ## generic
63 ##
64
65 # text to insert at the beginning of each non-message line
66 line_start = "%B-%n!%B-%n ";
67
68 # timestamp styling, nothing by default
69 #timestamp = "$*";
70 timestamp = "%K$*%n";
71
72 # any kind of text that needs hilighting, default is to bold
73 hilight = "%_$*%_";
74
75 # any kind of error message, default is bright red
76 error = "%R$*%n";
77
78 # channel name is printed
79 channel = "%_$*%_";
80
81 # nick is printed
82 nick = "%_$*%_";
83
84 # nick host is printed
85 nickhost = "[$*]";
86
87 # server name is printed
88 server = "%_$*%_";
89
90 # some kind of comment is printed
91 comment = "[$*]";
92
93 # reason for something is printed (part, quit, kick, ..)
94 reason = "{comment $*}";
95
96 # mode change is printed ([+o nick])
97 mode = "{comment $*}";
98
99 ##
100 ## channel specific messages
101 ##
102
103 # highlighted nick/host is printed (joins)
104 channick_hilight = "%C$*%n";
105 chanhost_hilight = "{nickhost %c$*%n}";
106
107 # nick/host is printed (parts, quits, etc.)
108 channick = "%c$*%n";
109 chanhost = "{nickhost $*}";
110
111 # highlighted channel name is printed
112 channelhilight = "%c$*%n";
113
114 # ban/ban exception/invite list mask is printed
115 ban = "%c$*%n";
116
117 ##
118 ## messages
119 ##
120
121 # the basic styling of how to print message, $0 = nick mode, $1 = nick
122 #msgnick = "$0$1-| %|";
123 #msgnick = "%K<%n$0$1-%K>%n %|";
124 msgnick = "%n$0$1- %K:%n %|";
125
126 # message from you is printed. "msgownnick" specifies the styling of the
127 # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
128 # whole line.
129
130 # Example1: You want the message text to be green:
131 # ownmsgnick = "{msgnick $0 $1-}%g";
132 # Example2.1: You want < and > chars to be yellow:
133 # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
134 # (you'll also have to remove <> from replaces list above)
135 # Example2.2: But you still want to keep <> grey for other messages:
136 # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
137 # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
138 # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
139 # ownprivmsgnick = "%K{msgnick $*%K}%n";
140 # privmsgnick = "%K{msgnick %R$*%K}%n";
141
142 # $0 = nick mode, $1 = nick
143 ownmsgnick = "{msgnick %K$0%n $1-}";
144 ownnick = "%_$*%n";
145
146 # public message in channel, $0 = nick mode, $1 = nick
147 pubmsgnick = "{msgnick %K$0%n $1-}";
148 pubnick = "%N$*%n";
149
150 # public message in channel meant for me, $0 = nick mode, $1 = nick
151 pubmsgmenick = "{msgnick %K$0%n $1-}";
152 menick = "%Y$*%n";
153
154 # public highlighted message in channel
155 # $0 = highlight color, $1 = nick mode, $2 = nick
156 pubmsghinick = "{msgnick %K$1%n $0$2-%n}";
157
158 # channel name is printed with message
159 msgchannel = "%K:%c$*%n";
160
161 # private message, $0 = nick, $1 = host
162 privmsg = "[%R$0%K(%r$1-%K)%n] ";
163
164 # private message from you, $0 = "msg", $1 = target nick
165 ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
166
167 # own private message in query
168 ownprivmsgnick = "{msgnick $*}";
169 ownprivnick = "%_$*%n";
170
171 # private message in query
172 privmsgnick = "{msgnick %R$*%n}";
173
174 ##
175 ## Actions (/ME stuff)
176 ##
177
178 # used internally by this theme
179 action_core = "%_* $*%n";
180
181 # generic one that's used by most actions
182 action = "{action_core $*} ";
183
184 # own action, both private/public
185 ownaction = "{action $*}";
186
187 # own action with target, both private/public
188 ownaction_target = "{action_core $0}%K:%c$1%n ";
189
190 # private action sent by others
191 pvtaction = "%_ (*) $*%n ";
192 pvtaction_query = "{action $*}";
193
194 # public action sent by others
195 pubaction = "{action $*}";
196
197
198 ##
199 ## other IRC events
200 ##
201
202 # whois
203 whois = "%# $[8]0 : $1-";
204
205 # notices
206 ownnotice = "[%r$0%K(%R$1-%K)]%n ";
207 notice = "%K-%M$*%K-%n ";
208 pubnotice_channel = "%K:%m$*";
209 pvtnotice_host = "%K(%m$*%K)";
210 servernotice = "%g!$*%n ";
211
212 # CTCPs
213 ownctcp = "[%r$0%K(%R$1-%K)] ";
214 ctcp = "%g$*%n";
215
216 # wallops
217 wallop = "%_$*%n: ";
218 wallop_nick = "%n$*";
219 wallop_action = "%_ * $*%n ";
220
221 # netsplits
222 netsplit = "%R$*%n";
223 netjoin = "%C$*%n";
224
225 # /names list
226 names_prefix = "";
227 names_nick = "[%_$0%_$1-] ";
228 names_nick_op = "{names_nick $*}";
229 names_nick_halfop = "{names_nick $*}";
230 names_nick_voice = "{names_nick $*}";
231 names_users = "[%g$*%n]";
232 names_channel = "%G$*%n";
233
234 # DCC
235 dcc = "%g$*%n";
236 dccfile = "%_$*%_";
237
238 # DCC chat, own msg/action
239 dccownmsg = "[%r$0%K($1-%K)%n] ";
240 dccownnick = "%R$*%n";
241 dccownquerynick = "%_$*%n";
242 dccownaction = "{action $*}";
243 dccownaction_target = "{action_core $0}%K:%c$1%n ";
244
245 # DCC chat, others
246 dccmsg = "[%G$1-%K(%g$0%K)%n] ";
247 dccquerynick = "%G$*%n";
248 dccaction = "%_ (*dcc*) $*%n %|";
249
250 ##
251 ## statusbar
252 ##
253
254 # default background for all statusbars. You can also give
255 # the default foreground color for statusbar items.
256 sb_background = "%n%w";
257
258 # default backround for "default" statusbar group
259 sb_default_bg = "%0";
260 # background for prompt / input line
261 sb_prompt_bg = "%N";
262 # background for info statusbar
263 sb_info_bg = "%N";
264 # background for topicbar (same default)
265 sb_topic_bg = "%N%c";
266
267 # text at the beginning of statusbars. sb-item already puts
268 # space there,so we don't use anything by default.
269 sbstart = "";
270 # text at the end of statusbars. Use space so that it's never
271 # used for anything.
272 sbend = " ";
273
274 topicsbstart = "{sbstart $*}";
275 topicsbend = "{sbend $*}";
276
277 #prompt = "[$*] ";
278 prompt = "$*";
279
280 sb = "%c$* ";
281 sbmode = "%K($*)%N";
282 sbaway = "%Gaway%n";
283 sbservertag = "%K:%c$0%K (^X to switch)";
284 sbnickmode = "%K$0%N";
285
286 # activity in statusbar
287
288 # ',' separator
289 sb_act_sep = "%N$*";
290 # normal text
291 sb_act_text = "%K$*";
292 # public message
293 sb_act_msg = "%n%9$*";
294 # hilight
295 sb_act_hilight = "%M$*";
296 # hilight with specified color, $0 = color, $1 = text
297 sb_act_hilight_color = "$0$1-%n";
298 sb_act_special = "%m$*";
299 sb_act_none = "%K$*";
300
301 # signed messages
302
303 flag_signed = "%cS";
304 flag_unknown = "%Y?";
305 flag_failed = "%RF";
306
307 pubmsghinick_signed = "{msgnick {flag_signed} $0 $2-%n}";
308 pubmsghinick_unknown = "{msgnick {flag_unknown} $0 $2-%n}";
309 pubmsghinick_failed = "{msgnick {flag_failed} $0 $2-%n}";
310
311 #pubmsgmenick_signed = "%g<{flag_signed}$1->%n %|";
312 #pubmsgmenick_unknown = "%g<{flag_unknown}$1->%n %|";
313 #pubmsgmenick_failed = "%g<{flag_failed}$1->%n %|";
314 pubmsgmenick_signed = "{msgnick {flag_signed} $0 $2-%n}";
315 pubmsgmenick_unknown = "{msgnick {flag_unknown} $0 $2-%n}";
316 pubmsgmenick_failed = "{msgnick {flag_failed} $0 $2-%n}";
317
318 pubmsgnick_signed = "{msgnick {flag_signed}$0 $1-}";
319 pubmsgnick_unknown = "{msgnick {flag_unknown}$0 $1-}";
320 pubmsgnick_failed = "{msgnick {flag_failed}$0 $1-}";
321
322 privmsg_signed = "{privmsg {flag_signed}$0 $1}";
323 privmsg_unknown = "{privmsg {flag_unknown}$0 $1}";
324 privmsg_failed = "{privmsg {flag_failed}$0 $1}";
325
326 privmsgnick_signed = "{privmsgnick {flag_signed}$0}";
327 privmsgnick_unknown = "{privmsgnick {flag_unknown}$0}";
328 privmsgnick_failed = "{privmsgnick {flag_failed}$0}";
329
330 ownmsgnick_signed = "{msgnick {flag_signed} $1-}%g";
331 ownprivmsg_signed = "->*%c{flag_signed}$1-%n* %g";
332 ownprivmsgnick_signed = "->*%c{flag_signed}$0%n* %g$1-";
333 };
334 formats = {
335 "fe-common/core" = {
336 timestamp = "{timestamp %K%%H:%%M:%%S%n }";
337 pubmsg = "{pubmsgnick $2 {pubnick \00307$[-12]0}}$1";
338 pubmsg_channel = "{pubmsgnick $3 {pubnick $[-12]0}{msgchannel $1}}$2";
339 own_msg = "{ownmsgnick $2 {ownnick $[-12]0}}$1";
340 own_msg_channel = "{ownmsgnick $3 {ownnick $[-12]0}{msgchannel $1}}$2";
341 pubmsg_me = "{pubmsgmenick $2 {menick $[-12]0}}$1";
342 pubmsg_me_channel = "{pubmsgmenick $3 {menick $[-12]0}{msgchannel $1}}$2";
343 pubmsg_hilight = "{pubmsghinick $0 $3 $[-12]1}$2";
344 pubmsg_hilight_channel = "{pubmsghinick $0 $4 $[-12]1{msgchannel $2}}$3";
345 };
346 "Irssi::Script::adv_windowlist" = {
347 #awl_display_header = "%8%K$C";
348 awl_display_header = "";
349 awl_display_key = "%C$Q%W:$H$C$S";
350 awl_display_key_active = "%C$Q%W:$H$C$S";
351 };
352 "Irssi::Script::nickcolor" = {
353 pubmsg_hilight = "{pubmsghinick $0 $3 $[-9]1}$2";
354 };
355 };