From d9c717e962d8a922f52066b00cdc2fb2ff583853 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 31 Oct 2014 18:47:31 +0100 Subject: irssi: adding config file --- .gitignore | 1 - .irssi/config | 459 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 459 insertions(+), 1 deletion(-) create mode 100644 .irssi/config diff --git a/.gitignore b/.gitignore index 698350c..5b51a38 100644 --- a/.gitignore +++ b/.gitignore @@ -206,7 +206,6 @@ svn/ .hydrogen .icedtea/ .inkscape/ -.irssi/config* .irssi/logs/ .irssi/scripts/autorun/ .irssi/away.log diff --git a/.irssi/config b/.irssi/config new file mode 100644 index 0000000..3bf361a --- /dev/null +++ b/.irssi/config @@ -0,0 +1,459 @@ +servers = ( + { + address = "localhost"; + chatnet = "bitlbee"; + port = "6667"; + autoconnect = "yes"; + }, + { + address = "chat.freenode.org"; + chatnet = "freenode"; + port = "6667"; + autoconnect = "yes"; + }, + { + address = "irc.swepipe.se"; + chatnet = "efnet"; + port = "6697"; + use_ssl = "yes"; + autoconnect = "yes"; + }, + { + address = "irc.oftc.net"; + chatnet = "oftc"; + port = "6697"; + use_ssl = "yes"; + autoconnect = "yes"; + }, + { + address = "irc.what-network.net"; + chatnet = "whatnet"; + port = "6697"; + use_ssl = "yes"; + autoconnect = "yes"; + } +); + +chatnets = { + bitlbee = { + type = "IRC"; + nick = "DavidRunge"; + autosendcmd = "/msg -bitlbee &bitlbee identify st3ll4r.3nv3l0p3; wait -bitlbee 2000"; + }; + freenode = { + type = "IRC"; + nick = "dvzrv"; + realname = "David Runge"; + autosendcmd = "/msg NickServ identify bl4hbl4hbl4h; wait NickServ 5000"; + }; + efnet = { + type = "IRC"; + max_kicks = "4"; + max_msgs = "3"; + max_whois = "1"; + nick = "dvzrv"; + real_name = "David Runge"; + autosendcmd = "/NICKLIST FIFO"; + }; + oftc = { type = "IRC"; nick = "dvzrv"; realname = "David Runge"; }; + whatcd = { + type = "IRC"; + nick = "mAdmAchInE"; + realname = "yourMom"; + autosendcmd = "/msg Drone identify mAdmAchInE bl4hbl4hbl4h; wait Drone 2000"; + }; + whatnet = { type = "IRC"; }; +}; + +channels = ( + { name = "#unixpool"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#freaks"; chatnet = "efnet"; autojoin = "Yes"; }, + { name = "#awesome"; chatnet = "oftc"; autojoin = "Yes"; }, + { name = "#archlinux"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#archlinux-arm"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#archaudio"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#supercollider"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#ffado"; chatnet = "freenode"; autojoin = "Yes"; }, + { name = "#what.cd-help"; chatnet = "whatnet"; autojoin = "Yes"; } +); + +hilights = ( + { + text = "[x]*dvzrv -color %G"; + nick = "yes"; + word = "yes"; + regexp = "yes"; + } +); + +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"; + 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"; + CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi"; + SBAR = "STATUSBAR"; + INVITELIST = "mode $C +I"; + Q = "QUERY"; + "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"; + EXEMPTLIST = "mode $C +e"; + ATAG = "WINDOW SERVER"; + UNSET = "set -clear"; + RESET = "set -default"; +}; + +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:$tag/$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://www.irssi.org"; + + # 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 = "David Runge"; + user_name = "dave"; + nick = "dvzrv"; + awaylog_level = "MSGS HILIGHT"; + recode_out_default_charset = "UTF-8"; + recode_transliterate = "yes"; + recode_autodetect_utf8 = "yes"; + recode_fallback = "CP1252"; + timestamp_format = "%H:%M:%S"; + }; + "fe-text" = { actlist_sort = "refnum"; term_force_colors = "yes"; }; + "fe-common/core" = { + theme = "solarized-universal"; + autolog = "yes"; + hilight_level = "PUBLIC DCCMSGS MSGS"; + term_charset = "UTF-8"; + autolog_path = "~/.irssi/logs/%Y/$tag/$0.%m-%d.log"; + activity_hide_level = "JOINS PARTS QUITS MODES"; + autolog_ignore_targets = "bitlbee/&bitlbee"; + }; + "perl/core/scripts" = { + nicklist_height = "500"; + nicklist_width = "20"; + tmux_away_active = "yes"; + nicklist_automode = "FIFO"; + }; +}; + +ignores = ( + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "&bitlbee" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#archlinux" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#archlinux-arm" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#archaudio" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#awesome" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#what.cd-help" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#unixpool" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#supercollider" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#twitter_dvzrv" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#twitter_frqrec" ); + }, + { + level = "JOINS PARTS QUITS MODES NICKS"; + channels = ( "#freaks" ); + } +); + +logs = { }; + +keyboard = ( + { key = "meta-u"; id = "command"; data = "nicklist update"; }, + { key = "meta-right"; id = "command"; data = "window next"; } +); + +windows = { + 1 = { immortal = "yes"; name = "(status)"; level = "ALL"; }; + 2 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "&bitlbee"; + tag = "bitlbee"; + } + ); + }; + 3 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#twitter_dvzrv"; + tag = "bitlbee"; + } + ); + }; + 4 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#twitter_frqrec"; + tag = "bitlbee"; + } + ); + }; + 5 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#unixpool"; + tag = "freenode"; + } + ); + }; + 6 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#freaks"; + tag = "efnet"; + } + ); + }; + 7 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#awesome"; + tag = "oftc"; + } + ); + }; + 8 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#archlinux"; + tag = "freenode"; + } + ); + }; + 9 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#archaudio"; + tag = "freenode"; + } + ); + }; + 10 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#supercollider"; + tag = "freenode"; + } + ); + }; + 11 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#ffado"; + tag = "freenode"; + } + ); + }; + 12 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#archlinux-arm"; + tag = "freenode"; + } + ); + }; + 13 = { + items = ( + { + type = "CHANNEL"; + chat_type = "IRC"; + name = "#what.cd-help"; + tag = "whatnet"; + } + ); + }; +}; + +mainwindows = { 6 = { first_line = "1"; lines = "70"; }; }; -- cgit v1.2.3-70-g09d2