dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

config (4761B)


      1 servers = (
      2   {
      3     address = "irc.esper.net";
      4     chatnet = "EsperNet";
      5     port = "6697";
      6     use_tls = "yes";
      7     tls_verify = "yes";
      8   },
      9   {
     10     address = "irc.libera.chat";
     11     chatnet = "liberachat";
     12     port = "6697";
     13     use_tls = "yes";
     14     tls_verify = "yes";
     15   },
     16   {
     17     address = "irc.oftc.net";
     18     chatnet = "OFTC";
     19     port = "6697";
     20     use_tls = "yes";
     21     tls_verify = "yes";
     22   }
     23 );
     24 
     25 chatnets = {
     26   EsperNet = {
     27     type = "IRC";
     28     max_kicks = "1";
     29     max_msgs = "4";
     30     max_whois = "1";
     31     sasl_mechanism = "PLAIN";
     32     sasl_username = "jbauer";
     33     sasl_password = "PASSWORD";
     34   };
     35   LiberaChat = {
     36     type = "IRC";
     37     max_kicks = "1";
     38     max_msgs = "4";
     39     max_whois = "1";
     40     sasl_mechanism = "PLAIN";
     41     sasl_username = "jbauer";
     42     sasl_password = "PASSWORD";
     43   };
     44   OFTC = {
     45     type = "IRC";
     46     autosendcmd = "^msg NickServ identify PASSWORD jbauer;wait -OFTC 2000";
     47     max_kicks = "1";
     48     max_msgs = "1";
     49     max_whois = "1";
     50   };
     51 };
     52 
     53 channels = (
     54   { name = "##it_me_jek"; chatnet = "liberachat"; autojoin = "Yes"; }
     55 );
     56 
     57 aliases = {
     58   ATAG = "WINDOW SERVER";
     59   ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{visible_name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
     60   B = "BAN";
     61   BACK = "AWAY";
     62   BANS = "BAN";
     63   BYE = "QUIT";
     64   C = "CLEAR";
     65   CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
     66   CHAT = "DCC CHAT";
     67   CS = "QUOTE CS";
     68   DATE = "TIME";
     69   DEHIGHLIGHT = "DEHILIGHT";
     70   DESCRIBE = "ACTION";
     71   DHL = "DEHILIGHT";
     72   EXEMPTLIST = "MODE $C +e";
     73   EXIT = "QUIT";
     74   GOTO = "SCROLLBACK GOTO";
     75   HIGHLIGHT = "HILIGHT";
     76   HL = "HILIGHT";
     77   HOST = "USERHOST";
     78   INVITELIST = "MODE $C +I";
     79   J = "JOIN";
     80   K = "KICK";
     81   KB = "KICKBAN";
     82   KN = "KNOCKOUT";
     83   LAST = "LASTLOG";
     84   LEAVE = "PART";
     85   M = "MSG";
     86   MS = "QUOTE MS";
     87   MUB = "UNBAN *";
     88   N = "NAMES";
     89   NMSG = "^MSG";
     90   NS = "QUOTE NS";
     91   OS = "QUOTE OS";
     92   P = "PART";
     93   Q = "QUERY";
     94   RESET = "SET -default";
     95   RUN = "SCRIPT LOAD";
     96   SAY = "MSG *";
     97   SB = "SCROLLBACK";
     98   SBAR = "STATUSBAR";
     99   SHELP = "QUOTE HELP";
    100   SIGNOFF = "QUIT";
    101   SV = "MSG * Irssi $J ($V) - https://irssi.org";
    102   T = "TOPIC";
    103   UB = "UNBAN";
    104   UMODE = "MODE $N";
    105   UNSET = "SET -clear";
    106   W = "WHO";
    107   WC = "WINDOW CLOSE";
    108   WG = "WINDOW GOTO";
    109   WJOIN = "JOIN -window";
    110   WI = "WHOIS";
    111   WII = "WHOIS $0 $0";
    112   WL = "WINDOW LIST";
    113   WN = "WINDOW NEW HIDDEN";
    114   WQUERY = "QUERY -window";
    115   WW = "WHOWAS";
    116 };
    117 
    118 statusbar = {
    119   items = {
    120     barstart = "{sbstart}";
    121     barend = "{sbend}";
    122 
    123     topicbarstart = "{topicsbstart}";
    124     topicbarend = "{topicsbend}";
    125 
    126     time = "{sb $Z}";
    127     user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
    128 
    129     window = "{sb $winref:$tag/$itemname{sbmode $M}}";
    130     window_empty = "{sb $winref{sbservertag $tag}}";
    131 
    132     prompt = "{prompt $[.15]itemname}";
    133     prompt_empty = "{prompt $winname}";
    134 
    135     topic = " $topic";
    136     topic_empty = " Irssi v$J - https://irssi.org";
    137 
    138     lag = "{sb Lag: $0-}";
    139     act = "{sb Act: $0-}";
    140     more = "-- more --";
    141   };
    142   default = {
    143     window = {
    144       disabled = "no";
    145       type = "window";
    146       placement = "bottom";
    147       position = "1";
    148       visible = "active";
    149 
    150       items = {
    151         barstart = { priority = "100"; };
    152         time = { };
    153         user = { };
    154         window = { };
    155         window_empty = { };
    156         lag = { priority = "-1"; };
    157         act = { priority = "10"; };
    158         more = { priority = "-1"; alignment = "right"; };
    159         barend = { priority = "100"; alignment = "right"; };
    160       };
    161     };
    162     window_inact = {
    163       type = "window";
    164       placement = "bottom";
    165       position = "1";
    166       visible = "inactive";
    167 
    168       items = {
    169         barstart = { priority = "100"; };
    170         window = { };
    171         window_empty = { };
    172         more = { priority = "-1"; alignment = "right"; };
    173         barend = { priority = "100"; alignment = "right"; };
    174       };
    175     };
    176     prompt = {
    177       type = "root";
    178       placement = "bottom";
    179       position = "100";
    180       visible = "always";
    181       items = {
    182         prompt = { priority = "-1"; };
    183         prompt_empty = { priority = "-1"; };
    184         input = { priority = "10"; };
    185       };
    186     };
    187     topic = {
    188       type = "root";
    189       placement = "top";
    190       position = "1";
    191       visible = "always";
    192 
    193       items = {
    194         topicbarstart = { priority = "100"; };
    195         topic = { };
    196         topic_empty = { };
    197         topicbarend = { priority = "100"; alignment = "right"; };
    198       };
    199     };
    200   };
    201 };
    202 settings = {
    203   core = {
    204     real_name = "Jake Bauer";
    205     user_name = "jbauer";
    206     nick = "jbauer";
    207   };
    208   "fe-common/core" = { theme = "monochrome"; };
    209 };