commit 4231d2cea2a8a9c8999ca0e1c0c15ab9f182cb31
parent 30350c9e6de63f0b009e572e1f531c2aca1818c2
Author: pyratebeard <root@pyratebeard.net>
Date: Sun, 12 Sep 2021 23:02:13 +0100
remove freenode. add bitreich, oftc. change to mutiny2 theme. set awl_block and fancy_abbrev. keybindings for prev/next window.
new mutiny2 theme
update trackbar to only show on set screens
Diffstat:
3 files changed, 350 insertions(+), 12 deletions(-)
diff --git a/irssi/.irssi/config b/irssi/.irssi/config
@@ -16,15 +16,6 @@ servers = (
},
{
address = "pyratebouncer";
- chatnet = "freenode";
- password = "";
- port = "1666";
- use_tls = "no";
- tls_verify = "no";
- autoconnect = "no";
- },
- {
- address = "pyratebouncer";
chatnet = "libera";
password = "";
port = "1666";
@@ -82,6 +73,24 @@ servers = (
chatnet = "darkscience";
password = "";
port = "1666";
+ use_tls = "yes";
+ tls_verify = "no";
+ autoconnect = "no";
+ },
+ {
+ address = "pyratebouncer";
+ chatnet = "bitreich";
+ password = "";
+ port = "1666";
+ use_tls = "yes";
+ tls_verify = "no";
+ autoconnect = "no";
+ },
+ {
+ address = "pyratebouncer";
+ chatnet = "oftc";
+ password = "";
+ port = "1666";
use_tls = "no";
tls_verify = "no";
autoconnect = "no";
@@ -99,7 +108,6 @@ servers = (
chatnets = {
unixchat = { type = "IRC"; nick = "pyrate"; };
- freenode = { type = "IRC"; nick = "pyratebeard"; };
libera = { type = "IRC"; nick = "pyratebeard"; };
rizon = { type = "IRC"; nick = "pyratebeard"; };
snoonet = { type = "IRC"; nick = "pyratebeard"; };
@@ -108,6 +116,8 @@ chatnets = {
undernet = { type = "IRC"; nick = "pyratebeard"; };
darkscience = { type = "IRC"; nick = "pyratebeard"; };
blitzed = { type = "IRC"; nick = "pyratebeard"; };
+ bitreich = { type = "IRC"; nick = "pyratebeard"; };
+ oftc = { type = "IRC"; nick = "pyratebeard"; };
};
channels = ( { name = "#unix"; chatnet = "unixchat"; autojoin = "Yes"; } );
@@ -134,7 +144,7 @@ settings = {
indent = "13";
};
"fe-common/core" = {
- theme = "mutiny.theme";
+ theme = "mutiny2.theme";
autolog_path = "/var/log/irc/$tag/$0.log";
autolog = "yes";
hilight_nick_matches_everywhere = "yes";
@@ -146,6 +156,8 @@ settings = {
awl_shared_sbar = "OFF";
awl_detach = "(status)";
awl_sort = "server";
+ awl_block = "15";
+ fancy_abbrev = "head";
};
};
logs = { };
@@ -243,3 +255,7 @@ statusbar = {
};
};
};
+keyboard = (
+ { key = "meta-z"; id = "previous_window"; data = ""; },
+ { key = "meta-x"; id = "next_window"; data = ""; }
+);
diff --git a/irssi/.irssi/mutiny2.theme b/irssi/.irssi/mutiny2.theme
@@ -0,0 +1,322 @@
+#https://github.com/shabble/irssi-docs/wiki/complete_themes
+# default foreground color (%N) - -1 is the "default terminal color"
+default_color = "-1";
+
+# print timestamp/servertag at the end of line, not at beginning
+info_eol = "false";
+
+# these characters are automatically replaced with specified color
+# (dark grey by default)
+replaces = { "[]" = "%W$*%n"; };
+
+abstracts = {
+
+ ############# generic ###############################
+
+ indent_default = " + %b│%n";
+
+ # text to insert at the beginning of each non-message line
+ # line_start = "%g//%n ";
+ line_start = "";
+
+ # timestamp styling, nothing by default
+ timestamp = "";
+
+ # any kind of text that needs hilighting, default is to bold
+ hilight = "%G$*%n";
+
+ # any kind of error message, default is bright red
+ error = "%R$*%n";
+
+ # channel name is printed
+ channel = "%b$*%n";
+
+ # nick is printed
+ nick = "%_$*%_";
+
+ # nick host is printed
+ nickhost = "%g$*";
+
+ # server name is printed
+ server = "%_$*%_";
+
+ # some kind of comment is printed
+ comment = "%W(\"%Y$*%W\"%W)%n";
+
+ # reason for something is printed (part, quit, kick, ..)
+ reason = "%b(\"%b$*%b\"%b)%n";
+
+ # mode change is printed ([+o nick])
+ mode = "%W(\"%y$*%W\"%W)%n";
+
+ ## channel specific messages
+
+ # highlighted nick/host is printed (joins)
+ channick_hilight = "%g$*%N";
+ chanhost_hilight = "{nickhost $*}";
+
+ # nick/host is printed (parts, quits, etc.)
+ channick = "$*";
+ chanhost = "{nickhost $*}";
+
+ # highlighted channel name is printed
+ channelhilight = "%y$*%n";
+
+ # ban/ban exception/invite list mask is printed
+ ban = "$*";
+
+ # trackbar colour
+ trackbar_style = "%g";
+
+ ########### messages #################################
+
+ # the basic styling of how to print message, $0 = nick mode, $1 = nick
+ # msgnick = "$1-$0%K·%N %|";
+ msgnick = "%g$0%R$1%b │ %N";
+ # msgnick = "%K$0%N $1 %K· %|%N";
+
+ # $0 = nick mode, $1 = nick
+ #ownmsgnick = "{msgnick $0 $1}";
+ ownmsgnick = "%g$0%m$1%b │ %Y";
+ ownnick = "%m$*%n";
+
+ # public message in channel, $0 = nick mode, $1 = nick
+ pubmsgnick = "{msgnick $0 $1}";
+ pubnick = "%M$*%n";
+
+ # public highlighted message in channel
+ pubmsghinick = "{msgnick $0 $1}";
+ menick = "%y$*%n";
+
+ # channel name is printed with message
+ msgchannel = "%K:%m$*%n";
+
+ # private message, $0 = nick, $1 = host
+ privmsg = "$0=%b\"$1-\"%n ";
+
+ # private message from you, $0 = "msg", $1 = target nick
+ ownprivmsg = "$0=%b\"$1-\"%n ";
+
+ # private message in query
+ # privmsgnick = "{msgnick $*}";
+ privmsgnick = "%M$*%b │ %N";
+
+ # own private message in query
+ #ownprivmsgnick = "{privmsgnick $*}";
+ ownprivmsgnick = "%m$*%b │ %Y";
+ #ownprivnick = "$*";
+
+
+ ########## Actions (/ME stuff) #########################
+
+ # generic one that's used by most actions
+ action = "%c$* %b│ %c";
+
+ # own action, both private/public
+ # ownaction = "{action $*}";
+ ownaction = "%c$* %b│ %c";
+
+ # own action with target, both private/public
+ ownaction_target = "{action $*}";
+
+ # private action sent by others
+ pvtaction = "{action $*}";
+ pvtaction_query = "{action $*}";
+
+ # public action sent by others
+ pubaction = "{action $*}";
+
+
+ ########## other IRC events #############################
+
+ # whois
+ whois = "%# $[8]0 = $1-;";
+
+ # notices
+ ownnotice = "%NNote n = %Mnew%n $0 ($1-) ";
+ notice = "%M$*%n ";
+ pubnotice_channel = " %N($*)";
+ pvtnotice_host = " %N($*)";
+ servernotice = " %N($*)";
+
+ # CTCPs
+ ownctcp = "%NCTCP c = %Mnew%n $0 ($1-) ";
+ ctcp = "%N$*%n";
+
+ # wallops
+ wallop = "%K$*%n: ";
+ wallop_nick = "%n$*";
+ wallop_action = "%K * $*%n ";
+
+ # netsplits
+ netsplit = " %Knsplit%R< %b\"$*\"%n";
+ netjoin = " %Knjoin%G> %b\"$*\"%n";
+
+ # /names list
+ names_prefix = "%b│%n $1";
+ names_nick = "%_$2$0%_%n$1- ";
+ names_nick_op = "{names_nick $* %R}";
+ names_nick_halfop = "{names_nick $* %C}";
+ names_nick_voice = "{names_nick $* %B}";
+ names_users = "%b┌─┄┄─┄┄──┘%W users in $1";
+ names_channel = "%G$*%n";
+
+ # DCC
+ dcc = "%g$*%n";
+ dccfile = "%_$*%_";
+
+ # DCC chat, own msg/action
+ dccownmsg = "%g /* $0 ($1-) */";
+ dccownnick = "$*%n";
+ dccownquerynick = "$*%n";
+ dccownaction = "{action $*}";
+ dccownaction_target = "{action $*}";
+
+ # DCC chat, others
+ dccmsg = "%g/* $1- ($0) */";
+ dccquerynick = "%g$*%n";
+ dccaction = "{action $*}";
+
+ ######## statusbar/topicbar ############################
+
+ # default background for all statusbars. You can also give
+ # the default foreground color for statusbar items.
+ sb_background = "%9";
+
+ # 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 = "%8";
+ # background for topicbar (same default)
+ sb_topic_bg = "%n";
+
+ # 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 = "";
+
+ topicsbstart = "%Y┄─┄$*";
+ topicsbend = "$*";
+
+ prompt = " %b└──┄┄%n ";
+ # prompt = " %K└╼ ";
+
+ sb = " %n %W$*%c %n";
+ sbmode = " %b[%y%y+%C$*%b]";
+ sbaway = " %g/* zZzZ */%n";
+ sbservertag = ":%g$0%n";
+ sbnickmode = "%y$0%W";
+
+ # Usercount
+ sb_usercount = "{sb %_$0%_ nicks ($1-)}";
+ sb_uc_ircops = "%_*%_$*";
+ sb_uc_ops = "%_@%r$*%n";
+ sb_uc_halfops = "%_%%%g$*%n";
+ sb_uc_voices = "%_+%y$*%n";
+ sb_uc_normal = "%w$*%n";
+ sb_uc_space = " ";
+ # activity in statusbar
+
+ # ',' separator
+ sb_act_sep = " ";
+ # normal text
+ sb_act_text = "%x7K%9%k$*%n";
+ # public message
+ sb_act_msg = "%x7o%9%k$*%n";
+ # hilight
+ sb_act_hilight = "%2%9%k$*%n";
+ # hilight with specified color, $0 = color, $1 = text
+ sb_act_hilight_color = "%R%9$1-%n";
+ # required for adv_windowlist
+ #sb_act_none = "%x7M%m$*%n";
+ sb_act_none = "%x7K%9%k$*%n";
+};
+
+########################################################
+
+formats = {
+ "fe-common/core" = {
+ #line_start = "{line_start}";
+ line_start_irssi = "{line_start}";
+
+ servertag = " %b│%n ";
+
+ join = "%Y join %b┄┄─┤ %n{channick $0} %b(%b{nickhost %b$1}%b)%W joined %w$2";
+ part = "%Y part %b┄┄─┤ %n{channick $0} %b(%b{nickhost %b$1}%b)%W left %w$2 {reason %b$3}";
+ quit = "%Y quit %b┄┄─┤ %Wsignoff: %n{channick $0}%b {reason %b$2}";
+ kick = "%r kick %b┄┄─┤ %n{channick $0} was kicked by $2 %W{reason %b$3}";
+ quit_once = "{channel $3} {channick $0} {chanhost $1} %kquit {reason %C$2}";
+
+ nick_changed = " %b┄┼┄%w %n{channick $0} %Y>> %W{channick $1}";
+ your_nick_changed = " %b┄┼┄%w %n{channick $0} %Y>> %W{channick $1}";
+
+ pubmsg = "{pubmsgnick $2 {pubnick $[-7]0}}$1";
+
+ own_msg = "{ownmsgnick $2 {ownnick $[-7]0}}$1";
+ own_msg_channel = "{ownmsgnick $3 {ownnick $[-7]0}{msgchannel $1}}$2";
+ own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-7]2}}$1";
+
+ pubmsg_me = "{pubmsghinick $2 {menick $[-7]0}}$1";
+ pubmsg_me_channel = "{pubmsghinick $3 {menick $[-7]0}{msgchannel $1}}$2";
+
+ pubmsg_hilight = "{pubmsghinick $3 {menick $[-7]1}}$2";
+ pubmsg_hilight_channel = "{pubmsghinick $0 $[-7]1$4{msgchannel $2}}$3";
+
+ pubmsg_channel = "{pubmsgnick {pubnick %g$[-7]0}$2}$1";
+ msg_private_query = "{privmsgnick $[-7]0}$2";
+ new_topic = "%b┌─┄┄─────┘%n\n%b│ %wtopic %M'$2' %Nset by%y $0\n%b└─┄┄─┄┄──┐ ";
+
+ endofnames = "%b└─┄┄─┄┄──┐ %WTotal: {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal%n";
+
+ daychange = " %Y date %b┄┄─┤ %Wday changed to %w%%Y%%m%%d";
+ config_reloaded = "%Y conf %b┄┄─┤ %Wreloaded";
+ server_changed = "%Y serv %b┄┄─┤ %Wchanged to %w$1 %G$2%W";
+ looking_up = "%wlooking up %w{server $0}";
+ connecting = "%wconnecting to {server $0} [%B$1] port %Y$2";
+ connection_established = "%wconnection to {server $0} established";
+ disconnected = "%wdisconnected from {server $0} %b{reason $1}";
+ server_quit = "%wdisconnected from {server $0} %b{reason $1}";
+ connection_lost = "%wconnection lost to {server $0}";
+ current_channel = " %b│ %Wcurrent channel {channel %Y$0}";
+ chanlist_header = " %b│ %Wyou are in the following channels";
+ chanlist_line = " %b│ %#{channel %G$[-10]0} %|%W+$1 %w$2";
+ };
+ "fe-common/irc" = {
+ chanmode_change = "%Y mode %b┄┄─┤ %w{channick $1}%W by %w$2";
+ server_chanmode_change = "%Y mode %b┄┄─┤ %w{channick $1}%W (%w$2%W)";
+ usermode_change = "%wmode {mode $0}%w for {nick $1}";
+
+ action_core = "%c$[-8] %b│ %c$1";
+ own_action = "{ownaction $[-8]0}$1";
+ action_private = "{pvtaction $[-8]0}$1";
+ action_private_query = "{pvtaction_query $[-8]0} $2";
+ action_public = "{pubaction $[-8]0}$1";
+ action_public_channel = "{pubaction $[-8]0{msgchannel $1}}$2";
+ topic = "%Ytopic %b┄┄─┤ %G$0 %M$1";
+ no_topic = "%Ytopic %b┄┄─┤ %Wno topic for %y$0";
+ topic_info = " %b│ %Wset by %y$0 %b($1)";
+ channel_created = " %b│ %bcreated %W$1";
+ channel_synced = "%Y sync %b┄┄─┤%b in {hilight $1} secs";
+ url = " %b│ %Wurl: %g$1";
+ notice_private = " %b│{notice $0{pvtnotice_host $1}}$2";
+ notice_public = "%b│pubnot{notice $0{pubnotice_host $1}}$2";
+ notice_server = "%b│servnot{servernotice $0}$1";
+ own_notice = "%b│ownnot{ownnotice notice $0}$1";
+ };
+ "fe-common/irc/dcc" = {
+ dcc_unknown_ctcp = "{dcc DCC unknown ctcp {hilight $0} from {nick $1} [$2]}";
+ };
+ "Irssi::Script::ichat" = { ichat_timestamp = "%Y>%W> $1 %y>%n"; };
+ "Irssi::Script::adv_windowlist" = {
+ awl_mouse = "no";
+ awl_display_key = "$H $N $C %8▓░$S";
+ awl_display_key_active = "$H%9%6%9%k $N $C %8▓░$S";
+ awl_display_header = "";
+ awl_separator = " ";
+ awl_detach = "(status)";
+ };
+};
diff --git a/irssi/.irssi/scripts/trackbar.pl b/irssi/.irssi/scripts/trackbar.pl
@@ -570,7 +570,7 @@ Irssi::settings_add_str('trackbar', 'trackbar_ignore_windows', '');
Irssi::settings_add_bool('trackbar', 'trackbar_use_status_window', 1);
Irssi::settings_add_bool('trackbar', 'trackbar_print_timestamp', 0);
Irssi::settings_add_bool('trackbar', 'trackbar_require_seen', 0);
-Irssi::settings_add_bool('trackbar', 'trackbar_all_manual', 0);
+Irssi::settings_add_bool('trackbar', 'trackbar_all_manual', 1);
update_config();