Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created July 26, 2010 00:49
Show Gist options
  • Save ingydotnet/490044 to your computer and use it in GitHub Desktop.
Save ingydotnet/490044 to your computer and use it in GitHub Desktop.
servers = (
{
address = "irc.freenode.net";
chatnet = "freenode";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
},
{
address = "irc.perl.org";
chatnet = "magnet";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
}
);
chatnets = {
freenode = { type = "IRC"; };
magnet = { type = "IRC"; };
};
channels = (
{ name = "#"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#perl"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#p5p"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#yaml"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#perl"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#perl6"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#acmeism"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#cdent"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#testml"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#jsync"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#*doc"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#stardoc"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#pegex"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#jemplate"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#pquery"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#cogbase"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#coglife"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#kwiki"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#wikiwyg"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#toolchain"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#spug"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#pdx.pm"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#london.pm"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#amsterdam.pm"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#tpf"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#tt"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#moose"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#moose-dev"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#perl5i"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#padre"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#parrot"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#catalyst"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#cpantesters"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#cpantesters-discuss"; chatnet = "magnet"; autojoin = "yes"; },
{ name = "#github"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#python"; chatnet = "freenode"; autojoin = "yes"; },
);
windows = {
1 = { immortal = "yes"; name = "(status)"; level = "ALL"; };
2 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#"; tag = "magnet"; }); };
3 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#perl"; tag = "magnet"; }); };
4 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#yaml"; tag = "freenode"; }); };
5 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#perl"; tag = "freenode"; }); };
6 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#perl6"; tag = "freenode"; }); };
7 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#acmeism"; tag = "freenode"; }); };
8 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#testml"; tag = "freenode"; }); };
9 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#jsync"; tag = "freenode"; }); };
10 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#pegex"; tag = "freenode"; }); };
11 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#cdent"; tag = "freenode"; }); };
12 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#*doc"; tag = "freenode"; }); };
13 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#jemplate"; tag = "freenode"; }); };
14 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#pquery"; tag = "freenode"; }); };
15 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#cogbase"; tag = "freenode"; }); };
16 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#coglife"; tag = "freenode"; }); };
17 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#kwiki"; tag = "freenode"; }); };
18 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#wikiwyg"; tag = "freenode"; }); };
19 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#tor-dev"; tag = "oftc"; }); };
20 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#p5p"; tag = "magnet"; }); };
21 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#stardoc"; tag = "freenode"; }); };
};
aliases = {
J = "join";
WJOIN = "join -window";
WQUERY = "query -window";
LEAVE = "part";
BYE = "quit";
EXIT = "quit";
SIGNOFF = "quit";
DESCRIBE = "action";
DATE = "time";
HOST = "userhost";
LAST = "lastlog";
LEFT = "window move left";
SAY = "msg *";
WI = "whois";
WII = "whois $0 $0";
WW = "whowas";
W = "who";
N = "names";
M = "msg";
T = "topic";
C = "clear";
CL = "clear";
K = "kick";
KB = "kickban";
KN = "knockout";
BANS = "ban";
B = "ban";
MUB = "unban *";
UB = "unban";
IG = "ignore";
UNIG = "unignore";
SB = "scrollback";
UMODE = "mode $N";
WC = "window close";
WN = "window new hide";
SV = "say Irssi $J ($V) - http://irssi.org/";
GOTO = "sb goto";
CHAT = "dcc chat";
RUN = "SCRIPT LOAD";
UPTIME = "eval exec - expr `date +%s` - \\$F | awk '{print \"Irssi uptime: \"int(\\\\\\$1/3600/24)\"d \"int(\\\\\\$1/3600%24)\"h \"int(\\\\\\$1/60%60)\"m \"int(\\\\\\$1%60)\"s\" }'";
CALC = "exec - if which bc &>/dev/null\\; then echo '$*' | bc | awk '{print \"$*=\"$$1}'\\; else echo bc was not found\\; fi";
SBAR = "STATUSBAR";
INVITELIST = "mode $C +I";
Q = "QUERY";
think = "say . o O ( $- )";
};
statusbar = {
# formats:
# when using {templates}, the template is shown only if it's argument isn't
# empty unless no argument is given. for example {sb} is printed always,
# but {sb $T} is printed only if $T isn't empty.
items = {
# start/end text in statusbars
barstart = "{sbstart}";
barend = "{sbend}";
topicbarstart = "{topicsbstart}";
topicbarend = "{topicsbend}";
# treated "normally", you could change the time/user name to whatever
time = "{sb $Z}";
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
window = "{sb $winref:$itemname{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "{prompt $[.15]itemname}";
prompt_empty = "{prompt $winname}";
topic = " $topic";
topic_empty = " Irssi v$J - http://irssi.org/help/";
# all of these treated specially, they're only displayed when needed
lag = "{sb Lag: $0-}";
act = "{sb Act: $0-}";
more = "-- more --";
};
# there's two type of statusbars. root statusbars are either at the top
# of the screen or at the bottom of the screen. window statusbars are at
# the top/bottom of each split window in screen.
default = {
# the "default statusbar" to be displayed at the bottom of the window.
# contains all the normal items.
window = {
disabled = "no";
# window, root
type = "window";
# top, bottom
placement = "bottom";
# number
position = "1";
# active, inactive, always
visible = "active";
# list of items in statusbar in the display order
items = {
barstart = { priority = "100"; };
time = { };
user = { };
window = { };
window_empty = { };
lag = { priority = "-1"; };
act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
# statusbar to use in inactive split windows
window_inact = {
type = "window";
placement = "bottom";
position = "1";
visible = "inactive";
items = {
barstart = { priority = "100"; };
window = { };
window_empty = { };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
# we treat input line as yet another statusbar :) It's possible to
# add other items before or after the input line item.
prompt = {
type = "root";
placement = "bottom";
# we want to be at the bottom always
position = "100";
visible = "always";
items = {
prompt = { priority = "-1"; };
prompt_empty = { priority = "-1"; };
# treated specially, this is the real input line.
input = { priority = "10"; };
};
};
# topicbar
topic = {
type = "root";
placement = "top";
position = "1";
visible = "always";
items = {
topicbarstart = { priority = "100"; };
topic = { };
topic_empty = { };
topicbarend = { priority = "100"; alignment = "right"; };
};
};
};
};
settings = {
core = {
real_name = "Ingy dot Net";
user_name = "ingy";
nick = "ingy";
recode_fallback = "UTF-8";
};
"fe-text" = {
term_force_colors = "yes";
autostick_split_windows = "no";
actlist_sort = "refnum";
};
"irc/core" = { alternate_nick = "ingyfoo"; };
"fe-common/core" = {
autocreate_own_query = "yes";
autocreate_query_level = "NONE";
use_status_window = "yes";
use_msgs_window = "no";
autoclose_windows = "yes";
reuse_unused_windows = "yes";
print_active_channel = "yes";
windows_auto_renumber = "yes";
beep_msg_level = "5";
autolog_path = "~/.irssi/logs/$tag/$0.log";
autolog = "yes";
term_charset = "utf-8";
theme = "foxmask";
};
};
logs = { };
hilights = (
{ text = "ingy"; nick = "yes"; fullword = "yes"; },
{ text = "kwiki"; nick = "yes"; word = "yes"; channels = ( "#perl" ); },
{ text = "yaml"; nick = "yes"; word = "yes"; channels = ( "#perl" ); }
);
conversions = { "#elixus" = "big5"; };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment