dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

config (6268B)


      1 servers = (
      2   { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
      3   {
      4     address = "ssl.efnet.org";
      5     chatnet = "EFNet";
      6     port = "9999";
      7     use_tls = "yes";
      8   },
      9   {
     10     address = "irc.esper.net";
     11     chatnet = "EsperNet";
     12     port = "6697";
     13     use_tls = "yes";
     14     tls_verify = "yes";
     15   },
     16   {
     17     address = "chat.freenode.net";
     18     chatnet = "Freenode";
     19     port = "6697";
     20     use_tls = "yes";
     21     tls_verify = "yes";
     22   },
     23   {
     24     address = "eu.irc6.net";
     25     chatnet = "IRCnet";
     26     port = "6667";
     27     use_tls = "yes";
     28   },
     29   { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
     30   {
     31     address = "irc.ircsource.net";
     32     chatnet = "IRCSource";
     33     port = "6667";
     34   },
     35   {
     36     address = "irc.oftc.net";
     37     chatnet = "OFTC";
     38     port = "6697";
     39     use_tls = "yes";
     40     tls_verify = "yes";
     41   },
     42   {
     43     address = "irc.quakenet.org";
     44     chatnet = "QuakeNet";
     45     port = "6667";
     46   },
     47   {
     48     address = "irc.rizon.net";
     49     chatnet = "Rizon";
     50     port = "6697";
     51     use_tls = "yes";
     52     tls_verify = "yes";
     53   },
     54   { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
     55   {
     56     address = "irc.undernet.org";
     57     chatnet = "Undernet";
     58     port = "6667";
     59   }
     60 );
     61 
     62 chatnets = {
     63   DALnet = {
     64     type = "IRC";
     65     max_kicks = "4";
     66     max_msgs = "20";
     67     max_whois = "30";
     68   };
     69   EFNet = {
     70     type = "IRC";
     71     max_kicks = "1";
     72     max_msgs = "4";
     73     max_whois = "1";
     74   };
     75   EsperNet = {
     76     type = "IRC";
     77     max_kicks = "1";
     78     max_msgs = "4";
     79     max_whois = "1";
     80   };
     81   Freenode = {
     82     type = "IRC";
     83     max_kicks = "1";
     84     max_msgs = "4";
     85     max_whois = "1";
     86   };
     87   IRCnet = {
     88     type = "IRC";
     89     max_kicks = "1";
     90     max_msgs = "1";
     91     max_whois = "1";
     92   };
     93   IRCSource = {
     94     type = "IRC";
     95     max_kicks = "1";
     96     max_msgs = "4";
     97     max_whois = "1";
     98   };
     99   OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
    100   QuakeNet = {
    101     type = "IRC";
    102     max_kicks = "1";
    103     max_msgs = "1";
    104     max_whois = "1";
    105   };
    106   Rizon = {
    107     type = "IRC";
    108     max_kicks = "1";
    109     max_msgs = "1";
    110     max_whois = "1";
    111   };
    112   SILC = { type = "SILC"; };
    113   Undernet = {
    114     type = "IRC";
    115     max_kicks = "1";
    116     max_msgs = "1";
    117     max_whois = "1";
    118   };
    119 };
    120 
    121 channels = (
    122   { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
    123   { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
    124   { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
    125   { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
    126   { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
    127   { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
    128   { name = "silc"; chatnet = "SILC"; autojoin = "No"; }
    129 );
    130 
    131 aliases = {
    132   ATAG = "WINDOW SERVER";
    133   ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
    134   B = "BAN";
    135   BACK = "AWAY";
    136   BANS = "BAN";
    137   BYE = "QUIT";
    138   C = "CLEAR";
    139   CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
    140   CHAT = "DCC CHAT";
    141   DATE = "TIME";
    142   DEHIGHLIGHT = "DEHILIGHT";
    143   DESCRIBE = "ACTION";
    144   DHL = "DEHILIGHT";
    145   EXEMPTLIST = "MODE $C +e";
    146   EXIT = "QUIT";
    147   GOTO = "SCROLLBACK GOTO";
    148   HIGHLIGHT = "HILIGHT";
    149   HL = "HILIGHT";
    150   HOST = "USERHOST";
    151   INVITELIST = "MODE $C +I";
    152   J = "JOIN";
    153   K = "KICK";
    154   KB = "KICKBAN";
    155   KN = "KNOCKOUT";
    156   LAST = "LASTLOG";
    157   LEAVE = "PART";
    158   M = "MSG";
    159   MUB = "UNBAN *";
    160   N = "NAMES";
    161   NMSG = "^MSG";
    162   P = "PART";
    163   Q = "QUERY";
    164   RESET = "SET -default";
    165   RUN = "SCRIPT LOAD";
    166   SAY = "MSG *";
    167   SB = "SCROLLBACK";
    168   SBAR = "STATUSBAR";
    169   SIGNOFF = "QUIT";
    170   SV = "MSG * Irssi $J ($V) - https://irssi.org";
    171   T = "TOPIC";
    172   UB = "UNBAN";
    173   UMODE = "MODE $N";
    174   UNSET = "SET -clear";
    175   W = "WHO";
    176   WC = "WINDOW CLOSE";
    177   WG = "WINDOW GOTO";
    178   WJOIN = "JOIN -window";
    179   WI = "WHOIS";
    180   WII = "WHOIS $0 $0";
    181   WL = "WINDOW LIST";
    182   WN = "WINDOW NEW HIDDEN";
    183   WQUERY = "QUERY -window";
    184   WW = "WHOWAS";
    185 };
    186 
    187 statusbar = {
    188   items = {
    189     barstart = "{sbstart}";
    190     barend = "{sbend}";
    191     topicbarstart = "{topicsbstart}";
    192     topicbarend = "{topicsbend}";
    193     time = "{sb $Z}";
    194     user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
    195     window = "{sb $winref:$tag/$itemname{sbmode $M}}";
    196     window_empty = "{sb $winref{sbservertag $tag}}";
    197     prompt = "{prompt $[.15]itemname}";
    198     prompt_empty = "{prompt $winname}";
    199     topic = " $topic";
    200     topic_empty = " Irssi v$J - https://irssi.org";
    201     lag = "{sb Lag: $0-}";
    202     act = "{sb Act: $0-}";
    203     more = "-- more --";
    204   };
    205 
    206   default = {
    207     window = {
    208       disabled = "no";
    209       type = "window";
    210       placement = "bottom";
    211       position = "1";
    212       visible = "active";
    213 
    214       items = {
    215         barstart = { priority = "100"; };
    216         time = { };
    217         user = { };
    218         window = { };
    219         window_empty = { };
    220         lag = { priority = "-1"; };
    221         act = { priority = "10"; };
    222         more = { priority = "-1"; alignment = "right"; };
    223         barend = { priority = "100"; alignment = "right"; };
    224       };
    225     };
    226 
    227     window_inact = {
    228       type = "window";
    229       placement = "bottom";
    230       position = "1";
    231       visible = "inactive";
    232 
    233       items = {
    234         barstart = { priority = "100"; };
    235         window = { };
    236         window_empty = { };
    237         more = { priority = "-1"; alignment = "right"; };
    238         barend = { priority = "100"; alignment = "right"; };
    239       };
    240     };
    241 
    242     prompt = {
    243       type = "root";
    244       placement = "bottom";
    245       position = "100";
    246       visible = "always";
    247 
    248       items = {
    249         prompt = { priority = "-1"; };
    250         prompt_empty = { priority = "-1"; };
    251         input = { priority = "10"; };
    252       };
    253     };
    254 
    255     topic = {
    256       type = "root";
    257       placement = "top";
    258       position = "1";
    259       visible = "always";
    260 
    261       items = {
    262         topicbarstart = { priority = "100"; };
    263         topic = { };
    264         topic_empty = { };
    265         topicbarend = { priority = "100"; alignment = "right"; };
    266       };
    267     };
    268   };
    269 };
    270 
    271 settings = {
    272   core = {
    273     real_name = "Chris Bracken";
    274     user_name = "cbracken";
    275     nick = "cbracken";
    276   };
    277   "fe-text" = { actlist_sort = "refnum"; };
    278 };