1# :::::::::::::[ irssi theme diskreet v0.2 by bracket ]::::::::::::::
2
3# this is my attempt to make a theme fitting to a light background
4# and i also tend to make it very settle by not using much colors
5# it's based on my cyanic theme.
6
7# you can send any comments, complaints and/or request to
8# bracket@welho.com or /msg me on ircnet.
9
10# changes:
11#        - now you can see nicks up to 15 characters in length
12
13# :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
14
15# Irssi's colors that you can use in text formats, hilights, etc. :
16#
17#                           text            text            background
18#   ---------------------------------------------------------------------
19#   %k      %K      %0      black           dark grey       black
20#   %r      %R      %1      red             bold red        red
21#   %g      %G      %2      green           bold green      green
22#   %y      %Y      %3      yellow          bold yellow     yellow
23#   %b      %B      %4      blue            bold blue       blue
24#   %m      %M      %5      magenta         bold magenta    magenta
25#   %p      %P              magenta (think: purple)
26#   %c      %C      %6      cyan            bold cyan       cyan
27#   %w      %W      %7      white           bold white      white
28#   %n      %N              Changes the color to "default color", removing
29#                           all other coloring and formatting. %N is always
30#                          the terminal's default color. %n is usually too,
31#                          except in themes it changes to "previous color",
32#                          ie. hello = "%Rhello%n" and "%G{hello} world"
33#                          would print hello in red, and %n would turn back
34#                          into %G making world green.
35#   %F                      Blinking on/off (think: flash)
36#   %U                      Underline on/off
37#   %8                      Reverse on/off
38#   %9      %_              Bold on/off
39#   %:                      Insert newline
40#   %|                      Marks the indentation position
41#   %#                      Monospace font on/off (useful with lists and GUI)
42#   %%                      A single %
43#
44# In .theme files %n works a bit differently. See default.theme
45# for more information.
46
47# ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
48
49# default foreground color (%N) - -1 is the "default terminal color"
50default_color = "0";
51# default_real_color = 0;
52
53# print timestamp/servertag at the end of line, not at beginning
54info_eol = "false";
55
56# these characters are automatically replaced with specified color
57# (dark grey by default)
58replaces = { "[]" = "%k$*%K"; };
59
60
61abstracts = {
62  ##
63  ## generic
64  ##
65
66  # text to insert at the beginning of each non-message line
67  line_start = "%K";
68
69  # timestamp styling, nothing by default
70  timestamp = " %K$*%K";
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$*%K";
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 = "%k$*%K";
105  chanhost_hilight = "{nickhost %K$*%K}";
106
107  # nick/host is printed (parts, quits, etc.)
108  channick = "%k$*%K";
109  chanhost = "{nickhost $*}";
110
111  # highlighted channel name is printed
112  channelhilight = "%k$*%K";
113
114  # ban/ban exception/invite list mask is printed
115  ban = "%r$*%K";
116
117  ##  ## messages
118  ##
119
120  # the basic styling of how to print message, $0 = nick mode, $1 = nick
121  msgnick = "%K$1 %c$0 %|%K";
122
123  # message from you is printed. "msgownnick" specifies the styling of the
124  # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
125  # whole line.
126
127  # Example1: You want the message text to be green:
128  #  ownmsgnick = "{msgnick $0 $1-}%g";
129  # Example2.1: You want < and > chars to be yellow:
130  #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
131  #  (you'll also have to remove <> from replaces list above)
132  # Example2.2: But you still want to keep <> grey for other messages:
133  #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
134  #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
135  #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
136  #  ownprivmsgnick = "%K{msgnick  $*%K}%n";
137  #  privmsgnick = "%K{msgnick  %R$*%K}%n";
138
139  # $0 = nick mode, $1 = nick
140  ownmsgnick = "{msgnick $0 $1-}%K";
141  ownnick = "%k$*%K";
142
143  # public message in channel, $0 = nick mode, $1 = nick
144  pubmsgnick = "{msgnick $0 $1-}";
145  pubnick = "%K$*%K";
146
147  # public message in channel meant for me, $0 = nick mode, $1 = nick
148  pubmsgmenick = "{msgnick $0 $1-}";
149  menick = "%c$*%K";
150
151  # public highlighted message in channel
152  # $0 = highlight color, $1 = nick mode, $2 = nick
153  pubmsghinick = "{msgnick $1 $0$2-%W}%K";
154
155  # channel name is printed with message
156  msgchannel = "%K:%k$*%K";
157
158  # private message, $0 = nick, $1 = host
159  privmsg = "%K[%k$0%K(%k$1-%K)%K] %K";
160
161  # private message from you, $0 = "msg", $1 = target nick
162  ownprivmsg = "%K[%k$0%K(%k$1-%K)%K] %G";
163
164  # own private message in query
165  ownprivmsgnick = "{msgnick %k$*}";
166  ownprivnick = "%k$*%K";
167
168  # private message in query
169  privmsgnick = "{msgnick  %k$*%K}";
170
171  ##
172  ## Actions (/ME stuff)
173  ##
174
175
176  # used internally by this theme
177  # action_core = "%W$[-15]0- * %K";
178  action_core = "%k$0-%K";
179
180  # generic one that's used by most actions
181  action = "                %c* %|{action_core %k$*} ";
182
183  # own action, both private/public
184  ownaction = "{action $*}";
185
186  # own action with target, both private/public
187  ownaction_target = "{action_core $0}%K:%k$1%K ";
188
189  # private action sent by others
190  pvtaction = "%W (*) $*%K ";
191  pvtaction_query = "{action $*}";
192
193  # public action sent by others
194  pubaction = "{action $*}";
195
196
197  ##
198  ## other IRC events
199  ##
200
201
202  # whois
203  whois = "%# $[8]0 : $1-";
204
205  # notices
206  ownnotice = "[%r$0%K(%R$1-%K)]%K ";
207  notice = "%K-%c$*%K-%K ";
208  pubnotice_channel = "%K:%m$*";
209  pvtnotice_host = "%K(%m$*%K)";
210  servernotice = "%g!$*%K ";
211
212  # CTCPs
213  ownctcp = "[%r$0%K(%R$1-%K)] ";
214  ctcp = "%g$*%K";
215
216  # wallops
217  wallop = "%W$*%K: ";
218  wallop_nick = "%w$*";
219  wallop_action = "%W * $*%K ";
220
221  # netsplits
222  netsplit = "%r$*%K";
223  netjoin = "%g$*%K";
224
225  # /names list
226  names_prefix = "                  ";
227  names_nick = "%_%c$0%_%K$1-  %K";
228  names_nick_op = "{names_nick $*}";
229  names_nick_halfop = "{names_nick $*}";
230  names_nick_voice = "{names_nick $*}";
231  names_users = "          %c$*%k";
232  names_channel = "%k- $*%K";
233
234  # DCC
235  dcc = "%c$*%n";
236  dccfile = "%_$*%_";
237
238  # DCC chat, own msg/action
239  dccownmsg = "[%k$0%K($1-%K)%N] ";
240  dccownnick = "%k$*%N";
241  dccownquerynick = "%k$*%N";
242  dccownaction = "{action $*}";
243  dccownaction_target = "{action_core $0}%K:%k$1%N ";
244
245  # DCC chat, others
246  dccmsg = "[%k$1-%K(%k$0%K)%N] ";
247  dccquerynick = "%K$*%N";
248  dccaction = "%k (*dcc*) $*%K %|";
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 = "%7%K";
257
258  # default backround for "default" statusbar group
259  sb_default_bg = "%7";
260  # background for prompt / input line
261  sb_prompt_bg = "%k";
262  # background for info statusbar
263  sb_info_bg = "%7";
264  # background for topicbar (same default)
265  sb_topic_bg = "%7";
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 = " -[%c%%%k]- %K$* %k- ";
278
279  sb = " %k$*%K";
280  sbmode = " %W+$* ";
281  sbaway = "  %k-%Waway%k- ";
282  sbservertag = ":$0 %K(%kchange with %W^X%K)";
283  sbnickmode = "%W$0%k";
284
285  # activity in statusbar
286
287  # ',' separator
288  sb_act_sep = "%K$*";
289  # normal text
290  sb_act_text = "%K$*";
291  # public message
292  sb_act_msg = "%W$*";
293  # hilight
294  sb_act_hilight = "%C$*";
295  # hilight with specified color, $0 = color, $1 = text
296  sb_act_hilight_color = "$0$1-%K";
297};
298formats = {
299  "fe-common/core" = {
300
301    #   [Windows]
302    daychange = " -[%c%%%k]-      %cday change %k> %%d %%b %%Y";
303    talking_with = "%K- %kyou are now talking with {nick $0} %K)";
304    refnum_too_low = "%K- %kwindow number must be greater than 1 %K)";
305    error_server_sticky = "%K- %|%kwindow's server is sticky and it cannot be changed without -unsticky option %K)";
306    set_server_sticky = "%K- %kwindow's server set sticky %K)";
307    unset_server_sticky = "%K- %kwindow's server isn't sticky anymore %K)";
308    window_name_not_unique = "%K- %kwindow names must be unique %K)";
309    window_level = "%K- %kWindow level is now $0 %K)";
310    window_set_immortal = "%K- %kwindow is now immortal %K)";
311    window_unset_immortal = "%K- %kwindow isn't immortal anymore %K)";
312    window_immortal_error = "%K- %|%kwindow is immortal, if you really want to close it, say /WINDOW IMMORTAL OFF %K)";
313
314    #   [Server]
315    looking_up = "%K- %klooking up {server $0} %K)";
316    connecting = "%K- %kconnecting to {server $0} [$1] port {hilight $2} %K)";
317    connection_established = "%K- %kconnection to {server $0} established %K)";
318    cant_connect = "%K- %kunable to connect server {server $0} port {hilight $1} {reason $2} %K)";
319    connection_lost = "%K- %kconnection lost to {server $0} %K)";
320    lag_disconnected = "%K- %kno PONG reply from server {server $0} in $1 seconds, disconnecting %K)";
321    disconnected = "%K- %kdisconnected from {server $0} {reason $1} %K)";
322    server_quit = "%K- %kdisconnecting from server {server $0}: {reason $1} %K)";
323    server_changed = "%K- %kchanged to {hilight $2} server {server $1} %K)";
324    unknown_server_tag = "%K- %kunknown server tag {server $0} %K)";
325    no_connected_servers = "%K- %knot connected to any servers %K)";
326    server_list = "%K- %k{server $0}: $1:$2 ($3) %K)";
327    server_lookup_list = "%K- %k{server $0}: $1:$2 ($3) (connecting...) %K)";
328    server_reconnect_list = "%K- %k{server $0}: $1:$2 ($3) ($5 left before reconnecting) %K)";
329    server_reconnect_removed = "%K- %kremoved reconnection to server {server $0} port {hilight $1} %K)";
330    server_reconnect_not_found = "%K- %kreconnection tag {server $0} not found %K)";
331    setupserver_added = "%K- %kserver {server $0} saved %K)";
332    setupserver_removed = "%K- %kserver {server $0} removed %K)";
333    setupserver_not_found = "%K- %kserver {server $0} not found %K)";
334    your_nick = "%K- %kyour nickname is {nick $0} %K)";
335
336
337    #   [Channels]
338    join = "{channick $[-15]0} %g>%n %|{chanhost_hilight $1} %khas joined {channel $2}";
339    part = "{channick $[-15]0} %k<%n %|{chanhost_hilight $1} %khas left {channel $2} {reason %K$3}";
340    kick = "{channick $[-15]0} %r<%n %|kicked from {channel $1} %kby {nick $2} {reason %K$3}";
341    quit = "{channick $[-15]0} %rx%n %|{chanhost_hilight $1} %khas quit irc {reason %K$2}";
342    quit_once = "{channel $3} {channick $0} {chanhost $1} %kquit {reason %K$2}";
343    nick_changed = "{channick $[-15]0} %K= {channick_hilight $1}";
344    your_nick_changed = "{channick $[-15]0} %k= {channick_hilight $1}";
345    own_msg = "{ownmsgnick $2 {ownnick $[-15]0}}$1";
346    own_msg_channel = "{ownmsgnick $3 {ownnick $[-15]0}{msgchannel $1}}$2";
347    pubmsg_me = "{pubmsgmenick $2 {menick $[-15]0}}$1";
348    pubmsg_me_channel = "{pubmsgmenick $3 {menick $[-15]0}{msgchannel $1}}$2";
349    pubmsg_hilight = "{pubmsghinick $0 $3 $[-15]1}$2";
350    pubmsg_hilight_channel = "{pubmsghinick $0 $4 $[-15]1{msgchannel $2}}$3";
351    pubmsg = "{pubmsgnick $2 {pubnick $[-15]0}}%|$1";
352    pubmsg_channel = "{pubmsgnick $3 {pubnick $[-15]0}{msgchannel $1}}$2";
353    own_msg_private = "{ownprivmsg msg $[-14]0} $1";
354    own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-14]2}}  $1";
355    msg_private = "{privmsg $[-15]0 $1} $2";
356    msg_private_query = "{privmsgnick $[-15]0} $2";
357    new_topic = "          %ctopic %k= %|%K'%k$2%K' %Kon {channel $1}[%Kset by {nick %k$0}]";
358
359
360
361  };
362  "fe-common/irc" = {
363
364    #   [Channels]
365    chanmode_change = "%c    mode change %k- %|%K{channelhilight $0} {mode %c$1} by {nick %k$2}";
366    channel_mode = "%c    mode change %k- %|{channelhilight $0} {mode %c$1}";
367    netsplit = "       {netsplit netsplit} %k/%K %|{server $0} %k<%K-%w-%K-%k>%K {server $1} quits: %k$2";
368    netsplit_more = "       {netsplit netsplit} %k/%K %|{server $0} %k<%K-%w-%K-%k>%K {server $1} quits: %k$2 %K(+$3 more, use /NETSPLIT to show all of them)";
369    netsplit_join = "       {netjoin netsplit} %k-%K %|joins: %k$0";
370    netsplit_join_more = "      {netjoin netsplit} %k-%K %|over, joins: %k$0 %K(+$1 more)";
371    server_chanmode_change = "     {netsplit ServerMode} %k- %K({channelhilight $0} {mode $1}) by {nick %k$2}";
372
373    #   [Nick]
374    usermode_change = "%k- %Kmode change %k{mode %c$0} %Kfor user %k{nick $1} %k)";
375    user_mode = "%k- %Kyour user mode is %k{mode %c$0} %k)";
376    away = "%k- %Kyou have been marked as being away %k)";
377    unaway = "%k- %Kyou are no longer marked as being away %k)";
378    nick_away = "%k- %k{nick $0} %Kis away: '%k$1%w' %k)";
379    no_such_nick = "%k- %k{nick $0}%K: no such nick/channel %k)";
380    nick_in_use = "%k- %kKick %k{nick $0} %Kis already in use %k)";
381    nick_unavailable = "%k- %Knick %k{nick $0} %Kis temporarily unavailable %k)";
382    your_nick_owned = "%k- %Kyour nick is owned by %k{nick $3} %K{comment $1@$2} %k)";
383
384
385    #   [Who queries]
386    whois = "%K -[%c%%]%K- the whois of {nick %k$0} %K-[%c%%]%K- %:  host     : {%knickhost %k$1@$2} %: {whois ircname %k$3}";
387    whowas = "%K -[%c%%]%K- the whowas of {nick %k$0} %K-[%c%%]%K- %:  host     : {%knickhost %k$1@$2} %: {whois ircname %k$3}";
388    whois_idle = " {whois idle  %k$1 %Kdays and %k$2%Kh%k$3%Km%k$4}%ks";
389    whois_idle_signon = " {whois idle %|%k$1 %Kdays and %k$2%Kh%k$3%Km%k$4%Ks {comment signon: $5}} %k)";
390    whois_server = " {whois server %|%k$1 {comment $2}}";
391    whois_oper = "{whois  {hilight $1}}";
392    whois_registered = "{whois  has registered this nick}";
393    whois_help = "{whois  is available for help}";
394    whois_modes = "{whois modes $1}";
395    whois_realhost = "{whois hostname $1-}";
396    whois_usermode = "{whois usermode $1}";
397    whois_channels = " {whois channels %|%k$1}";
398    whois_away = " {whois away %|%k$1}";
399    whois_special = "{whois  %|$1}";
400    whois_extra = "{whois  %|$1}";
401    end_of_whois = "%K -[%c%%]%K- end of whois -[%c%%]%K-";
402    end_of_whowas = "%K -[%c%%]%K- end of whowas -[%c%%]%K-";
403    whois_not_found = "%K- there is no such nick %k$0 %k)";
404    who = "%#{channelhilight $[-10]0} %|{nick $[!9]1} $[!3]2 $[!2]3 $4@$5 {comment {hilight $6}}";
405    end_of_who = "%k- %Kend of /who list";
406
407  };
408};
409
410