BSDG33KCLUB

vintage irssi config theme

Feb 22nd, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.12 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. # set at the beginning before the {foo} template. If there wasn't the %g
  45. # at start, the normal behaviour of %n would occur. If you _really_ want
  46. # to use the terminal's default color, use %N.
  47.  
  48. #############################################################################
  49.  
  50. # default foreground color (%N) - -1 is the "default terminal color"
  51. default_color = "-1";
  52.  
  53. # print timestamp/servertag at the end of line, not at beginning
  54. info_eol = "false";
  55.  
  56. # these characters are automatically replaced with specified color
  57. # (dark grey by default)
  58. replaces = { "[]=" = "%g$*%n"; };
  59.  
  60. abstracts = {
  61. ##
  62. ## generic
  63. ##
  64.  
  65. indent = "11";
  66. # text to insert at the beginning of each non-message line
  67. # line_start = "%g//%n ";
  68. line_start = "";
  69.  
  70. # timestamp styling, nothing by default
  71. timestamp = "";
  72.  
  73. # any kind of text that needs hilighting, default is to bold
  74. hilight = "%_$*%_";
  75.  
  76. # any kind of error message, default is bright red
  77. error = "%R$*%n";
  78.  
  79. # channel name is printed
  80. channel = "%b$*%n";
  81.  
  82. # nick is printed
  83. nick = "%_$*%_";
  84.  
  85. # nick host is printed
  86. nickhost = "%g$*";
  87.  
  88. # server name is printed
  89. server = "%_$*%_";
  90.  
  91. # some kind of comment is printed
  92. comment = "%n(%b\"$*\"%n);";
  93.  
  94. # reason for something is printed (part, quit, kick, ..)
  95. reason = "{comment $*}";
  96.  
  97. # mode change is printed ([+o nick])
  98. mode = " {comment $0}";
  99.  
  100. ## channel specific messages
  101.  
  102. # highlighted nick/host is printed (joins)
  103. channick_hilight = "%g$*%N";
  104. chanhost_hilight = "{nickhost $*}";
  105.  
  106. # nick/host is printed (parts, quits, etc.)
  107. channick = "$*";
  108. chanhost = "{nickhost $*}";
  109.  
  110. # highlighted channel name is printed
  111. channelhilight = "%g$*%n";
  112.  
  113. # ban/ban exception/invite list mask is printed
  114. ban = "$*";
  115.  
  116. # # text to insert at the beginning of each non-message line
  117. # line_start = "%B-%n!%B-%n ";
  118. #
  119. # # timestamp styling, nothing by default
  120. # timestamp = "";
  121. #
  122. # # any kind of text that needs hilighting, default is to bold
  123. # hilight = "%_$*%_";
  124. #
  125. # # any kind of error message, default is bright red
  126. # error = "%R$*%n";
  127. #
  128. # # channel name is printed
  129. # channel = "%_$*%_";
  130. #
  131. # # nick is printed
  132. # nick = "%_$*%_";
  133. #
  134. # # nick host is printed
  135. # nickhost = "[$*]";
  136. #
  137. # # server name is printed
  138. # server = "%_$*%_";
  139. #
  140. # # some kind of comment is printed
  141. # comment = "[$*]";
  142. #
  143. # # reason for something is printed (part, quit, kick, ..)
  144. # reason = "{comment $*}";
  145. #
  146. # # mode change is printed ([+o nick])
  147. # mode = "{comment $*}";
  148. #
  149. # ##
  150. # ## channel specific messages
  151. # ##
  152. #
  153. # # highlighted nick/host is printed (joins)
  154. # channick_hilight = "%C$*%n";
  155. # chanhost_hilight = "{nickhost %c$*%n}";
  156. #
  157. # # nick/host is printed (parts, quits, etc.)
  158. # channick = "%c$*%n";
  159. # chanhost = "{nickhost $*}";
  160. #
  161. # # highlighted channel name is printed
  162. # channelhilight = "%c$*%n";
  163. #
  164. # # ban/ban exception/invite list mask is printed
  165. # ban = "%c$*%n";
  166.  
  167. ##
  168. ## messages
  169. ##
  170.  
  171.  
  172. # the basic styling of how to print message, $0 = nick mode, $1 = nick
  173. # msgnick = " $1 %N %|";
  174. msgnick = "$1 %k│%n %|";
  175. # msgnick = " $1 %K· %n";
  176.  
  177. # $0 = nick mode, $1 = nick
  178. ownmsgnick = "$1 %k│%n %|%r";
  179. # msgnick = " $1 %K· %n";
  180. ownnick = "%r$*%n";
  181.  
  182. # public message in channel, $0 = nick mode, $1 = nick
  183. pubmsgnick = "$1 %k│%n %|";
  184. pubnick = "%N$*%n";
  185.  
  186. # public highlighted message in channel
  187. pubmsghinick = "$1 %k│%n %|%r";
  188. #menick = "%R$*%n";
  189. menick = "%K$* %k│%n %|%b";
  190.  
  191. # channel name is printed with message
  192. msgchannel = "%K:%m$*%n";
  193.  
  194. # private message, $0 = nick, $1 = host
  195. privmsg = "$0=%b\"$1-\"%n ";
  196.  
  197. # private message from you, $0 = "msg", $1 = target nick
  198. ownprivmsg = "$0=%b\"$1-\"%n ";
  199.  
  200. # private message in query
  201. # privmsgnick = "{msgnick $*}";
  202. privmsgnick = "%|%K<%N %|";
  203.  
  204. # own private message in query
  205. #ownprivmsgnick = "{privmsgnick $*}";
  206. ownprivmsgnick = "%k>%N %|";
  207. #ownprivnick = "$*";
  208.  
  209. # # the basic styling of how to print message, $0 = nick mode, $1 = nick
  210. # msgnick = "%K<%n$0$1-%K>%n %|";
  211. #
  212. # # message from you is printed. "msgownnick" specifies the styling of the
  213. # # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
  214. # # whole line.
  215. #
  216. # # Example1: You want the message text to be green:
  217. # # ownmsgnick = "{msgnick $0 $1-}%g";
  218. # # Example2.1: You want < and > chars to be yellow:
  219. # # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
  220. # # (you'll also have to remove <> from replaces list above)
  221. # # Example2.2: But you still want to keep <> grey for other messages:
  222. # # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
  223. # # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
  224. # # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
  225. # # ownprivmsgnick = "%K{msgnick $*%K}%n";
  226. # # privmsgnick = "%K{msgnick %R$*%K}%n";
  227. #
  228. # # $0 = nick mode, $1 = nick
  229. # ownmsgnick = "{msgnick $0 $1-}";
  230. # ownnick = "%_$*%n";
  231. #
  232. # # public message in channel, $0 = nick mode, $1 = nick
  233. # pubmsgnick = "{msgnick $0 $1-}";
  234. # pubnick = "%N$*%n";
  235. #
  236. # # public message in channel meant for me, $0 = nick mode, $1 = nick
  237. # pubmsgmenick = "{msgnick $0 $1-}";
  238. # menick = "%Y$*%n";
  239. #
  240. # # public highlighted message in channel
  241. # # $0 = highlight color, $1 = nick mode, $2 = nick
  242. # pubmsghinick = "{msgnick $1 $0$2-%n}";
  243. #
  244. # # channel name is printed with message
  245. # msgchannel = "%K:%c$*%n";
  246. #
  247. # # private message, $0 = nick, $1 = host
  248. # privmsg = "[%R$0%K(%r$1-%K)%n] ";
  249. #
  250. # # private message from you, $0 = "msg", $1 = target nick
  251. # ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
  252. #
  253. # # own private message in query
  254. # ownprivmsgnick = "{msgnick $*}";
  255. # ownprivnick = "%_$*%n";
  256. #
  257. # # private message in query
  258. # privmsgnick = "{msgnick %R$*%n}";
  259.  
  260. ##
  261. ## Actions (/ME stuff)
  262. ##
  263.  
  264. # used internally by this theme
  265. action_core = "%_ * $*%n";
  266.  
  267. # generic one that's used by most actions
  268. action = "{action_core $*} ";
  269.  
  270. # own action, both private/public
  271. ownaction = "{action $*}";
  272.  
  273. # own action with target, both private/public
  274. ownaction_target = "{action_core $0}%K:%c$1%n ";
  275.  
  276. # private action sent by others
  277. pvtaction = "%_ (*) $*%n ";
  278. pvtaction_query = "{action $*}";
  279.  
  280. # public action sent by others
  281. pubaction = "{action $*}";
  282.  
  283.  
  284. ##
  285. ## other IRC events
  286. ##
  287.  
  288. # whois
  289. whois = "%# $[8]0 : $1-";
  290.  
  291. # notices
  292. ownnotice = "[%r$0%K(%R$1-%K)]%n ";
  293. notice = "%K-%M$*%K-%n ";
  294. pubnotice_channel = "%K:%m$*";
  295. pvtnotice_host = "%K(%m$*%K)";
  296. servernotice = "%g!$*%n ";
  297.  
  298. # CTCPs
  299. ownctcp = "[%r$0%K(%R$1-%K)] ";
  300. ctcp = "%g$*%n";
  301.  
  302. # wallops
  303. wallop = "%_$*%n: ";
  304. wallop_nick = "%n$*";
  305. wallop_action = "%_ * $*%n ";
  306.  
  307. # netsplits
  308. netsplit = "%R$*%n";
  309. netjoin = "%C$*%n";
  310.  
  311. # /names list
  312. names_prefix = "";
  313. names_nick = "[%_$0%_$1-] ";
  314. names_nick_op = "{names_nick $*}";
  315. names_nick_halfop = "{names_nick $*}";
  316. names_nick_voice = "{names_nick $*}";
  317. names_users = "[%g$*%n]";
  318. names_channel = "%G$*%n";
  319.  
  320. # DCC
  321. dcc = "%g$*%n";
  322. dccfile = "%_$*%_";
  323.  
  324. # DCC chat, own msg/action
  325. dccownmsg = "[%r$0%K($1-%K)%n] ";
  326. dccownnick = "%R$*%n";
  327. dccownquerynick = "%_$*%n";
  328. dccownaction = "{action $*}";
  329. dccownaction_target = "{action_core $0}%K:%c$1%n ";
  330.  
  331. # DCC chat, others
  332. dccmsg = "[%G$1-%K(%g$0%K)%n] ";
  333. dccquerynick = "%G$*%n";
  334. dccaction = "%_ (*dcc*) $*%n %|";
  335.  
  336. ##
  337. ## statusbar
  338. ##
  339.  
  340. # default background for all statusbars. You can also give
  341. # the default foreground color for statusbar items.
  342. sb_background = "%n";
  343.  
  344. # default backround for "default" statusbar group
  345. #sb_default_bg = "%4";
  346. # background for prompt / input line
  347. sb_prompt_bg = "%n";
  348. # background for info statusbar
  349. sb_info_bg = "%8";
  350. # background for topicbar (same default)
  351. #sb_topic_bg = "%4";
  352.  
  353. # text at the beginning of statusbars. sb-item already puts
  354. # space there,so we don't use anything by default.
  355. sbstart = "";
  356. # text at the end of statusbars. Use space so that it's never
  357. # used for anything.
  358. sbend = " ";
  359.  
  360. topicsbstart = "{sbstart $*}";
  361. topicsbend = "{sbend $*}";
  362.  
  363. prompt = " %r» ";
  364.  
  365. sb = "%n$*%n";
  366. sbmode = "(%c+%n$*)";
  367. sbaway = " (%GzZzZ%n)";
  368. sbservertag = ":$0 (change with ^X)";
  369. sbnickmode = "$0";
  370.  
  371. # activity in statusbar
  372.  
  373. # ',' separator
  374. sb_act_sep = "%c$*";
  375. # normal text
  376. sb_act_text = "%c$*";
  377. # public message
  378. sb_act_msg = "%W$*";
  379. # hilight
  380. sb_act_hilight = "%M$*";
  381. # hilight with specified color, $0 = color, $1 = text
  382. sb_act_hilight_color = "$0$1-%n";
  383. };
  384. formats = {
  385. # "fe-common/core" = { pubmsg = "%b<%w$2\00303$[-11]0%b> %K|%n $1"; };
  386. "fe-common/core" = {
  387. line_start = "{line_start}";
  388. line_start_irssi = "{line_start}";
  389.  
  390. join = "%R{channick $[-11]0}%n %k> %nhas joined ";
  391. part = "%R{channick $[-11]0}%n %k< %nhas left ";
  392. kick = "%R{nick $[-11]2}%k%| > kicked {channick_hilight $0}%n {reason $3}";
  393. quit = "%R{channick $[-11]0}%k%| < has quit ";
  394. # quit_once = "{channel $3} {channick $0} {chanhost $1} %Kquit {reason %C$2}";
  395.  
  396. nick_changed = "{nick $[-11]0} %G>%n {channick $1}";
  397. your_nick_changed = "%|%y you %G>%n {channick $1}";
  398.  
  399. pubmsg = "{pubmsgnick $2 {pubnick \00310$[-11]0}}$1";
  400.  
  401. own_msg = "{ownmsgnick $2 {ownnick $[-11]0}}$1%|";
  402. own_msg_channel = "{ownmsgnick $3 {ownnick $0}{msgchannel $1}}$2";
  403. own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-6]2}}$1";
  404.  
  405. pubmsg_me = "{menick $[-11]0}$1";
  406. pubmsg_me_channel = "{pubmsghinick $3 {menick $[-11]0}{msgchannel $1}}$2";
  407.  
  408. pubmsg_hilight = "{pubmsghinick $3 {menick $[-11]1}} %K│ %R$2";
  409. pubmsg_hilight_channel = "{pubmsghinick $0 $[-11]$4{msgchannel $2}}$3";
  410.  
  411. pubmsg_channel = "{pubmsgnick {pubnick %G$[-13]0}$2}$1";
  412. msg_private_query = "{privmsgnick $[-31]0}$2";
  413. new_topic = "%B{channick $[-11]0}%n %y> %|%nchanged the topic to {channick $2}";
  414.  
  415. endofnames = "%Y!%K! names %Y!%m Total: {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal%n";
  416. };
  417. "fe-common/irc" = {
  418. server_chanmode_change = " mode %y>%n {channick $1}";
  419. usermode_change = "%B%|{nick $[-11]1} %y> %nreceived %r{mode $0}";
  420. topic = " %rtopic > %|%B$1";
  421. topic_info = "%B{nick $[-11]0}%n %y> %nset the topic";
  422. channel_created = "%r{$channel $[-11]0}%n %y> %ncreated on %r$1";
  423. channel_mode = "%B{channick $[-11]2}%n %y> %nset {$channelhilight $0} $1";
  424. chanmode_change = "%B{channick $[-11]2}%n %y> %nset mode %r$1";
  425. channel_synced = "%r{$channel $[-11]0}%n %y> %nsynced in %C{hilight $1} %nseconds";
  426. own_action = "{ownaction $[-11]0} $1";
  427. action_private = "{pvtaction $[-11]0}$1";
  428. action_private_query = "{pvtaction_query $[-11]0} $2";
  429. action_public = "{pubaction $[-11]0}$1";
  430. };
  431. };
Advertisement
Add Comment
Please, Sign In to add comment