1# greenedge.theme for irssi - http://waxman.org/irssi/irssi
2#
3# greenedge.theme, Public Beta, 1.0. 2006/06/20
4#
5# Copyright 2006 Dave Waxman
6#
7# Please report any bugs to dave@waxman.org
8#
9# This theme is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 2
12# of the License, or (at your option) any later version.
13#
14# This theme is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this theme; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22#
23
24#############################################################################
25
26# default foreground color (%N) - -1 is the "default terminal color"
27default_color = "-1";
28
29# print timestamp/servertag at the end of line, not at beginning
30info_eol = "false";
31
32# these characters are automatically replaced with specified color
33# (dark grey by default)
34replaces = { "[]=" = "%B$*%n"; };
35
36abstracts = {
37  ##
38  ## generic
39  ##
40
41  # text to insert at the beginning of each non-message line
42  line_start = "%G::%n ";
43
44  # timestamp styling, nothing by default
45  timestamp = "$* ";
46
47  # any kind of text that needs hilighting, default is to bold
48  hilight = "%_$*%_";
49
50  # any kind of error message, default is bright red
51  error = "%R$*%n";
52
53  # channel name is printed
54  channel = "%_$*%_";
55
56  # nick is printed
57  nick = "%_$*%_";
58
59  # nick host is printed
60  nickhost = "[$*]";
61
62  # server name is printed
63  server = "%_$*%_";
64
65  # some kind of comment is printed
66  comment = "[$*]";
67
68  # reason for something is printed (part, quit, kick, ..)
69  reason = "{comment $*}";
70
71  # mode change is printed ([+o nick])
72  mode = "{comment $*}";
73
74  ##
75  ## channel specific messages
76  ##
77
78  # highlighted nick/host is printed (joins)
79  channick_hilight = "%C$*%n";
80  chanhost_hilight = "{nickhost %c$*%n}";
81
82  # nick/host is printed (parts, quits, etc.)
83  channick = "%c$*%n";
84  chanhost = "{nickhost $*}";
85
86  # highlighted channel name is printed
87  channelhilight = "%c$*%n";
88
89  # ban/ban exception/invite list mask is printed
90  ban = "%c$*%n";
91
92  ##
93  ## messages
94  ##
95
96  # the basic styling of how to print message, $0 = nick mode, $1 = nick
97  msgnick = "%n$0$1-%G:%n %|";
98
99  # message from you is printed. "msgownnick" specifies the styling of the
100  # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
101  # whole line.
102
103  # Example1: You want the message text to be green:
104  #  ownmsgnick = "{msgnick $0 $1-}%g";
105  # Example2.1: You want < and > chars to be yellow:
106  #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
107  #  (you'll also have to remove <> from replaces list above)
108  # Example2.2: But you still want to keep <> grey for other messages:
109  #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
110  #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
111  #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
112  #  ownprivmsgnick = "%K{msgnick  $*%K}%n";
113  #  privmsgnick = "%K{msgnick  %R$*%K}%n";
114
115  # $0 = nick mode, $1 = nick
116  ownmsgnick = "{msgnick $0 $1-}";
117  ownnick = "%W$*%n";
118
119  # public message in channel, $0 = nick mode, $1 = nick
120  pubmsgnick = "{msgnick $0 $1-}";
121  pubnick = "%N$*%n";
122
123  # public message in channel meant for me, $0 = nick mode, $1 = nick
124  pubmsgmenick = "{msgnick $0 $1-}";
125  menick = "%Y$*%n";
126
127  # public highlighted message in channel
128  # $0 = highlight color, $1 = nick mode, $2 = nick
129  pubmsghinick = "{msgnick $1 $0$2-%n}";
130
131  # channel name is printed with message
132  msgchannel = "%K:%c$*%n";
133
134  # private message, $0 = nick, $1 = host
135  privmsg = "[%R$0%K(%r$1-%K)%n] ";
136
137  # private message from you, $0 = "msg", $1 = target nick
138  ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
139
140  # own private message in query
141  ownprivmsgnick = "{msgnick  $*}";
142  ownprivnick = "%W$*%n";
143
144  # private message in query
145  privmsgnick = "{msgnick  %G$*%n}";
146
147  ##
148  ## Actions (/ME stuff)
149  ##
150
151  # used internally by this theme
152  action_core = "%Y*%n $*%n";
153
154  # generic one that's used by most actions
155  action = "{action_core $*} ";
156
157  # own action, both private/public
158  ownaction = "{action $*}";
159
160  # own action with target, both private/public
161  ownaction_target = "{action_core $0}%K:%c$1%n ";
162
163  # private action sent by others
164  pvtaction = "%W (*) $*%n ";
165  pvtaction_query = "{action $*}";
166
167  # public action sent by others
168  pubaction = "{action $*}";
169
170
171  ##
172  ## other IRC events
173  ##
174
175  # whois
176  whois = "%# $[8]0 : $1-";
177
178  # notices
179  ownnotice = "[%r$0%K(%R$1-%K)]%n ";
180  notice = "%K-%M$*%K-%n ";
181  pubnotice_channel = "%K:%m$*";
182  pvtnotice_host = "%K(%m$*%K)";
183  servernotice = "%g!$*%n ";
184
185  # CTCPs
186  ownctcp = "[%r$0%K(%R$1-%K)] ";
187  ctcp = "%g$*%n";
188
189  # wallops
190  wallop = "%W$*%n: ";
191  wallop_nick = "%n$*";
192  wallop_action = "%W * $*%n ";
193
194  # netsplits
195  netsplit = "%R$*%n";
196  netjoin = "%C$*%n";
197
198  # /names list
199  names_prefix = "";
200  names_nick = "[%_$0%_$1-] ";
201  names_nick_op = "{names_nick $*}";
202  names_nick_halfop = "{names_nick $*}";
203  names_nick_voice = "{names_nick $*}";
204  names_users = "[%g$*%n]";
205  names_channel = "%G$*%n";
206
207  # DCC
208  dcc = "%g$*%n";
209  dccfile = "%_$*%_";
210
211  # DCC chat, own msg/action
212  dccownmsg = "[%r$0%K($1-%K)%n] ";
213  dccownnick = "%R$*%n";
214  dccownquerynick = "%W$*%n";
215  dccownaction = "{action $*}";
216  dccownaction_target = "{action_core $0}%K:%c$1%n ";
217
218  # DCC chat, others
219  dccmsg = "[%G$1-%K(%g$0%K)%n] ";
220  dccquerynick = "%G$*%n";
221  dccaction = "%W (*dcc*) $*%n %|";
222
223  ##
224  ## statusbar
225  ##
226
227  # default background for all statusbars. You can also give
228  # the default foreground color for statusbar items.
229  sb_background = "%n%n";
230
231  # background for prompt / input line
232  sb_prompt_bg = "%w";
233  # background for info statusbar
234  sb_info_bg = "%8";
235
236  # text at the beginning of statusbars. sb-item already puts
237  # space there,so we don't use anything by default.
238  sbstart = "%B-(";
239  # text at the end of statusbars. Use space so that it's never
240  # used for anything.
241  sbend = "%B)-";
242
243  #  topicsbstart = "{sbstart $*}";
244  #  topicsbend = "{sbend $*}";
245
246  prompt = "%B[%w$tag%B/%W$cumode%G$*%B]%n ";
247
248
249  sb = "%G-=%B[%w$*%B]%G=-%n";
250  sbmode = "%B(%n+%c$*%B)%n";
251  sbaway = " %B(%YzZzZ%B)";
252  sbservertag = "%Y:$0 %n(change with ^X)";
253
254  # activity in statusbar
255
256  # ',' separator
257  sb_act_sep = "%K$*";
258  # normal text
259  sb_act_text = "%c$*";
260  # public message
261  sb_act_msg = "%W$*";
262  sb_topic_bg = "%G";
263  # hilight
264  sb_act_hilight = "%Y$*";
265  # hilight with specified color, $0 = color, $1 = text
266  sb_act_hilight_color = "$0$1-%w";
267
268};
269
270formats = {
271  "fe-common/core" = { pubmsg = "{pubmsgnick $2 {pubnick \00310$0}}$1"; };
272  "fe-common/irc" = { away = ""; unaway = ""; };
273};
274