added some config files

This commit is contained in:
tomit4 2021-08-21 06:52:07 -07:00
parent 07fef2226d
commit da072f224a
5 changed files with 1274 additions and 0 deletions

353
irssi/config Normal file
View file

@ -0,0 +1,353 @@
servers = (
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
{
address = "ssl.efnet.org";
chatnet = "EFNet";
port = "9999";
use_tls = "yes";
},
{
address = "irc.esper.net";
chatnet = "EsperNet";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "chat.freenode.net";
chatnet = "Freenode";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "irc.gamesurge.net";
chatnet = "GameSurge";
port = "6667";
},
{
address = "eu.irc6.net";
chatnet = "IRCnet";
port = "6667";
use_tls = "yes";
},
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
{
address = "irc.ircsource.net";
chatnet = "IRCSource";
port = "6667";
},
{ address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
{
address = "irc.oftc.net";
chatnet = "OFTC";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{
address = "irc.quakenet.org";
chatnet = "QuakeNet";
port = "6667";
},
{
address = "irc.rizon.net";
chatnet = "Rizon";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
},
{ address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
{
address = "irc.undernet.org";
chatnet = "Undernet";
port = "6667";
},
{
address = "irc.libera.chat";
chatnet = "liberachat";
port = "6667";
use_tls = "no";
tls_verify = "no";
autoconnect = "yes";
},
{
address = "irc.libera.chat";
chatnet = "liberachat";
port = "6697";
use_tls = "yes";
tls_verify = "yes";
autoconnect = "yes";
},
{
address = "irc.libera.chat";
chatnet = "libera";
port = "6697";
use_tls = "yes";
tls_cert = "~/.irssi/certs/libera.pem";
tls_verify = "no";
autoconnect = "yes";
},
{
address = "irc.libera.chat";
chatnet = "liberachat";
port = "0";
password = "6697";
use_tls = "yes";
tls_verify = "yes";
autoconnect = "yes";
}
);
chatnets = {
DALnet = {
type = "IRC";
max_kicks = "4";
max_msgs = "20";
max_whois = "30";
};
EFNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
EsperNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
Freenode = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
GameSurge = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
IRCnet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
IRCSource = {
type = "IRC";
max_kicks = "1";
max_msgs = "4";
max_whois = "1";
};
NetFuze = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
QuakeNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
Rizon = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
SILC = { type = "SILC"; };
Undernet = {
type = "IRC";
max_kicks = "1";
max_msgs = "1";
max_whois = "1";
};
liberachat = {
type = "IRC";
sasl_mechanism = "PLAIN";
sasl_username = "z3rOR0ne";
sasl_password = "pl4inwrecK";
};
libera = { type = "IRC"; };
};
channels = (
{ name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
{ name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
{ name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
{ name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
{ name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
{ name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
{ name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
{ name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
{ name = "silc"; chatnet = "SILC"; autojoin = "No"; },
{ name = "#archlinux"; chatnet = "liberachat"; autojoin = "yes"; }
);
aliases = {
ATAG = "WINDOW SERVER";
ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{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 = "Brian Hayes";
user_name = "brian";
nick = "brian";
};
"fe-text" = { actlist_sort = "refnum"; };
"fe-common/core" = { theme = "initrd"; };
};

225
irssi/initrd.theme Normal file
View file

@ -0,0 +1,225 @@
# For irssi 0.7.98 by Timo Sirainen
abstracts = {
##
## generic
##
# text to insert at the beginning of each non-message line
line_start = "%g%n ";
# timestamp styling, nothing by default
timestamp = "%%H:%%M";
# any kind of text that needs hilighting, default is to bold
hilight = "%_$0-%_";
# any kind of error message, default is bright red
error = "%R$0-%n";
# channel name is printed
channel = "%g$0-%n";
# nick is printed
nick = "%g$0-%n";
# nick host is printed
nickhost = "($0-)";
# server name is printed
server = "$0-";
# some kind of comment is printed
comment = "($0-)";
# reason for something is printed (part, quit, kick, ..)
reason = "{comment $0-}";
# mode change is printed ([+o nick])
mode = "{comment $0-}";
##
## channel specific messages
##
# highlighted nick/host is printed (joins)
channick_hilight = "%c$0-%n";
chanhost_hilight = "{nickhost %c$0-%n}";
# nick/host is printed (parts, quits, etc.)
channick = "$0-";
chanhost = "{nickhost $0-}";
# highlighted channel name is printed
channelhilight = "%c$0-%n";
# ban/ban exception/invite list mask is printed
ban = "$0-";
##
## messages
##
# the basic styling of how to print message, $0 = nick mode, $1 = nick
msgnick = "<$0$1-> %|";
# message from you is printed. "msgownnick" specifies the styling of the
# nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
# whole line.
# Example1: You want the message text to be green:
# ownmsgnick = "{msgnick $0 $1-}%g";
# Example2.1: You want < and > chars to be yellow:
# ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
# (you'll also have to remove <> from replaces list above)
# Example2.2: But you still want to keep <> grey for other messages:
# pubmsgnick = "%K{msgnick $0 $1-%K}%n";
# pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
# pubmsghinick = "%K{msgnick $1 $0$2-%K}%n";
# ownprivmsgnick = "%K{msgnick $0-%K}%n";
# privmsgnick = "%K{msgnick %R$0-%K}%n";
# $0 = nick mode, $1 = nick
ownmsgnick = "{msgnick $0 $1-}";
ownnick = "%g$0-%n";
# public message in channel, $0 = nick mode, $1 = nick
pubmsgnick = "{msgnick $0 $1-}";
pubnick = "%g$0-%n";
# public message in channel meant for me, $0 = nick mode, $1 = nick
pubmsgmenick = "{msgnick $0 $1-}";
menick = "%Y$0-%Y";
# public highlighted message in channel
# $0 = highlight color, $1 = nick mode, $2 = nick
pubmsghinick = "{msgnick $1 $2-}$0";
# channel name is printed with message
msgchannel = "%w|%g$0-%n";
# private message, $0 = nick, $1 = host
privmsg = "*%g$0%n* ";
# private message from you, $0 = "msg", $1 = target nick
ownprivmsg = "*%g$1-%n*> %g";
# own private message in query
ownprivmsgnick = "{msgnick $0-}";
ownprivnick = "%g$0-%n";
# private message in query
privmsgnick = "{msgnick %g$0-%n}";
##
## Actions (/ME stuff)
##
# used internally by this theme
action_core = " * $0-";
# generic one that's used by most actions
action = "{action_core $0-} ";
# own action, both private/public
ownaction = "{action $0-}";
# own action with target, both private/public
ownaction_target = "{action_core $0}{msgchannel $1} ";
# private action sent by others
pvtaction = " (*) $0- ";
pvtaction_query = "{action $0-}";
# public action sent by others
pubaction = "{action $0-}";
##
## other IRC events
##
# notices
ownnotice = "-%g$1-%n- ";
notice = "-%g$0-%n- ";
pubnotice_channel = "{msgchannel $0-}";
pvtnotice_host = "";
servernotice = "{notice $0-}";
# CTCPs
ownctcp = "[$0 $1-] ";
ctcp = "$0-";
# wallops
wallop = "$0-: ";
wallop_nick = "$0-";
wallop_action = " * $0- ";
# netsplits
netsplit = "%g$0-%n";
netjoin = "%g$0-%n";
# /names list
names_nick = "%_$0%_$1- | ";
names_users = "($0-)";
names_channel = "{channel $0-}";
# DCC
dcc = "$0-";
dccfile = "%_$0-%_";
# DCC chat, own msg/action
dccownmsg = "*%g=$1-%n*> %g";
dccownaction = "{action $0-}";
dccownaction_target = "{ownaction_target $0-}";
# DCC chat, others
dccmsg = "*%g=$1-%n* ";
dccquerynick = "$0-";
dccaction = " (*dcc*) $0- %|";
# default background for all statusbars. You can also give
# the default foreground color for statusbar items.
sb_background = "%0%g";
# default backround for "default" statusbar group
#sb_default_bg = "%4";
# background for prompt / input line
sb_prompt_bg = "%n";
# background for info statusbar
sb_info_bg = "%0";
# background for topicbar (same default)
sb_topic_bg = "%0%g";
# text at the beginning of statusbars. sb-item already puts
# space there,so we don't use anything by default.
sbstart = " <>";
# text at the end of statusbars. Use space so that it's never
# used for anything.
sbend = "<irssi> ";
topicsbstart = " <>";
topicsbend = "<> ";
prompt = "[$*]: ";
sb = " %g(%g$*%g)%n";
sbmode = "%g(%g+%g$*%g)";
sbaway = " (%yaway%n)";
sbservertag = ":$0 (change with ^X)";
sbnickmode = "$0";
# activity in statusbar
# ',' separator
sb_act_sep = "%g$*";
# normal text
sb_act_text = "%g$*";
# public message
sb_act_msg = "%g$*";
# hilight
sb_act_hilight = "%R$*";
# hilight with specified color, $0 = color, $1 = text
sb_act_hilight_color = "$0$1-%n";
};