dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

config (11189B)


      1 servers = (
      2   {
      3     address = "sweetwater.djmoch.org";
      4     chatnet = "Sweetwater";
      5     port = "7000";
      6     use_tls = "yes";
      7     tls_verify = "yes";
      8   }
      9 );
     10 
     11 chatnets = {
     12   Sweetwater = {
     13     type = "IRC";
     14     max_kicks = "1";
     15     max_msgs = "4";
     16     max_whois = "1";
     17   };
     18 };
     19 
     20 channels = ( );
     21 
     22 aliases = {
     23   ATAG = "WINDOW SERVER";
     24   ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
     25   B = "BAN";
     26   BACK = "AWAY";
     27   BANS = "BAN";
     28   BYE = "QUIT";
     29   C = "CLEAR";
     30   CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
     31   CHAT = "DCC CHAT";
     32   CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }";
     33   DATE = "TIME";
     34   DEHIGHLIGHT = "DEHILIGHT";
     35   DESCRIBE = "ACTION";
     36   DHL = "DEHILIGHT";
     37   EXEMPTLIST = "MODE $C +e";
     38   EXIT = "QUIT";
     39   GOTO = "SCROLLBACK GOTO";
     40   HIGHLIGHT = "HILIGHT";
     41   HL = "HILIGHT";
     42   HOST = "USERHOST";
     43   INVITELIST = "MODE $C +I";
     44   J = "JOIN";
     45   K = "KICK";
     46   KB = "KICKBAN";
     47   KN = "KNOCKOUT";
     48   LAST = "LASTLOG";
     49   LEAVE = "PART";
     50   M = "MSG";
     51   MUB = "UNBAN *";
     52   N = "NAMES";
     53   NMSG = "^MSG";
     54   P = "PART";
     55   Q = "QUERY";
     56   RESET = "SET -default";
     57   RUN = "SCRIPT LOAD";
     58   SAY = "MSG *";
     59   SB = "SCROLLBACK";
     60   SBAR = "STATUSBAR";
     61   SIGNOFF = "QUIT";
     62   SV = "MSG * Irssi $J ($V) - http://www.irssi.org";
     63   T = "TOPIC";
     64   UB = "UNBAN";
     65   UMODE = "MODE $N";
     66   UNSET = "SET -clear";
     67   W = "WHO";
     68   WC = "WINDOW CLOSE";
     69   WG = "WINDOW GOTO";
     70   WJOIN = "JOIN -window";
     71   WI = "WHOIS";
     72   WII = "WHOIS $0 $0";
     73   WL = "WINDOW LIST";
     74   WN = "WINDOW NEW HIDDEN";
     75   WQUERY = "QUERY -window";
     76   WW = "WHOWAS";
     77   1 = "WINDOW GOTO 1";
     78   2 = "WINDOW GOTO 2";
     79   3 = "WINDOW GOTO 3";
     80   4 = "WINDOW GOTO 4";
     81   5 = "WINDOW GOTO 5";
     82   6 = "WINDOW GOTO 6";
     83   7 = "WINDOW GOTO 7";
     84   8 = "WINDOW GOTO 8";
     85   9 = "WINDOW GOTO 9";
     86   10 = "WINDOW GOTO 10";
     87   11 = "WINDOW GOTO 11";
     88   12 = "WINDOW GOTO 12";
     89   13 = "WINDOW GOTO 13";
     90   14 = "WINDOW GOTO 14";
     91   15 = "WINDOW GOTO 15";
     92   16 = "WINDOW GOTO 16";
     93   17 = "WINDOW GOTO 17";
     94   18 = "WINDOW GOTO 18";
     95   19 = "WINDOW GOTO 19";
     96   20 = "WINDOW GOTO 20";
     97   21 = "WINDOW GOTO 21";
     98   22 = "WINDOW GOTO 22";
     99   23 = "WINDOW GOTO 23";
    100   24 = "WINDOW GOTO 24";
    101   25 = "WINDOW GOTO 25";
    102   26 = "WINDOW GOTO 26";
    103   27 = "WINDOW GOTO 27";
    104   28 = "WINDOW GOTO 28";
    105   29 = "WINDOW GOTO 29";
    106   30 = "WINDOW GOTO 30";
    107   31 = "WINDOW GOTO 31";
    108   32 = "WINDOW GOTO 32";
    109   33 = "WINDOW GOTO 33";
    110   34 = "WINDOW GOTO 34";
    111   35 = "WINDOW GOTO 35";
    112   36 = "WINDOW GOTO 36";
    113   37 = "WINDOW GOTO 37";
    114   38 = "WINDOW GOTO 38";
    115   39 = "WINDOW GOTO 39";
    116   40 = "WINDOW GOTO 40";
    117   41 = "WINDOW GOTO 41";
    118   42 = "WINDOW GOTO 42";
    119   43 = "WINDOW GOTO 43";
    120   44 = "WINDOW GOTO 44";
    121   45 = "WINDOW GOTO 45";
    122   46 = "WINDOW GOTO 46";
    123   47 = "WINDOW GOTO 47";
    124   48 = "WINDOW GOTO 48";
    125   49 = "WINDOW GOTO 49";
    126   50 = "WINDOW GOTO 50";
    127   51 = "WINDOW GOTO 51";
    128   52 = "WINDOW GOTO 52";
    129   53 = "WINDOW GOTO 53";
    130   54 = "WINDOW GOTO 54";
    131   55 = "WINDOW GOTO 55";
    132   56 = "WINDOW GOTO 56";
    133   57 = "WINDOW GOTO 57";
    134   58 = "WINDOW GOTO 58";
    135   59 = "WINDOW GOTO 59";
    136   60 = "WINDOW GOTO 60";
    137   61 = "WINDOW GOTO 61";
    138   62 = "WINDOW GOTO 62";
    139   63 = "WINDOW GOTO 63";
    140   64 = "WINDOW GOTO 64";
    141   65 = "WINDOW GOTO 65";
    142   66 = "WINDOW GOTO 66";
    143   67 = "WINDOW GOTO 67";
    144   68 = "WINDOW GOTO 68";
    145   69 = "WINDOW GOTO 69";
    146   70 = "WINDOW GOTO 70";
    147   71 = "WINDOW GOTO 71";
    148   72 = "WINDOW GOTO 72";
    149   73 = "WINDOW GOTO 73";
    150   74 = "WINDOW GOTO 74";
    151   75 = "WINDOW GOTO 75";
    152   76 = "WINDOW GOTO 76";
    153   77 = "WINDOW GOTO 77";
    154   78 = "WINDOW GOTO 78";
    155   79 = "WINDOW GOTO 79";
    156   80 = "WINDOW GOTO 80";
    157   81 = "WINDOW GOTO 81";
    158   82 = "WINDOW GOTO 82";
    159   83 = "WINDOW GOTO 83";
    160   84 = "WINDOW GOTO 84";
    161   85 = "WINDOW GOTO 85";
    162   86 = "WINDOW GOTO 86";
    163   87 = "WINDOW GOTO 87";
    164   88 = "WINDOW GOTO 88";
    165   89 = "WINDOW GOTO 89";
    166   90 = "WINDOW GOTO 90";
    167   91 = "WINDOW GOTO 91";
    168   92 = "WINDOW GOTO 92";
    169   93 = "WINDOW GOTO 93";
    170   94 = "WINDOW GOTO 94";
    171   95 = "WINDOW GOTO 95";
    172   96 = "WINDOW GOTO 96";
    173   97 = "WINDOW GOTO 97";
    174   98 = "WINDOW GOTO 98";
    175   99 = "WINDOW GOTO 99";
    176 };
    177 
    178 statusbar = {
    179 
    180   items = {
    181 
    182     barstart = "{sbstart}";
    183     barend = "{sbend}";
    184 
    185     topicbarstart = "{topicsbstart}";
    186     topicbarend = "{topicsbend}";
    187 
    188     time = "{sb $Z}";
    189     user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
    190 
    191     window = "{sb $winref:$tag/$itemname{sbmode $M}}";
    192     window_empty = "{sb $winref{sbservertag $tag}}";
    193 
    194     prompt = "{prompt $[.15]itemname}";
    195     prompt_empty = "{prompt $winname}";
    196 
    197     topic = " $topic";
    198     topic_empty = " Irssi v$J - http://www.irssi.org";
    199 
    200     lag = "{sb Lag: $0-}";
    201     act = "{sb Act: $0-}";
    202     more = "-- more --";
    203   };
    204 
    205   default = {
    206 
    207     window = {
    208 
    209       disabled = "no";
    210       type = "window";
    211       placement = "bottom";
    212       position = "1";
    213       visible = "active";
    214 
    215       items = {
    216         barstart = { priority = "100"; };
    217         time = { };
    218         user = { };
    219         window = { };
    220         window_empty = { };
    221         lag = { priority = "-1"; };
    222         act = { priority = "10"; };
    223         more = { priority = "-1"; alignment = "right"; };
    224         barend = { priority = "100"; alignment = "right"; };
    225       };
    226     };
    227 
    228     window_inact = {
    229 
    230       type = "window";
    231       placement = "bottom";
    232       position = "1";
    233       visible = "inactive";
    234 
    235       items = {
    236         barstart = { priority = "100"; };
    237         window = { };
    238         window_empty = { };
    239         more = { priority = "-1"; alignment = "right"; };
    240         barend = { priority = "100"; alignment = "right"; };
    241       };
    242     };
    243 
    244     prompt = {
    245 
    246       type = "root";
    247       placement = "bottom";
    248       position = "100";
    249       visible = "always";
    250 
    251       items = {
    252         prompt = { priority = "-1"; };
    253         prompt_empty = { priority = "-1"; };
    254         input = { priority = "10"; };
    255       };
    256     };
    257 
    258     topic = {
    259 
    260       type = "root";
    261       placement = "top";
    262       position = "1";
    263       visible = "always";
    264 
    265       items = {
    266         topicbarstart = { priority = "100"; };
    267         topic = { };
    268         topic_empty = { };
    269         topicbarend = { priority = "100"; alignment = "right"; };
    270       };
    271     };
    272   };
    273 };
    274 settings = {
    275   core = {
    276     real_name = "Daniel Moch";
    277     user_name = "djmoch";
    278     nick = "djmoch";
    279   };
    280   "fe-text" = { actlist_sort = "refnum"; };
    281   "fe-common/core" = {
    282     hilight_nick_matches_everywhere = "yes";
    283     use_status_window = "yes";
    284     theme = "djmoch";
    285   };
    286   "perl/core/scripts" = { nicklist_height = "33"; nicklist_width = "18"; };
    287 };
    288 keyboard = (
    289   { key = "meta-d"; id = "command"; data = "nicklist scroll +32"; },
    290   { key = "meta-u"; id = "command"; data = "nicklist scroll -32"; }
    291 );
    292 windows = {
    293   1 = {
    294     immortal = "yes";
    295     name = "(status)";
    296     level = "ALL";
    297     sticky = "yes";
    298   };
    299   2 = {
    300     items = (
    301       {
    302         type = "CHANNEL";
    303         chat_type = "IRC";
    304         name = "#suckless";
    305         tag = "Sweetwater2";
    306       }
    307     );
    308     sticky = "yes";
    309   };
    310   3 = {
    311     items = (
    312       {
    313         type = "CHANNEL";
    314         chat_type = "IRC";
    315         name = "#openbsd";
    316         tag = "Sweetwater";
    317       }
    318     );
    319     sticky = "yes";
    320     parent = "2";
    321   };
    322   4 = {
    323     items = (
    324       {
    325         type = "CHANNEL";
    326         chat_type = "IRC";
    327         name = "#openbsd-offtopic";
    328         tag = "Sweetwater";
    329       }
    330     );
    331     sticky = "yes";
    332     parent = "2";
    333   };
    334   5 = {
    335     items = (
    336       {
    337         type = "CHANNEL";
    338         chat_type = "IRC";
    339         name = "#gopherproject";
    340         tag = "Sweetwater";
    341       }
    342     );
    343     sticky = "yes";
    344     parent = "2";
    345   };
    346   6 = {
    347     items = (
    348       {
    349         type = "CHANNEL";
    350         chat_type = "IRC";
    351         name = "#orlandobsd";
    352         tag = "Sweetwater";
    353       }
    354     );
    355     sticky = "yes";
    356     parent = "2";
    357   };
    358   7 = {
    359     items = (
    360       {
    361         type = "CHANNEL";
    362         chat_type = "IRC";
    363         name = "#indieweb";
    364         tag = "Sweetwater";
    365       }
    366     );
    367     sticky = "yes";
    368     parent = "2";
    369   };
    370   8 = {
    371     items = (
    372       {
    373         type = "CHANNEL";
    374         chat_type = "IRC";
    375         name = "#indieweb-dev";
    376         tag = "Sweetwater";
    377       }
    378     );
    379     sticky = "yes";
    380     parent = "2";
    381   };
    382   9 = {
    383     items = (
    384       {
    385         type = "CHANNEL";
    386         chat_type = "IRC";
    387         name = "#indieweb-meta";
    388         tag = "Sweetwater";
    389       }
    390     );
    391     sticky = "yes";
    392     parent = "2";
    393   };
    394   10 = {
    395     items = (
    396       {
    397         type = "CHANNEL";
    398         chat_type = "IRC";
    399         name = "#lobsters";
    400         tag = "Sweetwater";
    401       }
    402     );
    403     sticky = "yes";
    404     parent = "2";
    405   };
    406   11 = {
    407     items = (
    408       {
    409         type = "CHANNEL";
    410         chat_type = "IRC";
    411         name = "#librelounge";
    412         tag = "Sweetwater";
    413       }
    414     );
    415     sticky = "yes";
    416     parent = "2";
    417   };
    418   12 = {
    419     items = (
    420       {
    421         type = "CHANNEL";
    422         chat_type = "IRC";
    423         name = "#plan9";
    424         tag = "Sweetwater";
    425       }
    426     );
    427     sticky = "yes";
    428     parent = "2";
    429   };
    430   13 = {
    431     items = (
    432       {
    433         type = "CHANNEL";
    434         chat_type = "IRC";
    435         name = "#2f30";
    436         tag = "Sweetwater3";
    437       }
    438     );
    439     sticky = "yes";
    440     parent = "2";
    441   };
    442   14 = {
    443     items = (
    444       {
    445         type = "CHANNEL";
    446         chat_type = "IRC";
    447         name = "#bitreich-en";
    448         tag = "Sweetwater";
    449       }
    450     );
    451     sticky = "yes";
    452     parent = "2";
    453   };
    454   15 = {
    455     items = (
    456       {
    457         type = "CHANNEL";
    458         chat_type = "IRC";
    459         name = "#cat-v";
    460         tag = "Sweetwater";
    461       }
    462     );
    463     sticky = "yes";
    464     parent = "2";
    465   };
    466   16 = {
    467     items = (
    468       {
    469         type = "CHANNEL";
    470         chat_type = "IRC";
    471         name = "#go-nuts";
    472         tag = "Sweetwater";
    473       }
    474     );
    475     sticky = "yes";
    476     parent = "2";
    477   };
    478   17 = {
    479     items = (
    480       {
    481         type = "CHANNEL";
    482         chat_type = "IRC";
    483         name = "#metabug";
    484         tag = "Sweetwater";
    485       }
    486     );
    487     sticky = "yes";
    488     parent = "2";
    489   };
    490 };
    491 mainwindows = {
    492   1 = { first_line = "22"; lines = "6"; };
    493   2 = { first_line = "1"; lines = "21"; };
    494 };
    495 logs = { };