Simple image host.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mono.theme 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. # {{{
  2. #
  3. # When testing changes, the easiest way to reload the theme is with /RELOAD.
  4. # This reloads the configuration file too, so if you did any changes remember
  5. # to /SAVE it first. Remember also that /SAVE overwrites the theme file with
  6. # old data so keep backups :)
  7. # TEMPLATES:
  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. # Now the /FORMATs don't have any colors in them, and they also have very
  14. # little other styling. Most of the stuff you need to change is in this
  15. # theme file. If you can't change something here, you can always go back
  16. # to change the /FORMATs directly, they're also saved in these .theme files.
  17. # So .. the templates. They're those {blahblah} parts you see all over the
  18. # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
  19. # When irssi sees this kind of text, it goes to find "name" from abstracts
  20. # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
  21. # can have more parameters of course). Templates can have subtemplates.
  22. # Here's a small example:
  23. # /FORMAT format hello {colorify {underline world}}
  24. # abstracts = { colorify = "%W$0-%n"; underline = "%U$0-%U"; }
  25. # When irssi expands the templates in "format", the final string would be:
  26. # hello %W%Uworld%U%n
  27. # ie. underlined bright green "world" text.
  28. # and why "$0-", why not "$0"? $0 would only mean the first parameter,
  29. # $0- means all the parameters. With {underline hello world} you'd really
  30. # want to underline both of the words, not just the hello (and world would
  31. # actually be removed entirely).
  32. # COLORS:
  33. # You can find definitions for the color format codes in docs/formats.txt.
  34. # There's one difference here though. %n format. Normally it means the
  35. # default color of the terminal (white mostly), but here it means the
  36. # "reset color back to the one it was in higher template". For example
  37. # if there was /FORMAT test %w{foo}bar, and foo = "%W$0%n", irssi would
  38. # print yellow "foo" (as set with %W) but "bar" would be green, which was
  39. # set at the beginning before the {foo} template. If there wasn't the %w
  40. # at start, the normal behaviour of %n would occur. If you _really_ want
  41. # to use the terminal's default color, use %N.
  42. # }}}
  43. #############################################################################
  44. #
  45. #
  46. # default foreground color (%N) - -1 is the "default terminal color"
  47. default_color = "-1";
  48. # print timestamp/servertag at the end of line, not at beginning
  49. info_eol = "true";
  50. # these characters are automatically replaced with specified color
  51. # (dark grey by default)
  52. replaces = { "[]" = "%w$*%n"; };
  53. abstracts = {
  54. # {{{
  55. ############# generic ###############################
  56. indent_default = "0";
  57. # text to insert at the beginning of each non-message line
  58. # line_start = "%w//%n ";
  59. line_start = "";
  60. # timestamp styling, nothing by default
  61. timestamp = "%K -- $0%n";
  62. # any kind of text that needs hilighting, default is to bold
  63. hilight = "%_$*%_";
  64. # any kind of error message, default is bright red
  65. error = "%K$*%n";
  66. # channel name is printed
  67. channel = "%N$*%n";
  68. # nick is printed
  69. nick = "%_$*%_";
  70. # nick host is printed
  71. nickhost = "$*";
  72. # server name is printed
  73. server = "%K$*%N";
  74. # some kind of comment is printed
  75. comment = "%n(%K$*%n)";
  76. # reason for something is printed (part, quit, kick, ..)
  77. reason = "{comment $*}";
  78. # mode change is printed ([+o nick])
  79. mode = "{comment $*}";
  80. ## channel specific messages
  81. # highlighted nick/host is printed (joins)
  82. channick_hilight = "%K$*%N";
  83. chanhost_hilight = "{nickhost $*}";
  84. # nick/host is printed (parts, quits, etc.)
  85. channick = "$*";
  86. chanhost = "{nickhost $*}";
  87. # highlighted channel name is printed
  88. channelhilight = "%K$*%n";
  89. # ban/ban exception/invite list mask is printed
  90. ban = "$*";
  91. ########### messages #################################
  92. # the basic styling of how to print message, $0 = nick mode, $1 = nick
  93. msgnick = "%W$0 %n%|";
  94. # $0 = nick mode, $1 = nick
  95. ownnick = "%W$*%n";
  96. # public message in channel, $0 = nick mode, $1 = nick
  97. pubnick = "%K$*%n";
  98. # public highlighted message in channel
  99. menick = "%K$*%n";
  100. # channel name is printed with message
  101. msgchannel = "%K $*%n";
  102. # private message, $0 = nick, $1 = host
  103. privmsg = "$0=%w\"$1-\"%n ";
  104. # private message from you, $0 = "msg", $1 = target nick
  105. ownprivmsg = "$0=%K\"$1-\"%n ";
  106. ########## Actions (/ME stuff) #########################
  107. # generic one that's used by most actions
  108. action = " $* %|";
  109. # own action, both private/public
  110. ownaction = "{action $*}";
  111. # own action with target, both private/public
  112. ownaction_target = "{action $*}";
  113. # private action sent by others
  114. pvtaction = "{action $*}";
  115. pvtaction_query = "{action $*}";
  116. # public action sent by others
  117. pubaction = "{action $*}";
  118. ########## other IRC events #############################
  119. # whois
  120. whois = "%K whois $[-8]0 %n- $1";
  121. # notices
  122. ownnotice = "%NNote n =%K new%n $0 ($1-) ";
  123. notice = "%K$*%n ";
  124. pubnotice_channel = " %N($*)";
  125. pvtnotice_host = " %N($*)";
  126. servernotice = " %N($*)";
  127. # CTCPs
  128. ownctcp = "%NCTCP c =%K new%n $0 ($1-) ";
  129. ctcp = "%N$*%n";
  130. # wallops
  131. wallop = "%K$*%n ";
  132. wallop_nick = "%n$*";
  133. wallop_action = "%K * $*%n ";
  134. # netsplits
  135. netsplit = "%K split - \"$*\"%n";
  136. netjoin = "%K split + \"$*\"%n";
  137. # /names list
  138. names_users = "%K nicknames list ────";
  139. names_nick = "%_$2$0%_%n$1- ";
  140. names_nick_op = "{names_nick $*%K }";
  141. names_nick_halfop = "{names_nick $* %W}";
  142. names_nick_voice = "{names_nick $*%K }";
  143. names_prefix = "%K names %n$1";
  144. names_channel = "\"%w$*\"%n";
  145. # /whois command
  146. # DCC
  147. dcc = "%w$*%n";
  148. dccfile = "%_$*%_";
  149. # DCC chat, own msg/action
  150. dccownmsg = "%K /* $0 ($1-) */";
  151. dccownnick = "$*%n";
  152. dccownquerynick = "$*%n";
  153. dccownaction = "{a┌tion $*}";
  154. dccownaction_target = "{action $*}";
  155. # DCC chat, others
  156. dccmsg = "%K/* $1- ($0) */";
  157. dccquerynick = "%K$*%n";
  158. dccaction = "{action $*}";
  159. ######## statusbar/topicbar ############################
  160. # default background for all statusbars. You can also give
  161. # the default foreground color for statusbar items.
  162. sb_background = "%n";
  163. # default background for "default" statusbar group
  164. sb_prompt_bg = "%n";
  165. #prompt = "%K$Z %W> ";
  166. #prompt = "%K └─ ";
  167. prompt = "%W> %n";
  168. prompt_empty = "%W] %n";
  169. sb = "$*";
  170. sbaway = "%K(%WzzZz%K) %n";
  171. sb_act_sep = " ";
  172. sb_act_text = "%n$*";
  173. sb_act_msg = "%w/%K$*%n";
  174. sb_act_hilight = "%W+%K$*%n";
  175. sb_act_hilight_color = "%W+%K$1-%n";
  176. };
  177. # }}}
  178. ########################################################
  179. formats = {
  180. # {{{
  181. "fe-common/core" = {
  182. # {{{
  183. line_start = "{line_start}";
  184. line_start_irssi = "{line_start}";
  185. join = "%K + {channick $0}: {nickhost $1}";
  186. part = "%K - {channick $0}: {reason $3}";
  187. quit = "%K - {channick $0}: {reason $2}";
  188. kick = "%K < {channick $0}: {reason $3}";
  189. nick_changed = "%K : {channick $0} > {channick $1}";
  190. your_nick_changed = "%K : {channick $0} > {channick $1}";
  191. pubmsg = "{msgnick $[-8]0}$1";
  192. own_msg = "{msgnick $[-8]0}$1";
  193. own_msg_channel = "{msgnick $[-8]0}{msgchannel $1}}$2";
  194. own_msg_private_query = " $1";
  195. pubmsg_me = "{msgnick $[-8]0}%W$1";
  196. pubmsg_me_channel = "{msgnick $[-8]0}{msgchannel $1}}$2";
  197. pubmsg_hilight = "{msgnick $[-8]1}%W$2";
  198. pubmsg_hilight_channel = "{msgnick $[-8]1}%W$4{msgchannel $2}$3";
  199. pubmsg_channel = "{msgnick $[-8]0}$1";
  200. msg_private_query = "%W> $2";
  201. new_topic = "{msgnick $[-8]1}%Ktopic '$2' -- $0";
  202. endofnames = "%K end of nick list ──";
  203. };
  204. # }}}
  205. "fe-common/irc" = {
  206. # {{{
  207. chanmode_change = "%K : {channick $1}";
  208. server_chanmode_change = "%K : {channick $1}";
  209. whois = "%K who is $0 ? ─────";
  210. end_of_whois = "%K end of whois ─────";
  211. own_action = "{action %W$0}$1";
  212. action_private = "{action %W$0}$1";
  213. action_private_query = "{action %W$0}$2";
  214. action_public = "{action %W$0}$1";
  215. topic = "{msgnick%K $[-8]0}topic '$*'";
  216. topic_info = "{msgnick%K $[-8]C}set by $0 ($1)";
  217. };
  218. # }}}
  219. };
  220. # }}}