config 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. servers = (
  2. { address = "irc.ubuntu.com"; chatnet = "Ubuntu"; port = "8001"; },
  3. { address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; },
  4. { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
  5. { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
  6. {
  7. address = "irc.undernet.org";
  8. chatnet = "Undernet";
  9. port = "6667";
  10. },
  11. { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
  12. {
  13. address = "irc.quakenet.org";
  14. chatnet = "QuakeNet";
  15. port = "6667";
  16. },
  17. { address = "irc.oftc.net"; chatnet = "OFTC"; port = "6667"; },
  18. {
  19. address = "irc.gamesurge.net";
  20. chatnet = "GameSurge";
  21. port = "6667";
  22. },
  23. { address = "irc.webchat.org"; chatnet = "WebChat"; port = "6667"; },
  24. { address = "irc.rizon.net"; chatnet = "Rizon"; port = "6667"; },
  25. { address = "irc.link-net.org"; chatnet = "LinkNet"; port = "6667"; },
  26. { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
  27. {
  28. address = "irc.freenode.net; chatnet = ";
  29. Freenode = "; port = ; }\012 use_ssl = ";
  30. yes = ";\012 }\012);\012\012chatnets = {\012 IRCnet = {\012 type = ";
  31. no = ";\012 autoconnect = ";
  32. IRC = "; };\012};\012\012channels = (\012 { name = ";
  33. 4 = ";\012 max_msgs = ";
  34. 5 = ";\012 };\012 EFNet = { \012 type = ";
  35. 3 = ";\012 max_whois = ";
  36. 1 = ";\012 max_msgs = ";
  37. 30 = ";\012 };\012 SILC = { type = ";
  38. SILC = "; };\012 Ubuntu = { type = ";
  39. #irssi"; chatnet = "ircnet"; autojoin = "No"; },
  40. name = "silc";
  41. chatnet = "silc";
  42. autojoin = "No";
  43. },
  44. {
  45. address = "irc.freenode.net";
  46. chatnet = "Freenode";
  47. port = "";
  48. use_ssl = "yes";
  49. ssl_verify = "no";
  50. autoconnect = "yes";
  51. },
  52. {
  53. address = "irc.libera.chat";
  54. chatnet = "LiberaChat";
  55. port = "";
  56. # 6697
  57. use_ssl = "yes";
  58. ssl_verify = "no";
  59. autoconnect = "yes";
  60. },
  61. {
  62. address = "irc.insomnia247.nl";
  63. chatnet = "Insomnia247";
  64. port = "";
  65. use_ssl = "yes";
  66. ssl_verify = "no";
  67. autoconnect = "no";
  68. }
  69. );
  70. aliases = {
  71. J = "join";
  72. WJOIN = "join -window";
  73. WQUERY = "query -window";
  74. LEAVE = "part";
  75. BYE = "quit";
  76. EXIT = "quit";
  77. SIGNOFF = "quit";
  78. DESCRIBE = "action";
  79. DATE = "time";
  80. HOST = "userhost";
  81. LAST = "lastlog";
  82. SAY = "msg *";
  83. WI = "whois";
  84. WII = "whois $0 $0";
  85. WW = "whowas";
  86. W = "who";
  87. N = "names";
  88. M = "msg";
  89. T = "topic";
  90. C = "clear";
  91. CL = "clear";
  92. K = "kick";
  93. KB = "kickban";
  94. KN = "knockout";
  95. BANS = "ban";
  96. B = "ban";
  97. MUB = "unban *";
  98. UB = "unban";
  99. IG = "ignore";
  100. UNIG = "unignore";
  101. SB = "scrollback";
  102. UMODE = "mode $N";
  103. WC = "window close";
  104. WN = "window new hide";
  105. SV = "say Irssi $J ($V) - http://irssi.org/";
  106. GOTO = "sb goto";
  107. CHAT = "dcc chat";
  108. RUN = "SCRIPT LOAD";
  109. CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
  110. SBAR = "STATUSBAR";
  111. INVITELIST = "mode $C +I";
  112. Q = "QUERY";
  113. "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
  114. EXEMPTLIST = "mode $C +e";
  115. ATAG = "WINDOW SERVER";
  116. UNSET = "set -clear";
  117. RESET = "set -default";
  118. };
  119. statusbar = {
  120. # formats:
  121. # when using {templates}, the template is shown only if it's argument isn't
  122. # empty unless no argument is given. for example {sb} is printed always,
  123. # but {sb $T} is printed only if $T isn't empty.
  124. items = {
  125. # start/end text in statusbars
  126. barstart = "{sbstart}";
  127. barend = "{sbend}";
  128. topicbarstart = "{topicsbstart}";
  129. topicbarend = "{topicsbend}";
  130. # treated "normally", you could change the time/user name to whatever
  131. time = "{sb $Z}";
  132. user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
  133. # treated specially .. window is printed with non-empty windows,
  134. # window_empty is printed with empty windows
  135. window = "{sb $winref:$itemname{sbmode $M}}";
  136. window_empty = "{sb $winref{sbservertag $tag}}";
  137. prompt = "{prompt $[.15]itemname}";
  138. prompt_empty = "{prompt $winname}";
  139. topic = " $topic";
  140. topic_empty = " Irssi v$J - http://irssi.org/help/";
  141. # all of these treated specially, they're only displayed when needed
  142. lag = "{sb Lag: $0-}";
  143. act = "{sb Act: $0-}";
  144. more = "-- more --";
  145. };
  146. # there's two type of statusbars. root statusbars are either at the top
  147. # of the screen or at the bottom of the screen. window statusbars are at
  148. # the top/bottom of each split window in screen.
  149. default = {
  150. # the "default statusbar" to be displayed at the bottom of the window.
  151. # contains all the normal items.
  152. window = {
  153. disabled = "no";
  154. # window, root
  155. type = "window";
  156. # top, bottom
  157. placement = "bottom";
  158. # number
  159. position = "1";
  160. # active, inactive, always
  161. visible = "active";
  162. # list of items in statusbar in the display order
  163. items = {
  164. barstart = { priority = "100"; };
  165. time = { };
  166. user = { };
  167. window = { };
  168. window_empty = { };
  169. lag = { priority = "-1"; };
  170. act = { priority = "10"; };
  171. more = { priority = "-1"; alignment = "right"; };
  172. barend = { priority = "100"; alignment = "right"; };
  173. };
  174. };
  175. # statusbar to use in inactive split windows
  176. window_inact = {
  177. type = "window";
  178. placement = "bottom";
  179. position = "1";
  180. visible = "inactive";
  181. items = {
  182. barstart = { priority = "100"; };
  183. window = { };
  184. window_empty = { };
  185. more = { priority = "-1"; alignment = "right"; };
  186. barend = { priority = "100"; alignment = "right"; };
  187. };
  188. };
  189. # we treat input line as yet another statusbar :) It's possible to
  190. # add other items before or after the input line item.
  191. prompt = {
  192. type = "root";
  193. placement = "bottom";
  194. # we want to be at the bottom always
  195. position = "100";
  196. visible = "always";
  197. items = {
  198. prompt = { priority = "-1"; };
  199. prompt_empty = { priority = "-1"; };
  200. # treated specially, this is the real input line.
  201. input = { priority = "10"; };
  202. };
  203. };
  204. # topicbar
  205. topic = {
  206. type = "root";
  207. placement = "top";
  208. position = "1";
  209. visible = "always";
  210. items = {
  211. topicbarstart = { priority = "100"; };
  212. topic = { };
  213. topic_empty = { };
  214. topicbarend = { priority = "100"; alignment = "right"; };
  215. };
  216. };
  217. add = { };
  218. wl0 = {
  219. items = {
  220. barstar = { priority = "100"; };
  221. wlstat0 = { };
  222. barend = { priority = "100"; alignment = "right"; };
  223. };
  224. };
  225. };
  226. };
  227. settings = {
  228. core = {
  229. real_name = "Mark Rice";
  230. user_name = "archer72";
  231. nick = "archer72";
  232. rawlog_lines = "5000";
  233. };
  234. "fe-text" = { actlist_sort = "refnum"; };
  235. "fe-common/core" = {
  236. use_status_window = "no";
  237. autocreate_windows = "no";
  238. autoclose_windows = "no";
  239. reuse_unused_windows = "yes";
  240. theme = "~/.irssi/default.theme";
  241. autolog = "yes";
  242. autolog_path = "/var/log/irclogs/$tag/$0.log";
  243. autolog_colors = "no";
  244. };
  245. "perl/core/scripts" = { nicklist_automode = "SCREEN"; };
  246. };
  247. chatnets = {
  248. Ubuntu = { type = "IRC"; };
  249. IRCnet = { type = "IRC"; };
  250. EFNet = { type = "IRC"; };
  251. Undernet = { type = "IRC"; };
  252. DALnet = { type = "IRC"; };
  253. QuakeNet = { type = "IRC"; };
  254. OFTC = { type = "IRC"; };
  255. GameSurge = { type = "IRC"; };
  256. WebChat = { type = "IRC"; };
  257. Rizon = { type = "IRC"; };
  258. LinkNet = { type = "IRC"; };
  259. SILC = { type = "IRC"; };
  260. Freenode = { type = "IRC"; };
  261. Insomnia247 = { type = "IRC"; };
  262. LiberaChat = { type = "IRC"; };
  263. };
  264. channels = (
  265. { name = "#urandom"; chatnet = "LiberaChat"; autojoin = "yes"; },
  266. { name = "#oggcastplanet"; chatnet = "LiberaChat"; autojoin = "no"; },
  267. { name = "#archlinux"; chatnet = "LiberaChat"; autojoin = "no"; },
  268. { name = "#suse"; chatnet = "LiberaChat"; autojoin = "no"; },
  269. { name = "#openSUSE-chat"; chatnet = "LiberaChat"; autojoin = "no"; },
  270. {
  271. name = "#archlinux-offtopic";
  272. chatnet = "LiberaChat";
  273. autojoin = "yes";
  274. },
  275. { name = "#irssi"; chatnet = "LiberaChat"; autojoin = "no"; }
  276. );
  277. ignores = (
  278. {
  279. mask = "ALL";
  280. level = "CRAP MSGS NOTICES SNOTES CTCPS JOINS PARTS QUITS KICKS MODES TOPICS WALLOPS INVITES NICKS DCC DCCMSGS CLIENTNOTICES CLIENTCRAP CLIENTERRORS HILIGHTS";
  281. channels = ( "#archlinux" );
  282. },
  283. { mask = "channel"; level = "ALL"; }
  284. );
  285. keyboard = (
  286. # { key = "menu-1"; id = "change_window"; data = "1"; },
  287. # { key = "super-1"; id = "change_window"; data = "1"; },
  288. # { key = "Super-1"; id = "change_window"; data = "1"; }
  289. );
  290. logs = { };
  291. windows = {
  292. 1 = {
  293. items = (
  294. {
  295. type = "CHANNEL";
  296. chat_type = "IRC";
  297. name = "#oggcastplanet";
  298. tag = "LiberaChat";
  299. }
  300. );
  301. };
  302. 1 = {
  303. items = (
  304. {
  305. type = "CHANNEL";
  306. chat_type = "IRC";
  307. name = "#urandom";
  308. tag = "LiberaChat";
  309. }
  310. );
  311. };
  312. # 2 = { };
  313. # 3 = {
  314. # items = (
  315. # {
  316. # type = "CHANNEL";
  317. # chat_type = "IRC";
  318. # name = "#suse";
  319. # tag = "LiberaChat";
  320. # }
  321. # );
  322. # };
  323. # 4 = { };
  324. # 5 = {
  325. # items = (
  326. # {
  327. # type = "CHANNEL";
  328. # chat_type = "IRC";
  329. # name = "#openSUSE-chat";
  330. # tag = "LiberaChat";
  331. # }
  332. # );
  333. # };
  334. };
  335. mainwindows = { 1 = { first_line = "1"; lines = "25"; }; };