servers = ( { address = "irc.unixcircle.com"; chatnet = "unixcircle"; port = "6667"; autoconnect = "yes"; }, { address = "sterling.freenode.net"; chatnet = "freenode"; port = "6667"; autoconnect = "yes"; }, { address = "irc.gnome.org"; chatnet = "gnome"; port = "6667"; autoconnect = "no"; } ); chatnets = { unixcircle = { type = "IRC"; max_kicks = "4"; max_modes = "4"; max_msgs = "1"; max_whois = "1"; }; freenode = { type = "IRC"; max_kicks = "4"; max_msgs = "1"; max_modes = "4"; max_whois = "1"; }; gnome = { type = "IRC"; }; }; channels = ( { name = "#unixcircle"; chatnet = "unixcircle"; autojoin = "yes"; }, { name = "#tam"; chatnet = "unixcircle"; autojoin = "no"; }, { name = "#vietlug"; chatnet = "freenode"; autojoin = "no"; }, { name = "#irssi"; chatnet = "freenode"; autojoin = "no"; }, { name = "#fluxbox"; chatnet = "freenode"; autojoin = "no"; }, { name = "#slackware"; chatnet = "freenode"; autojoin = "no"; }, { name = "#galeon"; chatnet = "gnome"; autojoin = "no"; } ); aliases = { ID = "msg nickserv identify"; J = "join"; WJOIN = "join -window"; WQUERY = "query -window"; LEAVE = "part"; BYE = "quit"; EXIT = "quit"; SIGNOFF = "quit"; DESCRIBE = "action"; DATE = "time"; HOST = "userhost"; LAST = "lastlog"; 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"; quit = "echo are you really sure?"; WLIST = "window 1;window list"; }; 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 = "{sb $winref:$tag:$T{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 = { }; window = { }; window_empty = { }; user = { }; 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"; }; }; disabled = "yes"; }; }; }; settings = { core = { real_name = "y_k_"; user_name = "yk"; nick = "yk"; timestamp_format = "%H.%M"; }; "fe-common/core" = { use_status_window = "no"; use_msgs_window = "yes"; reuse_unused_windows = "no"; autoclose_windows = "yes"; print_active_channel = "no"; window_auto_change = "yes"; autolog = "yes"; autolog_path = "~/.irssi/logs/$tag/$0.log"; theme = "cananal"; bell_beeps = "yes"; beep_msg_level = "msgs hilight"; window_history = "yes"; }; "fe-text" = { autostick_split_windows = "no"; term_type = "utf-8"; }; "irc/core" = { alternate_nick = "yk_"; }; "perl/core/scripts" = { beep_command = "beep -l 70 -r 1 -f 5500&"; beep_when_not_away = "yes"; nicklist_automode = "SCREEN"; }; }; keyboard = ( { key = "^[`"; id = "command"; data = "wlist"; }, { key = "^T"; id = "command"; data = "win new hide "; }, { key = "^W"; id = "command"; data = "win kill "; }, { key = "^L"; id = "command"; data = "clear "; }, { key = "^D"; id = "erase_line"; data = ""; }, { key = "^B"; id = "backward_word"; data = ""; }, { key = "^F"; id = "forward_word"; data = ""; } ); logs = { }; windows = { 1 = { immortal = "yes"; name = "msgs"; level = "ALL"; }; 2 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#unixcircle"; tag = "unixcircle"; } ); }; 3 = { items = ( { type = "CHANNEL"; chat_type = "IRC"; name = "#vietlug"; tag = "freenode"; } ); }; }; mainwindows = { 1 = { first_line = "0"; lines = "18"; }; }; hilights = ( { text = "\\"; nick = "yes"; word = "no"; regexp = "yes"; } );