default.theme 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. # TEMPLATES:
  6. # The real text formats that irssi uses are the ones you can find with
  7. # /FORMAT command. Back in the old days all the colors and texts were mixed
  8. # up in those formats, and it was really hard to change the colors since you
  9. # might have had to change them in tens of different places. So, then came
  10. # this templating system.
  11. # Now the /FORMATs don't have any colors in them, and they also have very
  12. # little other styling. Most of the stuff you need to change is in this
  13. # theme file. If you can't change something here, you can always go back
  14. # to change the /FORMATs directly, they're also saved in these .theme files.
  15. # So .. the templates. They're those {blahblah} parts you see all over the
  16. # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
  17. # When irssi sees this kind of text, it goes to find "name" from abstracts
  18. # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
  19. # can have more parameters of course). Templates can have subtemplates.
  20. # Here's a small example:
  21. # /FORMAT format hello {colorify {underline world}}
  22. # abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
  23. # When irssi expands the templates in "format", the final string would be:
  24. # hello %G%Uworld%U%n
  25. # ie. underlined bright green "world" text.
  26. # and why "$0-", why not "$0"? $0 would only mean the first parameter,
  27. # $0- means all the parameters. With {underline hello world} you'd really
  28. # want to underline both of the words, not just the hello (and world would
  29. # actually be removed entirely).
  30. # COLORS:
  31. # You can find definitions for the color format codes in docs/formats.txt.
  32. # There's one difference here though. %n format. Normally it means the
  33. # default color of the terminal (white mostly), but here it means the
  34. # "reset color back to the one it was in higher template". For example
  35. # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
  36. # print yellow "foo" (as set with %Y) but "bar" would be green, which was
  37. # set at the beginning before the {foo} template. If there wasn't the %g
  38. # at start, the normal behaviour of %n would occur. If you _really_ want
  39. # to use the terminal's default color, use %N.
  40. #############################################################################
  41. # default foreground color (%N) - -1 is the "default terminal color"
  42. default_color = "-1";
  43. # print timestamp/servertag at the end of line, not at beginning
  44. info_eol = "false";
  45. # these characters are automatically replaced with specified color
  46. # (dark grey by default)
  47. replaces = { "[]=" = "%K$*%n"; };
  48. abstracts = {
  49. ##
  50. ## generic
  51. ##
  52. # text to insert at the beginning of each non-message line
  53. line_start = "%B-%n!%B-%n ";
  54. # timestamp styling, nothing by default
  55. timestamp = "$*";
  56. # any kind of text that needs hilighting, default is to bold
  57. hilight = "%_$*%_";
  58. # any kind of error message, default is bright red
  59. error = "%R$*%n";
  60. # channel name is printed
  61. channel = "%_$*%_";
  62. # nick is printed
  63. nick = "%_$*%_";
  64. # nick host is printed
  65. nickhost = "[$*]";
  66. # server name is printed
  67. server = "%_$*%_";
  68. # some kind of comment is printed
  69. comment = "[$*]";
  70. # reason for something is printed (part, quit, kick, ..)
  71. reason = "{comment $*}";
  72. # mode change is printed ([+o nick])
  73. mode = "{comment $*}";
  74. ##
  75. ## channel specific messages
  76. ##
  77. # highlighted nick/host is printed (joins)
  78. channick_hilight = "%C$*%n";
  79. chanhost_hilight = "{nickhost %c$*%n}";
  80. # nick/host is printed (parts, quits, etc.)
  81. channick = "%c$*%n";
  82. chanhost = "{nickhost $*}";
  83. # highlighted channel name is printed
  84. channelhilight = "%c$*%n";
  85. # ban/ban exception/invite list mask is printed
  86. ban = "%c$*%n";
  87. ##
  88. ## messages
  89. ##
  90. # the basic styling of how to print message, $0 = nick mode, $1 = nick
  91. msgnick = "%K<%n$0$1-%K>%n %|";
  92. # message from you is printed. "ownnick" specifies the styling of the
  93. # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
  94. # whole line.
  95. # Example1: You want the message text to be green:
  96. # ownmsgnick = "{msgnick $0 $1-}%g";
  97. # Example2.1: You want < and > chars to be yellow:
  98. # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
  99. # (you'll also have to remove <> from replaces list above)
  100. # Example2.2: But you still want to keep <> grey for other messages:
  101. # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
  102. # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
  103. # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
  104. # ownprivmsgnick = "%K{msgnick $*%K}%n";
  105. # privmsgnick = "%K{msgnick %R$*%K}%n";
  106. # $0 = nick mode, $1 = nick
  107. ownmsgnick = "{msgnick $0 $1-}";
  108. ownnick = "%_$*%n";
  109. # public message in channel, $0 = nick mode, $1 = nick
  110. pubmsgnick = "{msgnick $0 $1-}";
  111. pubnick = "%N$*%n";
  112. # public message in channel meant for me, $0 = nick mode, $1 = nick
  113. pubmsgmenick = "{msgnick $0 $1-}";
  114. menick = "%Y$*%n";
  115. # public highlighted message in channel
  116. # $0 = highlight color, $1 = nick mode, $2 = nick
  117. pubmsghinick = "{msgnick $1 $0$2-%n}";
  118. # channel name is printed with message
  119. msgchannel = "%K:%c$*%n";
  120. # private message, $0 = nick, $1 = host
  121. privmsg = "[%R$0%K(%r$1-%K)%n] ";
  122. # private message from you, $0 = "msg", $1 = target nick
  123. ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
  124. # own private message in query
  125. ownprivmsgnick = "{msgnick $*}";
  126. ownprivnick = "%_$*%n";
  127. # private message in query
  128. privmsgnick = "{msgnick %R$*%n}";
  129. ##
  130. ## Actions (/ME stuff)
  131. ##
  132. # used internally by this theme
  133. action_core = "%_ * $*%n";
  134. # generic one that's used by most actions
  135. action = "{action_core $*} ";
  136. # own action, both private/public
  137. ownaction = "{action $*}";
  138. # own action with target, both private/public
  139. ownaction_target = "{action_core $0}%K:%c$1%n ";
  140. # private action sent by others
  141. pvtaction = "%_ (*) $*%n ";
  142. pvtaction_query = "{action $*}";
  143. # public action sent by others
  144. pubaction = "{action $*}";
  145. ##
  146. ## other IRC events
  147. ##
  148. # whois
  149. whois = "%# $[8]0 : $1-";
  150. # notices
  151. ownnotice = "[%r$0%K(%R$1-%K)]%n ";
  152. notice = "%K-%M$*%K-%n ";
  153. pubnotice_channel = "%K:%m$*";
  154. pvtnotice_host = "%K(%m$*%K)";
  155. servernotice = "%g!$*%n ";
  156. # CTCPs
  157. ownctcp = "[%r$0%K(%R$1-%K)] ";
  158. ctcp = "%g$*%n";
  159. # wallops
  160. wallop = "%_$*%n: ";
  161. wallop_nick = "%n$*";
  162. wallop_action = "%_ * $*%n ";
  163. # netsplits
  164. netsplit = "%R$*%n";
  165. netjoin = "%C$*%n";
  166. # /names list
  167. names_prefix = "";
  168. names_nick = "[%_$0%_$1-] ";
  169. names_nick_op = "{names_nick $*}";
  170. names_nick_halfop = "{names_nick $*}";
  171. names_nick_voice = "{names_nick $*}";
  172. names_users = "[%g$*%n]";
  173. names_channel = "%G$*%n";
  174. # DCC
  175. dcc = "%g$*%n";
  176. dccfile = "%_$*%_";
  177. # DCC chat, own msg/action
  178. dccownmsg = "[%r$0%K($1-%K)%n] ";
  179. dccownnick = "%R$*%n";
  180. dccownquerynick = "%_$*%n";
  181. dccownaction = "{action $*}";
  182. dccownaction_target = "{action_core $0}%K:%c$1%n ";
  183. # DCC chat, others
  184. dccmsg = "[%G$1-%K(%g$0%K)%n] ";
  185. dccquerynick = "%G$*%n";
  186. dccaction = "%_ (*dcc*) $*%n %|";
  187. ##
  188. ## statusbar
  189. ##
  190. # default background for all statusbars. You can also give
  191. # the default foreground color for statusbar items.
  192. sb_background = "%4%w";
  193. # default backround for "default" statusbar group
  194. #sb_default_bg = "%4";
  195. # background for prompt / input line
  196. sb_prompt_bg = "%n";
  197. # background for info statusbar
  198. sb_info_bg = "%8";
  199. # background for topicbar (same default)
  200. #sb_topic_bg = "%4";
  201. # text at the beginning of statusbars. sb-item already puts
  202. # space there,so we don't use anything by default.
  203. sbstart = "";
  204. # text at the end of statusbars. Use space so that it's never
  205. # used for anything.
  206. sbend = " ";
  207. topicsbstart = "{sbstart $*}";
  208. topicsbend = "{sbend $*}";
  209. prompt = "[$*] ";
  210. sb = " %c[%n$*%c]%n";
  211. sbmode = "(%c+%n$*)";
  212. sbaway = " (%GzZzZ%n)";
  213. sbservertag = ":$0 (change with ^X)";
  214. sbnickmode = "$0";
  215. # activity in statusbar
  216. # ',' separator
  217. sb_act_sep = "%c$*";
  218. # normal text
  219. sb_act_text = "%c$*";
  220. # public message
  221. sb_act_msg = "%W$*";
  222. # hilight
  223. sb_act_hilight = "%M$*";
  224. # hilight with specified color, $0 = color, $1 = text
  225. sb_act_hilight_color = "$0$1-%n";
  226. };