From 9bb49d1352c970f666cbf44b0eec11817b2ccb4f Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 26 May 2021 23:30:46 +0430 Subject: fixed the w3m script problems. now using exa. some other small stuff --- irssi/config | 131 ++++++++-------------------------------- irssi/solarized-powerline.theme | 108 +++++++++++++++++++-------------- irssi/startup | 20 +++--- 3 files changed, 97 insertions(+), 162 deletions(-) (limited to 'irssi') diff --git a/irssi/config b/irssi/config index cfb392d..bcb68b0 100644 --- a/irssi/config +++ b/irssi/config @@ -1,118 +1,37 @@ servers = ( - { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; }, - { address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; }, - { address = "irc.esper.net"; chatnet = "EsperNet"; port = "6667"; }, - { - address = "chat.freenode.net"; - chatnet = "Freenode"; - port = "6667"; - }, { - address = "irc.gamesurge.net"; - chatnet = "GameSurge"; - port = "6667"; + address = "irc.gitter.im"; + chatnet = "gitter"; + port = "6697"; + password = ""; + use_tls = "yes"; + tls_verify = "yes"; + autoconnect = "yes"; }, - { address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; }, - { 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 = "6667"; }, - { - address = "irc.quakenet.org"; - chatnet = "QuakeNet"; + address = "terminaldweller.com"; + chatnet = "FRRouting.slack.com"; port = "6667"; - }, - { address = "irc.rizon.net"; chatnet = "Rizon"; port = "6667"; }, - { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; } + password = ""; + use_tls = "no"; + tls_verify = "no"; + 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"; - }; + libera = { type = "IRC"; nick = "terminaldweller"; }; 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"; - }; + gitter = { type = "IRC"; nick = "terminaldweller"; }; + "app.slack.com" = { type = "IRC"; nick = "terminaldweller"; }; + "FRRRouting.slack.com" = { type = "IRC"; }; + "FRRouting.slack.com" = { 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 = "#go-nuts"; chatnet = "freenode"; autojoin = "yes"; }, - { name = "#docker"; chatnet = "freenode"; autojoin = "yes"; } + { name = "#docker"; chatnet = "freenode"; autojoin = "yes"; }, + { name = "#dpdk"; chatnet = "libera"; autojoin = "yes"; } ); aliases = { @@ -404,8 +323,8 @@ settings = { core = { real_name = ""; user_name = "devi"; - nick = "bloodstalker"; - use_proxy = "yes"; + nick = "terminaldweller"; + use_proxy = "no"; proxy_address = "192.168.1.108"; proxy_port = "3128"; proxy_string = "CONNECT %s:%d HTTP/1.0\012\012"; @@ -444,6 +363,6 @@ ignores = ( { level = "JOINS PARTS QUITS NICKS"; channels = ( "#ansible" ); }, { level = "JOINS PARTS QUITS NICKS"; channels = ( "#dpdk" ); }, { level = "JOINS PARTS QUITS NICKS"; channels = ( "#fdio-vpp" ); }, - { level = "JOINS PARTS QUITS NICKS"; channels = ( "#alacritty" ); }, - { level = "JOINS PARTS QUITS NICKS"; channels = ( "#osm" ); } + { level = "JOINS PARTS QUITS NICKS"; channels = ( "#osm" ); }, + { level = "JOINS PARTS QUITS NICKS"; channels = ( "#alacritty" ); } ); diff --git a/irssi/solarized-powerline.theme b/irssi/solarized-powerline.theme index c214262..4bb8d6e 100644 --- a/irssi/solarized-powerline.theme +++ b/irssi/solarized-powerline.theme @@ -89,8 +89,10 @@ abstracts = { # nick is printed nick = "%Zeeeeee{nickcolor $*}"; mynick = "%Zeeeeee{nickcolor $*}"; - inick = "%Zeeeeee{nickcolor $*}"; # Inverted - imynick = "%Zeeeeee{nickcolor $*}"; # Inverted + inick = "%Zeeeeee{nickcolor $*}"; + # Inverted + imynick = "%Zeeeeee{nickcolor $*}"; + # Inverted # nick host is printed # (that's the "email" address of a user) @@ -363,57 +365,71 @@ abstracts = { formats = { "fe-common/core" = { - daychange = " %g-----%k-%W-%n Day changed to %%D %W-%k-%g-----%n"; - join = "%k%z00af5fJOIN %8 {ichannelhilight $2} %0%Z00d700%0 {inick $0}%0 %N%8%n%k%N {chanhost_hilight $1}"; - line_start_irssi = "%k%zff0000IRSSI%N%Zff0000 %N"; - new_topic = "%k%z00d700TOPIC %8 {ichannelhilight $1} by {inick $0}%8  $2"; - nick_changed = "%k%z00d700RENAME %Z00d700%0 {nick $0} %Zff8700 {nick $1} %N%8%n%k%N"; - part = "%k%z00d700PART %8 {ichannelhilight $2}%N %0%Z005f87 %N{inick $0}%0 %k%Zeeeeee {reason $3}"; - quit = "%0%Z005f00%k%z005f00QUIT %N {inick $0}%0 %Zeeeeee %N%n%k%N {reason $2}"; + daychange = " %g-----%k-%W-%n Day changed to %%D %W-%k-%g-----%n"; + join = "%k%z00af5fJOIN %8 {ichannelhilight $2} %0%Z00d700%0 {inick $0}%0 %N%8%n%k%N {chanhost_hilight $1}"; + line_start_irssi = "%k%zff0000IRSSI%N%Zff0000 %N"; + new_topic = "%k%z00d700TOPIC %8 {ichannelhilight $1} by {inick $0}%8  $2"; + nick_changed = "%k%z00d700RENAME %Z00d700%0 {nick $0} %Zff8700 {nick $1} %N%8%n%k%N"; + part = "%k%z00d700PART %8 {ichannelhilight $2}%N %0%Z005f87 %N{inick $0}%0 %k%Zeeeeee {reason $3}"; + quit = "%0%Z005f00%k%z005f00QUIT %N {inick $0}%0 %Zeeeeee %N%n%k%N {reason $2}"; your_nick_changed = "%k%z00d700RENAME %Z00d700%0 {mynick $0} %Zff8700 {mynick $1} %N%8%n%k%N"; + own_msg = "{ownmsgnick $nickalign$2 {ownnick $nickcolor$0$nicktrunc}}$1"; + own_msg_channel = "{ownmsgnick $nickalign$3 {ownnick $nickcolor$0$nicktrunc}{msgchannel $1}}$2"; + own_msg_private_query = "{ownprivmsgnick $nickalign{ownprivnick $nickcolor$2$nicktrunc}}$1"; + pubmsg_me = "{pubmsgmenick $nickalign$2 {menick $0$nicktrunc}}$1"; + pubmsg_me_channel = "{pubmsgmenick $nickalign$3 {menick $0$nicktrunc}{msgchannel $1}}$2"; + pubmsg_hilight = "{pubmsghinick $0 $nickalign$3 $1$nicktrunc}$2"; + pubmsg_hilight_channel = "{pubmsghinick $0 $nickalign$4 $1$nicktrunc{msgchannel $2}}$3"; + pubmsg = "{pubmsgnick $nickalign$2 {pubnick $nickcolor$0$nicktrunc}}$1"; + pubmsg_channel = "{pubmsgnick $nickalign$3 {pubnick $nickcolor$0$nicktrunc}{msgchannel $1}}$2"; + msg_private_query = "{privmsgnick $nickalign$nickcolor$0$nicktrunc}$2"; }; "fe-common/irc" = { - away = "%k%z00d700AWAY %N%k%N"; - banlist = "%p%z00d700BANS %z00d700 $[-3]0 %8 {ichannelhilight $1} %N%8%n%k%N {ban $2}"; - banlist_long = "%p%z00d700BANS %z00d700 $[-3]0 %8 {ichannelhilight $1} {comment by {inick $3}%0%k, $4 secs ago} %N%8%n%k%N {ban $2}"; - chanmode_change = "%k%z008700MODE %N%Z008700%N {channelhilight $0} %Zeeeeee%n {mode $1}%n by {nick $2}"; - channel_created = "%k%N Channel {channelhilight $0} created $1"; - channel_mode = "%k%N mode/{channelhilight $0} {mode $1}"; - ctcp_default_reply = "%W%0%N $0- "; - ctcp_ping_reply = "%k%z005f87 CTCP {hilight PING} reply %n%Z005f87%N {nick $0} %y%N%n $1.$[-3.0]2 seconds "; - ctcp_reply = "%k%z005f87 CTCP {hilight $0} reply %n%Z005f87%N {nick $1} %y%N $2 "; - ctcp_reply_channel = "%k%z005f87 CTCP {hilight $0} reply %n%Z005f87%N {nick $1} %y%N {channel $3} %y%N $2"; - ctcp_requested = "%k%z005f87%8%8 CTCP {hilight $2} from {mynick $4} %n%Z005f87%N by {hilight $0} {comment $1} %y%N $3"; - default_event = "%N%k %N%n$1"; + away = "%k%z00d700AWAY %N%k%N"; + banlist = "%p%z00d700BANS %z00d700 $[-3]0 %8 {ichannelhilight $1} %N%8%n%k%N {ban $2}"; + banlist_long = "%p%z00d700BANS %z00d700 $[-3]0 %8 {ichannelhilight $1} {comment by {inick $3}%0%k, $4 secs ago} %N%8%n%k%N {ban $2}"; + chanmode_change = "%k%z008700MODE %N%Z008700%N {channelhilight $0} %Zeeeeee%n {mode $1}%n by {nick $2}"; + channel_created = "%k%N Channel {channelhilight $0} created $1"; + channel_mode = "%k%N mode/{channelhilight $0} {mode $1}"; + ctcp_default_reply = "%W%0%N $0- "; + ctcp_ping_reply = "%k%z005f87 CTCP {hilight PING} reply %n%Z005f87%N {nick $0} %y%N%n $1.$[-3.0]2 seconds "; + ctcp_reply = "%k%z005f87 CTCP {hilight $0} reply %n%Z005f87%N {nick $1} %y%N $2 "; + ctcp_reply_channel = "%k%z005f87 CTCP {hilight $0} reply %n%Z005f87%N {nick $1} %y%N {channel $3} %y%N $2"; + ctcp_requested = "%k%z005f87%8%8 CTCP {hilight $2} from {mynick $4} %n%Z005f87%N by {hilight $0} {comment $1} %y%N $3"; + default_event = "%N%k %N%n$1"; default_event_server = "%k%z00d700$0 %N%k %N%n$1"; - ebanlist = "%p%z00d700BANS %k exception %8 {ichannelhilight $0} %N%8%n%k%N {ban $1}"; - ebanlist_long = "%p%z00d700BANS %k exception %8 {ichannelhilight $0} {comment by {inick $2}%0%k, $3 secs ago} %N%8%n%k%N {ban $1}"; - end_of_who = "%z00d700%kWHO %N%k%N END"; - end_of_whois = "%z00d700%kWHOIS %N%k%N END"; - end_of_whowas = "%z00d700%kWHOWAS %N%k%N END"; - netsplit = "%k%1%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2"; - netsplit_join = "%k%1 NETSPLIT %k%8%N Joins: $0"; - netsplit_join_more = "%k%1 NETSPLIT %k%8%N Joins: $0 (+$1 more)"; - netsplit_more = "%k%1%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2 (+$3 more, use /NETSPLIT to show all of them)"; - no_topic = "%k%N No topic set for {channelhilight $0}"; - own_ctcp = "%k%z005f87 CTCP {hilight $2-}  {inick $0} %n%Z005f87%N"; + ebanlist = "%p%z00d700BANS %k exception %8 {ichannelhilight $0} %N%8%n%k%N {ban $1}"; + ebanlist_long = "%p%z00d700BANS %k exception %8 {ichannelhilight $0} {comment by {inick $2}%0%k, $3 secs ago} %N%8%n%k%N {ban $1}"; + end_of_who = "%z00d700%kWHO %N%k%N END"; + end_of_whois = "%z00d700%kWHOIS %N%k%N END"; + end_of_whowas = "%z00d700%kWHOWAS %N%k%N END"; + netsplit = "%k%1%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2"; + netsplit_join = "%k%1 NETSPLIT %k%8%N Joins: $0"; + netsplit_join_more = "%k%1 NETSPLIT %k%8%N Joins: $0 (+$1 more)"; + netsplit_more = "%k%1%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2 (+$3 more, use /NETSPLIT to show all of them)"; + no_topic = "%k%N No topic set for {channelhilight $0}"; + own_ctcp = "%k%z005f87 CTCP {hilight $2-}  {inick $0} %n%Z005f87%N"; server_chanmode_change = "%k%1 SERVERMODE %k%8 {channelhilight $0} {mode $1} by {nick $2}"; - topic = "%k%z00d700TOPIC %Z00d700%0%N {channel $0}%N  $1"; - topic_info = "%k%z00d700TOPIC %Z00d700%0%N {nick $0}%N {nickhost $2}  $1"; - unaway = "%k%z00d700AWAY %N%k%N END"; - usermode_change = "%z008700%ZeeeeeeMODE %N%Z008700%N {mode $0}%N for %0{mynick $1}%N"; - who = "%z00d700%kWHO %z005f87%k {inick $[!9]1} %Z005f87 %k$0 %0%g Status: $[!3]2  $[-2]3 hops %N%k%N {nickhost $4@$5} {comment $6}"; - whois = "%z00d700%kWHOIS %N%k%n {nick $0} {nickhost $1@$2}%:{whois ircname $3}"; - whowas = "%z00d700%kWHOWAS %N%k%n {nick $0} {nickhost $1@$2}%:{whois was $3}"; + topic = "%k%z00d700TOPIC %Z00d700%0%N {channel $0}%N  $1"; + topic_info = "%k%z00d700TOPIC %Z00d700%0%N {nick $0}%N {nickhost $2}  $1"; + unaway = "%k%z00d700AWAY %N%k%N END"; + usermode_change = "%z008700%ZeeeeeeMODE %N%Z008700%N {mode $0}%N for %0{mynick $1}%N"; + who = "%z00d700%kWHO %z005f87%k {inick $[!9]1} %Z005f87 %k$0 %0%g Status: $[!3]2  $[-2]3 hops %N%k%N {nickhost $4@$5} {comment $6}"; + whois = "%z00d700%kWHOIS %N%k%n {nick $0} {nickhost $1@$2}%:{whois ircname $3}"; + whowas = "%z00d700%kWHOWAS %N%k%n {nick $0} {nickhost $1@$2}%:{whois was $3}"; + own_action = "$nickalign{ownaction $0$nicktrunc}$1"; + action_private = "$nickalign{pvtaction $0$nicktrunc}$2"; + action_private_query = "$nickalign{pvtaction_query $0$nicktrunc}$2"; + action_public = "$nickalign{pubaction $0$nicktrunc}$1"; }; "Irssi::Script::adv_windowlist" = { - awl_display_header = ""; - awl_display_key = " %0$N  $H$C$S %n"; - awl_display_key_active = "%9%W%Z008700%0%8 %zeeeeee$N  $H$C$S%8 %0%8%8%9%n"; - awl_display_key_visible = "%Z005fff %m$N %k $H$C$S %8%8%n"; - awl_display_nokey = " %0$N  %U$C%U %n"; - awl_display_nokey_active = "%k%z005f87 %k$N %k %U$C%U %8%8%n"; + awl_display_header = ""; + awl_display_key = " %0$N  $H$C$S %n"; + awl_display_key_active = "%9%W%Z008700%0%8 %zeeeeee$N  $H$C$S%8 %0%8%8%9%n"; + awl_display_key_visible = "%Z005fff %m$N %k $H$C$S %8%8%n"; + awl_display_nokey = " %0$N  %U$C%U %n"; + awl_display_nokey_active = "%k%z005f87 %k$N %k %U$C%U %8%8%n"; awl_display_nokey_visible = "%k%z5f5fff %m$N %k %U$C%U %8%8%n"; - awl_separator = ""; + awl_separator = ""; }; }; diff --git a/irssi/startup b/irssi/startup index e18f450..c09f401 100644 --- a/irssi/startup +++ b/irssi/startup @@ -1,11 +1,11 @@ -/load proxy -/SET use_proxy ON -/SET proxy_address 192.168.1.108 -/SET proxy_port 3128 -/SET -clear proxy_string -/SET proxy_string_after conn %s %d -/EVAL SET proxy_string CONNECT %s:%d HTTP/1.0\n\n -/SET -clear proxy_password +/* /load proxy */ +/* /SET use_proxy ON */ +/* /SET proxy_address 192.168.1.108 */ +/* /SET proxy_port 3128 */ +/* /SET -clear proxy_string */ +/* /SET proxy_string_after conn %s %d */ +/* /EVAL SET proxy_string CONNECT %s:%d HTTP/1.0\n\n */ +/* /SET -clear proxy_password */ -/connect irc.freenode.net -/connect OFTC +/connect irc.oftc.net +/connect irc.libera.chat -- cgit v1.2.3