Advertisement
Guest User

Untitled

a guest
Nov 20th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.53 KB | None | 0 0
  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.  
  45. # set at the beginning before the {foo} template. If there wasn't the %g
  46. # at start, the normal behaviour of %n would occur. If you _really_ want
  47. # to use the terminal's default color, use %N.
  48.  
  49. #############################################################################
  50.  
  51. # default foreground color (%N) - -1 is the "default terminal color"
  52. default_color = "-1";
  53.  
  54. # print timestamp/servertag at the end of line, not at beginning
  55. info_eol = "false";
  56.  
  57. # these characters are automatically replaced with specified color
  58. # (dark grey by default)
  59. #replaces = { "[]=" = "%K$*%n"; };
  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 = "$*";
  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 = "$*";
  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 = "$*";
  105. chanhost_hilight = "{nickhost $*}";
  106.  
  107. # nick/host is printed (parts, quits, etc.)
  108. channick = "$*";
  109. chanhost = "{nickhost $*}";
  110.  
  111. # highlighted channel name is printed
  112. channelhilight = "$*";
  113.  
  114. # ban/ban exception/invite list mask is printed
  115. ban = "$*";
  116.  
  117. ##
  118. ## messages
  119. ##
  120.  
  121. # the basic styling of how to print message, $0 = nick mode, $1 = nick
  122. msgnick = "<$0$1-> %|";
  123.  
  124. # message from you is printed. "msgownnick" specifies the styling of the
  125. # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
  126. # whole line.
  127.  
  128. # Example1: You want the message text to be green:
  129. # ownmsgnick = "{msgnick $0 $1-}%g";
  130. # Example2.1: You want < and > chars to be yellow:
  131.  
  132. # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
  133. # (you'll also have to remove <> from replaces list above)
  134. # Example2.2: But you still want to keep <> grey for other messages:
  135. # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
  136. # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
  137. # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
  138. # ownprivmsgnick = "%K{msgnick $*%K}%n";
  139. # privmsgnick = "%K{msgnick %R$*%K}%n";
  140.  
  141. # $0 = nick mode, $1 = nick
  142. ownmsgnick = "{msgnick $0 $1-}";
  143. ownnick = "$*";
  144.  
  145. # public message in channel, $0 = nick mode, $1 = nick
  146. pubmsgnick = "{msgnick $0 $1-}";
  147. pubnick = "$*";
  148.  
  149. # public message in channel meant for me, $0 = nick mode, $1 = nick
  150. pubmsgmenick = "{msgnick $0 $1-}";
  151. menick = "$*";
  152.  
  153. # public highlighted message in channel
  154. # $0 = highlight color, $1 = nick mode, $2 = nick
  155. pubmsghinick = "{msgnick $1 $0$2-%n}";
  156.  
  157. # channel name is printed with message
  158. msgchannel = ":$*";
  159.  
  160. # private message, $0 = nick, $1 = host
  161. privmsg = "[$0($1-)] ";
  162.  
  163. # private message from you, $0 = "msg", $1 = target nick
  164. ownprivmsg = "[$0($1-)] ";
  165.  
  166. # own private message in query
  167. ownprivmsgnick = "{msgnick $*}";
  168. ownprivnick = "$*";
  169.  
  170. # private message in query
  171. privmsgnick = "{msgnick $*}";
  172.  
  173. ##
  174. ## Actions (/ME stuff)
  175.  
  176. ##
  177.  
  178. # used internally by this theme
  179. action_core = " * $*";
  180.  
  181. # generic one that's used by most actions
  182. action = "{action_core $*} ";
  183.  
  184. # own action, both private/public
  185. ownaction = "{action $*}";
  186.  
  187. # own action with target, both private/public
  188. ownaction_target = "{action_core $0}:$1 ";
  189.  
  190. # private action sent by others
  191. pvtaction = " (*) $* ";
  192. pvtaction_query = "{action $*}";
  193.  
  194. # public action sent by others
  195. pubaction = "{action $*}";
  196.  
  197.  
  198. ##
  199. ## other IRC events
  200. ##
  201.  
  202. # whois
  203. whois = "%# $[8]0 : $1-";
  204.  
  205. # notices
  206. ownnotice = "[$0($1-)] ";
  207. notice = "-$*- ";
  208. pubnotice_channel = ":$*";
  209. pvtnotice_host = "($*)";
  210. servernotice = "!$* ";
  211.  
  212. # CTCPs
  213. ownctcp = "[$0($1-)] ";
  214. ctcp = "$*";
  215.  
  216. # wallops
  217. wallop = "$*: ";
  218. wallop_nick = "$*";
  219.  
  220. wallop_action = " * $* ";
  221.  
  222. # netsplits
  223. netsplit = "$*";
  224. netjoin = "$*";
  225.  
  226. # /names list
  227. names_prefix = "";
  228. names_nick = "[$0$1-] ";
  229. names_nick_op = "{names_nick $*}";
  230. names_nick_halfop = "{names_nick $*}";
  231. names_nick_voice = "{names_nick $*}";
  232. names_users = "[$*]";
  233. names_channel = "$*";
  234.  
  235. # DCC
  236. dcc = "$*";
  237. dccfile = "$*";
  238.  
  239. # DCC chat, own msg/action
  240. dccownmsg = "[$0($1-)] ";
  241. dccownnick = "$*";
  242. dccownquerynick = "$*";
  243. dccownaction = "{action $*}";
  244. dccownaction_target = "{action_core $0}:$1 ";
  245.  
  246. # DCC chat, others
  247. dccmsg = "[$1-($0)] ";
  248. dccquerynick = "$*";
  249. dccaction = " (*dcc*) $* %|";
  250.  
  251. ##
  252. ## statusbar
  253. ##
  254.  
  255. # default background for all statusbars. You can also give
  256. # the default foreground color for statusbar items.
  257. sb_background = "%w";
  258.  
  259. # default backround for "default" statusbar group
  260. #sb_default_bg = "%8";
  261. # background for prompt / input line
  262. sb_prompt_bg = "%n";
  263.  
  264. ## statusbar
  265. ##
  266.  
  267. # default background for all statusbars. You can also give
  268. # the default foreground color for statusbar items.
  269. sb_background = "%w";
  270.  
  271. # default backround for "default" statusbar group
  272. #sb_default_bg = "%8";
  273. # background for prompt / input line
  274. sb_prompt_bg = "%n";
  275. # background for info statusbar
  276. sb_info_bg = "%w";
  277. # background for topicbar (same default)
  278. #sb_topic_bg = "%8";
  279.  
  280. # text at the beginning of statusbars. sb-item already puts
  281. # space there,so we don't use anything by default.
  282. sbstart = "";
  283. # text at the end of statusbars. Use space so that it's never
  284. # used for anything.
  285. sbend = " ";
  286.  
  287. prompt = "[$*] ";
  288.  
  289. sb = " [$*]";
  290. sbmode = "(+$*)";
  291. sbaway = " (zZzZ)";
  292. sbservertag = ":$0 (change with ^X)";
  293.  
  294. # activity in statusbar
  295.  
  296. # ',' separator
  297. sb_act_sep = "$*";
  298. # normal text
  299. sb_act_text = "$*";
  300. # public message
  301. sb_act_msg = "$*";
  302. # hilight
  303. sb_act_hilight = "$*";
  304. # hilight with specified color, $0 = color, $1 = text
  305. sb_act_hilight_color = "$1-%n";
  306. };
  307.  
  308.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement