polemon.org
 

mono.theme

This Irssi1) theme, is optimized for character display, such as the DEC VT220.
It does not use colors but uses bold font, underlines and blinking text to emphasize things on a character display.

You can always download the latest version here.
Or, take a look at the source:

mono.theme

  1: # default foreground color (%N) - -1 is the "default terminal color"
  2: default_color = "-1";
  3: 
  4: # print timestamp/servertag at the end of line, not at beginning
  5: info_eol = "false";
  6: 
  7: # these characters are automatically replaced with specified color
  8: # (dark grey by default)
  9: replaces = { "<>[]=" = "%_$*%_"; };
 10: 
 11: abstracts = {
 12:   ##
 13:   ## generic
 14:   ##
 15: 
 16:   # text to insert at the beginning of each non-message line
 17:   line_start = "%9%8 %n ";
 18: 
 19:   # timestamp styling
 20:   timestamp = "$*";
 21: 
 22:   # any kind of text that needs hilighting, default is to bold
 23:   hilight = "%_$*%_";
 24: 
 25:   # any kind of error message, bold, flashing reverse text, ouch!
 26:   error = "%9%8%F$*%n";
 27: 
 28:   # channel name is printed
 29:   channel = "%_$*%_";
 30: 
 31:   # nick is printed
 32:   nick = "%_$*%_";
 33: 
 34:   # nick host is printed
 35:   nickhost = "[$*]";
 36: 
 37:   # server name is printed
 38:   server = "%U$*%U";
 39: 
 40:   # some kind of comment is printed
 41:   comment = "[$*]";
 42: 
 43:   # reason for something is printed (part, quit, kick, ..)
 44:   reason = "{comment $*}";
 45: 
 46:   # mode change is printed ([+o nick])
 47:   mode = "{comment $*}";
 48: 
 49:   ##
 50:   ## channel specific messages
 51:   ##
 52: 
 53:   # highlighted nick/host is printed (joins)
 54:   channick_hilight = "%9$*%n";
 55:   chanhost_hilight = "{nickhost %U$*%n}";
 56: 
 57:   # nick/host is printed (parts, quits, etc.)
 58:   channick = "$*";
 59:   chanhost = "{nickhost $*}";
 60: 
 61:   # highlighted channel name is printed
 62:   channelhilight = "%U$*%n";
 63: 
 64:   # ban/ban exception/invite list mask is printed
 65:   ban = "%U$*%n";
 66: 
 67:   ##
 68:   ## messages
 69:   ##
 70: 
 71:   # the basic styling of how to print message, $0 = nick mode, $1 = nick
 72:   msgnick = "<%9$0%n$1-> %|";
 73: 
 74:   # message from you is printed. "msgownnick" specifies the styling of the
 75:   # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
 76:   # whole line.
 77: 
 78:   # Example1: You want the message text to be green:
 79:   #  ownmsgnick = "{msgnick $0 $1-}%g";
 80:   # Example2.1: You want < and > chars to be yellow:
 81:   #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
 82:   #  (you'll also have to remove <> from replaces list above)
 83:   # Example2.2: But you still want to keep <> grey for other messages:
 84:   #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
 85:   #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
 86:   #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
 87:   #  ownprivmsgnick = "%K{msgnick  $*%K}%n";
 88:   #  privmsgnick = "%K{msgnick  %R$*%K}%n";
 89: 
 90:   # $0 = nick mode, $1 = nick
 91:   ownmsgnick = "{msgnick $0 $1-}%_";
 92:   ownnick = "$*";
 93: 
 94:   # public message in channel, $0 = nick mode, $1 = nick
 95:   pubmsgnick = "{msgnick $0 $1-}";
 96:   pubnick = "%N$*%n";
 97: 
 98:   # public message in channel meant for me, $0 = nick mode, $1 = nick
 99:   pubmsgmenick = "{msgnick $0 $1-}";
100:   menick = "%8%_$*%n";
101: 
102:   # public highlighted message in channel
103:   # $0 = highlight color, $1 = nick mode, $2 = nick
104:   pubmsghinick = "{msgnick $1 %9%8$2-%n}";
105: 
106:   # channel name is printed with message
107:   msgchannel = ":%U$*%n";
108: 
109:   # private message, $0 = nick, $1 = host
110:   privmsg = "[%_$0%_(%U$1-%U)] ";
111: 
112:   # private message from you, $0 = "msg", $1 = target nick
113:   ownprivmsg = "[$0(%_$1-%_)] ";
114: 
115:   # own private message in query
116:   ownprivmsgnick = "{msgnick $*}%_";
117:   ownprivnick = "%_$*%n";
118: 
119:   # private message in query
120:   privmsgnick = "{msgnick %n$*}";
121: 
122:   ##
123:   ## Actions (/ME stuff)
124:   ##
125: 
126:   # used internally by this theme
127:   action_core = "%9 * %9$*%n";
128: 
129:   # generic one that's used by most actions
130:   action = "{action_core $*} ";
131: 
132:   # own action, both private/public
133:   ownaction = "{action $*}%9";
134: 
135:   # own action with target, both private/public
136:   ownaction_target = "{action_core $0}:%9$1%n ";
137: 
138:   # private action sent by others
139:   pvtaction = "%_ (*) $*%n ";
140:   pvtaction_query = "{action $*}";
141: 
142:   # public action sent by others
143:   pubaction = "{action $*}";
144: 
145: 
146:   ##
147:   ## other IRC events
148:   ##
149: 
150:   # whois
151:   whois = "%# $[8]0 : $1-";
152: 
153:   # notices
154:   ownnotice = "[$0(%_$1-%_)] ";
155:   notice = "-%_$*%_- ";
156:   pubnotice_channel = "%_:%U$*%U%_";
157:   pvtnotice_host = "%_(%U$*%U)%_";
158:   servernotice = "%8 %8 -%_$*%_- ";
159: 
160:   # CTCPs
161:   ownctcp = "[$0(%_$1-%_)] ";
162:   ctcp = "$*";
163: 
164:   # wallops
165:   wallop = "%_$*%n: ";
166:   wallop_nick = "%n$*";
167:   wallop_action = "%_ * $*%n ";
168: 
169:   # netsplits
170:   netsplit = "%R$*%n";
171:   netjoin = "%C$*%n";
172: 
173:   # /names list
174:   names_prefix = "";
175:   names_nick = "[%_$0%_$1-] ";
176:   names_nick_op = "{names_nick $*}";
177:   names_nick_halfop = "{names_nick $*}";
178:   names_nick_voice = "{names_nick $*}";
179:   names_users = "[$*]";
180:   names_channel = "%_$*%n";
181: 
182:   # DCC
183:   dcc = ">>> $*%n";
184:   dccfile = "%_$*%_";
185: 
186:   # DCC chat, own msg/action
187:   dccownmsg = "[$0(%_$1-%_)] ";
188:   dccownnick = "$*";
189:   dccownquerynick = "%n$*";
190:   dccownaction = "{action $*}";
191:   dccownaction_target = "{action_core $0}:%_$1%n ";
192: 
193:   # DCC chat, others
194:   dccmsg = "[%_$1-%_(%U$0%U)%n] ";
195:   dccquerynick = "%N$*";
196:   dccaction = "%_ (*dcc*) $*%n %|";
197: 
198:   ##
199:   ## statusbar
200:   ##
201: 
202:   # default background for all statusbars. You can also give
203:   # the default foreground color for statusbar items.
204:   sb_background = "%8";
205: 
206:   # default backround for "default" statusbar group
207:   #sb_default_bg = "%8";
208:   # background for prompt / input line
209:   sb_prompt_bg = "%_";
210:   # background for info statusbar
211:   sb_info_bg = "%8";
212:   # background for topicbar (same default)
213:   #sb_topic_bg = "%8";
214: 
215:   # text at the beginning of statusbars. sb-item already puts
216:   # space there,so we don't use anything by default.
217:   sbstart = "";
218:   # text at the end of statusbars. Use space so that it's never
219:   # used for anything.
220:   sbend = " ";
221: 
222:   topicsbstart = "{sbstart $*}";
223:   topicsbend = "{sbend $*}";
224: 
225:   prompt = "[%_$*%_] ";
226: 
227:   sb = " $* %N $n";
228:   sbmode = " %_$*%n";
229:   sbaway = " (%_NA%n)";
230:   sbservertag = ":$0 (change with ^X)";
231:   sbnickmode = "$0";
232: 
233:   # activity in statusbar
234: 
235:   # ',' separator
236:   sb_act_sep = "$*";
237:   # normal text
238:   sb_act_text = "$*%n";
239:   # public message
240:   sb_act_msg = "%9$*%n";
241:   # hilight
242:   sb_act_hilight = "%F%9$*%n";
243:   # hilight with specified color, $0 = color, $1 = text
244:   sb_act_hilight_color = "%F$1-%n";
245: };

Where to put this file

This should be put, where all your themes for Irssi are, typically ~/.irssi/.

1) tested with Irssi 0.8.13 and 0.8.14
 
mono.theme.txt · Last modified: 2009/12/15 04:49 (external edit)
 
RSS • 2012 © --polemon Powered by: