servers = ( { chatnet = "efnet"; address = "{{efnet}}"; autoconnect = "yes"; }, { chatnet = "ircnet"; address = "{{ircnet}}"; autoconnect = "yes"; }, { chatnet = "libera"; address = "irc.libera.chat"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; ssl_cafile = "/etc/ssl/cacert.pem"; autoconnect = "yes"; }, { address = "irc.oftc.net"; chatnet = "oftc"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; ssl_cafile = "/etc/ssl/cacert.pem"; autoconnect = "yes"; }, { address = "{{undernet}}"; chatnet = "undernet"; port = "6665"; autoconnect = "yes"; } ); chatnets = { ircnet = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; }; libera = { type = "IRC"; max_kicks = "1"; max_msgs = "4"; max_whois = "1"; sasl_mechanism = "PLAIN"; sasl_username = "{{libera_user}}"; sasl_password = "{{libera_pass}}"; }; efnet = { type = "IRC"; max_kicks = "1"; max_msgs = "4"; max_whois = "1"; nick = "elge9"; alternate_nick = "elge99"; }; oftc = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; nick = "{{oftc_user}}"; autosendcmd = "^msg nickserv identify {{oftc_pass}}"; }; undernet = { type = "IRC"; nick = "elge9"; alternate_nick = "elge99"; }; }; channels = ( {% for channel in efnet_channels %} { name = "{{channel}}"; chatnet = "efnet"; autojoin = "yes"; }, {% endfor %} {% for channel in ircnet_channels %} { name = "{{channel}}"; chatnet = "ircnet"; autojoin = "yes"; }, {% endfor %} {% for channel in libera_channels %} { name = "{{channel}}"; chatnet = "libera"; autojoin = "yes"; }, {% endfor %} {% for channel in oftc_channels %} { name = "{{channel}}"; chatnet = "oftc"; autojoin = "yes"; }, {% endfor %} {% for channel in undernet_channels %} { name = "{{channel}}"; chatnet = "undernet"; autojoin = "yes"; }{% if not loop.last %},{% endif %} {% endfor %}{{ '\n' -}} ); aliases = { ATAG = "WINDOW SERVER"; ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{visible_name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}"; B = "BAN"; BACK = "AWAY"; BANS = "BAN"; BYE = "QUIT"; C = "CLEAR"; CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi"; CHAT = "DCC CHAT"; DATE = "TIME"; DEHIGHLIGHT = "DEHILIGHT"; DESCRIBE = "ACTION"; DHL = "DEHILIGHT"; EXEMPTLIST = "MODE $C +e"; EXIT = "QUIT"; GOTO = "SCROLLBACK GOTO"; HIGHLIGHT = "HILIGHT"; HL = "HILIGHT"; HOST = "USERHOST"; INVITELIST = "MODE $C +I"; J = "JOIN"; K = "KICK"; KB = "KICKBAN"; KN = "KNOCKOUT"; LAST = "LASTLOG"; LEAVE = "PART"; M = "MSG"; MUB = "UNBAN *"; N = "NAMES"; NMSG = "^MSG"; P = "PART"; Q = "QUERY"; RESET = "SET -default"; RUN = "SCRIPT LOAD"; SAY = "MSG *"; SB = "SCROLLBACK"; SBAR = "STATUSBAR"; SIGNOFF = "QUIT"; SV = "MSG * Irssi $J ($V) - https://irssi.org"; T = "TOPIC"; UB = "UNBAN"; UMODE = "MODE $N"; UNSET = "SET -clear"; W = "WHO"; WC = "WINDOW CLOSE"; WG = "WINDOW GOTO"; WJOIN = "JOIN -window"; WI = "WHOIS"; WII = "WHOIS $0 $0"; WL = "WINDOW LIST"; WN = "WINDOW NEW HIDDEN"; WQUERY = "QUERY -window"; WW = "WHOWAS"; }; statusbar = { items = { barstart = "{sbstart}"; barend = "{sbend}"; topicbarstart = "{topicsbstart}"; topicbarend = "{topicsbend}"; time = "{sb $Z}"; user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}"; 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 - https://irssi.org"; lag = "{sb Lag: $0-}"; act = "{sb Act: $0-}"; more = "-- more --"; }; default = { window = { disabled = "no"; type = "window"; placement = "bottom"; position = "1"; visible = "active"; 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"; }; }; }; 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"; }; }; }; prompt = { type = "root"; placement = "bottom"; position = "100"; visible = "always"; items = { prompt = { priority = "-1"; }; prompt_empty = { priority = "-1"; }; input = { priority = "10"; }; }; }; 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 = "{{real_name}}"; user_name = "{{irssi_user}}"; nick = "{{irssi_user}}"; }; # https://irssi.org/documentation/settings/#history "fe-text" = { actlist_sort = "refnum"; scrollback_burst_remove = "10"; scrollback_time = "24days"; }; "fe-common/core" = { theme = "agon"; hilight_nick_matches_everywhere = "yes"; beep_msg_level = "MSGS HILIGHT DCCMSGS NOTICES DCC CTCP"; completion_char = ","; completion_nicks_lowercase = "yes"; autolog = "yes"; autolog_colors = "no"; }; "irc/core" = { alternate_nick = "{{irssi_user_alt}}"; ctcp_version_reply = "{{ctcp_version_reply}}"; }; }; hilights = ( {% for word in hilight_words %} { text = "{{word}}"; nick = "yes"; word = "yes"; }{% if not loop.last %},{% endif %}{{ '\n' -}} {% endfor %} ); logs = { };