The SILC Project

source navigation ]
identifier search ]
freetext search ]
file search ]

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

This page was automatically generated by the LXR engine.
Free-text search provided by Glimpse