1 # irssi theme for the Solarized color palette
2 # (Adapted from default theme distributed with irssi 0.8.15 circa 2011-04-25)
5 # Source: https://github.com/huyz/irssi-colors-solarized
8 # When testing changes, the easiest way to reload the theme is with /RELOAD.
9 # This reloads the configuration file too, so if you did any changes remember
10 # to /SAVE it first. Remember also that /SAVE overwrites the theme file with
11 # old data so keep backups :)
15 # The real text formats that irssi uses are the ones you can find with
16 # /FORMAT command. Back in the old days all the colors and texts were mixed
17 # up in those formats, and it was really hard to change the colors since you
18 # might have had to change them in tens of different places. So, then came
19 # this templating system.
21 # Now the /FORMATs don't have any colors in them, and they also have very
22 # little other styling. Most of the stuff you need to change is in this
23 # theme file. If you can't change something here, you can always go back
24 # to change the /FORMATs directly, they're also saved in these .theme files.
26 # So .. the templates. They're those {blahblah} parts you see all over the
27 # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
28 # When irssi sees this kind of text, it goes to find "name" from abstracts
29 # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
30 # can have more parameters of course). Templates can have subtemplates.
31 # Here's a small example:
32 # /FORMAT format hello {colorify {underline world}}
33 # abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
34 # When irssi expands the templates in "format", the final string would be:
36 # ie. underlined bright green "world" text.
37 # and why "$0-", why not "$0"? $0 would only mean the first parameter,
38 # $0- means all the parameters. With {underline hello world} you'd really
39 # want to underline both of the words, not just the hello (and world would
40 # actually be removed entirely).
44 # You can find definitions for the color format codes in docs/formats.txt.
46 # There's one difference here though. %n format. Normally it means the
47 # default color of the terminal (white mostly), but here it means the
48 # "reset color back to the one it was in higher template". For example
49 # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
50 # print yellow "foo" (as set with %Y) but "bar" would be green, which was
51 # set at the beginning before the {foo} template. If there wasn't the %g
52 # at start, the normal behaviour of %n would occur. If you _really_ want
53 # to use the terminal's default color, use %N.
55 #############################################################################
57 # default foreground color (%N) - -1 is the "default terminal color"
60 # print timestamp/servertag at the end of line, not at beginning
63 # these characters are automatically replaced with specified color
64 # (dark grey by default)
65 replaces = { "[]=" = "%_$*%_"; };
72 # text to insert at the beginning of each non-message line
73 # %G = brightgreen (Solarized: base01, i.e. darkest gray)
74 # %| probably right-aligns
75 line_start = " %G-!- ";
77 # timestamp styling, nothing by default
78 # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray)
81 # any kind of text that needs hilighting, default is to bold
84 # any kind of error message, default is bright red
88 # channel name is printed
94 # nick host is printed
95 # (that's the "email" address of a user)
98 # server name is printed
101 # some kind of comment is printed
104 # reason for something is printed (part, quit, kick, ..)
105 reason = "{comment $*}";
107 # mode change is printed ([+o nick])
108 mode = "{comment $*}";
111 ## channel specific messages
114 # highlighted nick/host is printed (joins)
116 # NOTE: %n doesn't work in irssi v0.8.15 for some reason. So we have to end with the same color as line_start
117 #channick_hilight = "%C$*%n";
118 channick_hilight = "%c$*%G";
119 chanhost_hilight = "{nickhost $*}";
121 # nick/host is printed (parts, quits, etc.)
122 #channick = "%c$*%n";
124 chanhost = "{nickhost $*}";
126 # highlighted channel name is printed
127 channelhilight = "%c$*%n";
129 # ban/ban exception/invite list mask is printed
130 # %R = brightred (Solarized: orange)
137 # the basic styling of how to print message, $0 = nick mode, $1 = nick
138 msgnick = "%_<%_$0$1-%_>%_ %|";
140 # message from you is printed. "msgownnick" specifies the styling of the
141 # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
144 # Example1: You want the message text to be green:
145 # ownmsgnick = "{msgnick $0 $1-}%g";
146 # Example2.1: You want < and > chars to be yellow:
147 # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
148 # (you'll also have to remove <> from replaces list above)
149 # Example2.2: But you still want to keep <> grey for other messages:
150 # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
151 # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
152 # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
153 # ownprivmsgnick = "%K{msgnick $*%K}%n";
154 # privmsgnick = "%K{msgnick %R$*%K}%n";
156 # $0 = nick mode, $1 = nick
157 ownmsgnick = "{msgnick $0 $1-}%b";
160 # public message in channel, $0 = nick mode, $1 = nick
161 pubmsgnick = "{msgnick $0 $1-}";
162 pubnick = "%N%_$*%_%n";
164 # public message in channel meant for me, $0 = nick mode, $1 = nick
165 pubmsgmenick = "{msgnick $0 $1-}";
169 # public highlighted message in channel
170 # $0 = highlight color, $1 = nick mode, $2 = nick
171 pubmsghinick = "{msgnick $1 $0$2-%n}";
173 # channel name is printed with message
174 # This is printed whenever the channel name is printed for disambiguation, e.g.
175 # while there is a query in the same window. Example: <+funnyuser:#test> hello
176 msgchannel = "%G:%c$*%n";
178 # private message, $0 = nick, $1 = host
179 # TODO: To test for Solarized
180 #privmsg = "[%m$0%K<%M$1-%K>%n] ";
181 privmsg = "[%m$0%G<%n$1-%G>%n] ";
183 # private message from you, $0 = "msg", $1 = target nick
184 # TODO: To test for Solarized
185 #ownprivmsg = "[%b$0%K<%B$1-%K>%n] ";
186 ownprivmsg = "[%b$0%G<%B$1-%G>%n] ";
188 # own private message in query
189 ownprivmsgnick = "{msgnick $*}%b";
190 ownprivnick = "%b$*%n";
192 # private message in query
193 # NOTE: for some reason, we gotta handle both the nick & msg on in this line
194 privmsgnick = "{msgnick %m$*%n}%m";
197 ## Actions (/ME stuff)
200 # used internally by this theme
201 action_core = "%_*%n $*";
203 # generic one that's used by most actions
204 action = "{action_core %_$*%n} ";
206 # own action, both private/public
207 ownaction = "{action_core %b$*%n} ";
209 # own action with target, both private/public
210 # NOTE: to test: /action NICK farted. (This will tell NICK that you farted)
211 # This is like a /me but only you and NICK will see
212 # TODO: To test for Solarized
213 ownaction_target = "{action_core $0}%G:%b$1%n ";
215 # private action sent by others
216 # TODO: To test for Solarized
217 # %M = brightmagenta (Solarized: violet)
218 pvtaction = "%M (*) $*%n ";
219 pvtaction_query = "{action $*}";
221 # public action sent by others
222 pubaction = "{action $*}";
230 whois = "%# $[8]0 : $1-";
233 # TODO: To adapt for Solarized
234 ownnotice = "[%b$0%G(%b$1-%G)]%n ";
235 notice = "%G-%M$*%G-%n ";
236 pubnotice_channel = "%G:%m$*";
237 pvtnotice_host = "%G(%m$*%G)";
238 servernotice = "%g!$*%n ";
241 # TODO: To adapt for Solarized
242 ownctcp = "[%b$0%G(%b$1-%G)] ";
247 wallop_nick = "%n$*";
248 wallop_action = "%c * $*%n ";
256 names_nick = "[%_$0%_$1-] ";
257 names_nick_op = "{names_nick $*}";
258 names_nick_halfop = "{names_nick $*}";
259 names_nick_voice = "{names_nick $*}";
260 names_users = "[%g$*%n]";
261 names_channel = "%c$*%n";
267 # DCC chat, own msg/action
268 #dccownmsg = "[%r$0%K($1-%K)%n] ";
269 dccownmsg = "[%b$0%G($1-%G)%n] ";
270 dccownnick = "%b$*%n";
271 dccownquerynick = "%c$*%n";
272 dccownaction = "{action $*}";
273 dccownaction_target = "{action_core $0}%G:%c$1%n ";
276 #dccmsg = "[%G$1-%K(%g$0%K)%n] ";
277 dccmsg = "[%g$1-%G($0%G)%n] ";
278 dccquerynick = "%g$*%n";
279 dccaction = "%c (*dcc*) $*%n %|";
285 # default background for all statusbars. You can also give
286 # the default foreground color for statusbar items.
287 # NOTE: if all the other overriding settings below are set, this only seems to affect
288 # the content parts of the adv_windowlist. Default seems to be blue
289 # NOTE: if not set, the default background seems to be %w%4 = white on blue
291 sb_background = "%w%4";
293 # default backround for "default" statusbar group
294 # NOTE: this impacts the statusbar of an inactive window and the edges of adv_windowlist
295 # %7 = white (wich looks gray on a regular terminal with white bg)
296 sb_default_bg = "%k%7";
298 # background for topicbar at the top (defaults to sb_default_bg)
299 sb_topic_bg = "%W%0";
301 # background for the statusbar of active window. You can also give
302 # the foreground color.
304 sb_window_bg = "%k%2";
306 # background for prompt / input line
308 # background for info statusbar
309 # %8 = reverse window
310 # TODO: To test for Solarized
313 # text at the beginning of statusbars. sb-item already puts
314 # space there,so we don't use anything by default.
316 # text at the end of statusbars. Use space so that it's never
320 topicsbstart = "{sbstart $*}";
321 topicsbend = "{sbend $*}";
325 # This controls each part of a statusbor, including the outer brackets of adv_windowlist
327 # The mode is next to your NICK and the channel
328 # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray)
329 sbmode = "%b(%n+$*%b)%n";
330 sbaway = " (%GzZzZ%n)";
331 # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray)
332 sbservertag = ":$0 %b(change with ^X)%n";
335 # activity in statusbar
337 # ',' separator between the window numbers
338 # %g = green (same color as the active statusbar so we dont' see it)
341 # This also affects the color of the window with activity in adv_windowlist
342 sb_act_text = "%W$*";
343 # public message (ordinary messages)
345 # hilight (when people actually chat)
346 # This also affects the color of the window with direct message in adv_windowlist
347 sb_act_hilight = "%m$*";
348 # hilight with specified color, $0 = color, $1 = text
349 sb_act_hilight_color = "$0$1-%n";
351 ### For usercount.pl script
353 #sb_usercount = "{sb %_$0%_ nicks ($1-)}";
354 sb_usercount = "{sb %_$0%_ users %Y(%n$1-%Y)%n}";
355 sb_uc_ircops = "%k*%n$*";
356 sb_uc_ops = "%k@%n$*";
357 sb_uc_halfops = "%k%%%n$*";
358 sb_uc_voices = "%k+%n$*";
362 ### For adv_windowlist.pl script
364 # Mentioned in adv_windowlist but not default_theme
365 #sb_act_none = "%0%W";
370 daychange = " %g-----%w-%W-%n Day changed to %%D %W-%w-%g-----%n";