[c5c522c] | 1 | servers = ( |
---|
| 2 | { address = "irc.stealth.net"; chatnet = "IRCnet"; port = "6668"; }, |
---|
| 3 | { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; }, |
---|
| 4 | { |
---|
| 5 | address = "irc.undernet.org"; |
---|
| 6 | chatnet = "Undernet"; |
---|
| 7 | port = "6667"; |
---|
| 8 | }, |
---|
| 9 | { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; }, |
---|
| 10 | { address = "irc.quakenet.org"; chatnet = "QuakeNet"; port = "6667"; }, |
---|
| 11 | { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; } |
---|
| 12 | { address = "irc.freenode.net"; chatnet = "Freenode"; port = "6667"; autoconnect = "Yes"; } |
---|
| 13 | ); |
---|
| 14 | |
---|
| 15 | chatnets = { |
---|
| 16 | IRCnet = { |
---|
| 17 | type = "IRC"; |
---|
| 18 | max_kicks = "4"; |
---|
| 19 | max_msgs = "5"; |
---|
| 20 | max_whois = "4"; |
---|
| 21 | max_query_chans = "5"; |
---|
| 22 | }; |
---|
| 23 | Freenode = { |
---|
| 24 | type = "IRC"; |
---|
| 25 | max_kicks = "4"; |
---|
| 26 | max_msgs = "5"; |
---|
| 27 | max_whois = "4"; |
---|
| 28 | max_query_chans = "5"; |
---|
| 29 | }; |
---|
| 30 | EFNet = { |
---|
| 31 | type = "IRC"; |
---|
| 32 | max_kicks = "4"; |
---|
| 33 | max_msgs = "3"; |
---|
| 34 | max_whois = "1"; |
---|
| 35 | }; |
---|
| 36 | Undernet = { |
---|
| 37 | type = "IRC"; |
---|
| 38 | max_kicks = "1"; |
---|
| 39 | max_msgs = "3"; |
---|
| 40 | max_whois = "30"; |
---|
| 41 | }; |
---|
| 42 | DALnet = { |
---|
| 43 | type = "IRC"; |
---|
| 44 | max_kicks = "4"; |
---|
| 45 | max_msgs = "3"; |
---|
| 46 | max_whois = "30"; |
---|
| 47 | }; |
---|
| 48 | QuakeNet = { |
---|
| 49 | type = "IRC"; |
---|
| 50 | max_kicks = "1"; |
---|
| 51 | max_msgs = "3"; |
---|
| 52 | max_whois = "30"; |
---|
| 53 | }; |
---|
| 54 | SILC = { type = "SILC"; }; |
---|
| 55 | }; |
---|
| 56 | |
---|
| 57 | channels = ( |
---|
| 58 | { name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; }, |
---|
| 59 | { name = "silc"; chatnet = "silc"; autojoin = "No"; }, |
---|
| 60 | { name = "#syn-3"; chatnet = "Freenode" ; autojoin = "Yes"; } |
---|
| 61 | ); |
---|
| 62 | |
---|
| 63 | aliases = { |
---|
| 64 | J = "join"; |
---|
| 65 | WJOIN = "join -window"; |
---|
| 66 | WQUERY = "query -window"; |
---|
| 67 | LEAVE = "part"; |
---|
| 68 | BYE = "quit"; |
---|
| 69 | EXIT = "quit"; |
---|
| 70 | SIGNOFF = "quit"; |
---|
| 71 | DESCRIBE = "action"; |
---|
| 72 | DATE = "time"; |
---|
| 73 | HOST = "userhost"; |
---|
| 74 | LAST = "lastlog"; |
---|
| 75 | SAY = "msg *"; |
---|
| 76 | WI = "whois"; |
---|
| 77 | WII = "whois $0 $0"; |
---|
| 78 | WW = "whowas"; |
---|
| 79 | W = "who"; |
---|
| 80 | N = "names"; |
---|
| 81 | M = "msg"; |
---|
| 82 | T = "topic"; |
---|
| 83 | C = "clear"; |
---|
| 84 | CL = "clear"; |
---|
| 85 | K = "kick"; |
---|
| 86 | KB = "kickban"; |
---|
| 87 | KN = "knockout"; |
---|
| 88 | BANS = "ban"; |
---|
| 89 | B = "ban"; |
---|
| 90 | MUB = "unban *"; |
---|
| 91 | UB = "unban"; |
---|
| 92 | IG = "ignore"; |
---|
| 93 | UNIG = "unignore"; |
---|
| 94 | SB = "scrollback"; |
---|
| 95 | UMODE = "mode $N"; |
---|
| 96 | WC = "window close"; |
---|
| 97 | WN = "window new hide"; |
---|
| 98 | SV = "say Irssi $J ($V) - http://irssi.org/"; |
---|
| 99 | GOTO = "sb goto"; |
---|
| 100 | CHAT = "dcc chat"; |
---|
| 101 | RUN = "SCRIPT LOAD"; |
---|
| 102 | CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi"; |
---|
| 103 | SBAR = "STATUSBAR"; |
---|
| 104 | INVITELIST = "mode $C +I"; |
---|
| 105 | Q = "QUERY"; |
---|
| 106 | "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"; |
---|
| 107 | EXEMPTLIST = "mode $C +e"; |
---|
| 108 | ATAG = "WINDOW SERVER"; |
---|
| 109 | }; |
---|
| 110 | |
---|
| 111 | statusbar = { |
---|
| 112 | # formats: |
---|
| 113 | # when using {templates}, the template is shown only if it's argument isn't |
---|
| 114 | # empty unless no argument is given. for example {sb} is printed always, |
---|
| 115 | # but {sb $T} is printed only if $T isn't empty. |
---|
| 116 | |
---|
| 117 | items = { |
---|
| 118 | # start/end text in statusbars |
---|
| 119 | barstart = "{sbstart}"; |
---|
| 120 | barend = "{sbend}"; |
---|
| 121 | |
---|
| 122 | topicbarstart = "{topicsbstart}"; |
---|
| 123 | topicbarend = "{topicsbend}"; |
---|
| 124 | |
---|
| 125 | # treated "normally", you could change the time/user name to whatever |
---|
| 126 | time = "{sb $Z}"; |
---|
| 127 | user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}"; |
---|
| 128 | |
---|
| 129 | # treated specially .. window is printed with non-empty windows, |
---|
| 130 | # window_empty is printed with empty windows |
---|
| 131 | window = "{sb $winref:$itemname{sbmode $M}}"; |
---|
| 132 | window_empty = "{sb $winref{sbservertag $tag}}"; |
---|
| 133 | prompt = "{prompt $[.15]itemname}"; |
---|
| 134 | prompt_empty = "{prompt $winname}"; |
---|
| 135 | topic = " $topic"; |
---|
| 136 | topic_empty = " Irssi v$J - http://irssi.org/help/"; |
---|
| 137 | |
---|
| 138 | # all of these treated specially, they're only displayed when needed |
---|
| 139 | lag = "{sb Lag: $0-}"; |
---|
| 140 | act = "{sb Act: $0-}"; |
---|
| 141 | more = "-- more --"; |
---|
| 142 | }; |
---|
| 143 | |
---|
| 144 | # there's two type of statusbars. root statusbars are either at the top |
---|
| 145 | # of the screen or at the bottom of the screen. window statusbars are at |
---|
| 146 | # the top/bottom of each split window in screen. |
---|
| 147 | default = { |
---|
| 148 | # the "default statusbar" to be displayed at the bottom of the window. |
---|
| 149 | # contains all the normal items. |
---|
| 150 | window = { |
---|
| 151 | disabled = "no"; |
---|
| 152 | |
---|
| 153 | # window, root |
---|
| 154 | type = "window"; |
---|
| 155 | # top, bottom |
---|
| 156 | placement = "bottom"; |
---|
| 157 | # number |
---|
| 158 | position = "1"; |
---|
| 159 | # active, inactive, always |
---|
| 160 | visible = "active"; |
---|
| 161 | |
---|
| 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 | |
---|
| 176 | # statusbar to use in inactive split windows |
---|
| 177 | window_inact = { |
---|
| 178 | type = "window"; |
---|
| 179 | placement = "bottom"; |
---|
| 180 | position = "1"; |
---|
| 181 | visible = "inactive"; |
---|
| 182 | items = { |
---|
| 183 | barstart = { priority = "100"; }; |
---|
| 184 | window = { }; |
---|
| 185 | window_empty = { }; |
---|
| 186 | more = { priority = "-1"; alignment = "right"; }; |
---|
| 187 | barend = { priority = "100"; alignment = "right"; }; |
---|
| 188 | }; |
---|
| 189 | }; |
---|
| 190 | |
---|
| 191 | # we treat input line as yet another statusbar :) It's possible to |
---|
| 192 | # add other items before or after the input line item. |
---|
| 193 | prompt = { |
---|
| 194 | type = "root"; |
---|
| 195 | placement = "bottom"; |
---|
| 196 | # we want to be at the bottom always |
---|
| 197 | position = "100"; |
---|
| 198 | visible = "always"; |
---|
| 199 | items = { |
---|
| 200 | prompt = { priority = "-1"; }; |
---|
| 201 | prompt_empty = { priority = "-1"; }; |
---|
| 202 | # treated specially, this is the real input line. |
---|
| 203 | input = { priority = "10"; }; |
---|
| 204 | }; |
---|
| 205 | }; |
---|
| 206 | |
---|
| 207 | # topicbar |
---|
| 208 | topic = { |
---|
| 209 | type = "root"; |
---|
| 210 | placement = "top"; |
---|
| 211 | position = "1"; |
---|
| 212 | visible = "always"; |
---|
| 213 | items = { |
---|
| 214 | topicbarstart = { priority = "100"; }; |
---|
| 215 | topic = { }; |
---|
| 216 | topic_empty = { }; |
---|
| 217 | topicbarend = { priority = "100"; alignment = "right"; }; |
---|
| 218 | }; |
---|
| 219 | }; |
---|
| 220 | }; |
---|
| 221 | }; |
---|
| 222 | |
---|
| 223 | settings = { |
---|
| 224 | "fe-text" = { term_force_colors = "yes"; }; |
---|
| 225 | }; |
---|