From 47e7770dc4aac0cc8767935558a0c8cae74632c1 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 30 Sep 2021 05:44:13 +0330 Subject: opewrt,haproxy,nginx,ejabberd,.... --- irssi/config | 11 +++++---- irssi/irssi.sh | 3 +++ irssi/solarized-powerline.theme | 53 +++++++++++++++++++++++++++++++++-------- irssi/startup | 22 ++++++++--------- 4 files changed, 63 insertions(+), 26 deletions(-) (limited to 'irssi') diff --git a/irssi/config b/irssi/config index f8a482e..4a8f259 100644 --- a/irssi/config +++ b/irssi/config @@ -21,14 +21,14 @@ servers = ( chatnet = "libera"; autoconnect = "yes"; }, - { address = "irc.oftc.net"; chatnet = "oftc"; autoconnect = "yes"; } + { address = "irc.oftc.net"; chatnet = "oftc"; autoconnect = "yes"; }, + { address = "localhost"; port = "6667"; chatnet = "bitlbee"; autoconnect = "yes"; } ); chatnets = { libera = { type = "IRC"; nick = "terminaldweller"; }; OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; }; gitter = { type = "IRC"; nick = "terminaldweller"; }; - "app.slack.com" = { type = "IRC"; nick = "terminaldweller"; }; "FRRouting.slack.com" = { type = "IRC"; }; }; @@ -338,12 +338,12 @@ statusbar = { }; settings = { core = { - real_name = ""; + real_name = "john doe"; user_name = "devi"; nick = "terminaldweller"; use_proxy = "no"; - proxy_address = "192.168.1.108"; - proxy_port = "3128"; + proxy_address = "127.0.0.1"; + proxy_port = "9050"; proxy_string = "CONNECT %s:%d HTTP/1.0\012\012"; proxy_string_after = "conn %s %d"; proxy_password = ""; @@ -382,6 +382,7 @@ keyboard = ( ); ignores = ( { level = "JOINS PARTS QUITS NICKS"; channels = ( "#docker" ); }, + { level = "JOINS PARTS QUITS NICKS"; channels = ( "#voidlinux" ); }, { level = "JOINS PARTS QUITS NICKS"; channels = ( "#node.js" ); }, { level = "JOINS PARTS QUITS NICKS"; channels = ( "#ansible" ); }, { level = "JOINS PARTS QUITS NICKS"; channels = ( "#dpdk" ); }, diff --git a/irssi/irssi.sh b/irssi/irssi.sh index 79fab9b..240f86f 100755 --- a/irssi/irssi.sh +++ b/irssi/irssi.sh @@ -19,6 +19,9 @@ wget https://scripts.irssi.org/scripts/scriptassist.pl wget https://scripts.irssi.org/scripts/tordetect.pl wget https://scripts.irssi.org/scripts/timezones.pl wget https://scripts.irssi.org/scripts/usercount.pl +# wget https://scripts.irssi.org/scripts/bitlbee_typing_notice.pl +# wget https://scripts.irssi.org/scripts/uberprompt.pl +wget https://scripts.irssi.org/scripts/bitlbee_tab_completion.pl cp ./config ~/.irssi/config cp ./solarized-powerline.theme ~/.irssi/solarized-powerline.theme diff --git a/irssi/solarized-powerline.theme b/irssi/solarized-powerline.theme index cd857b2..56895f0 100644 --- a/irssi/solarized-powerline.theme +++ b/irssi/solarized-powerline.theme @@ -82,7 +82,7 @@ abstracts = { hilight = "$*"; # any kind of error message - error = "%z5f5fd7$*%n"; + error = "%Zff8700$*%n"; # channel name is printed channel = "%Z00af00$*%n"; @@ -104,7 +104,7 @@ abstracts = { iserver = "%Zeeeeee%z00af00$*%n"; # some kind of comment is printed - comment = " $*"; + comment = "%Zff8700  %N $*"; # reason for something is printed (part, quit, kick, ..) reason = "$*"; @@ -259,7 +259,7 @@ abstracts = { # /names list names_prefix = "%N%k%n"; names_nick = " %G$0$1-%N  "; - names_nick_op = " %k$0$_$1-%n  "; + names_nick_op = " %g$0$_$1-%n  "; names_nick_halfop = " %Y$_$0$_$1-%n  "; names_nick_voice = " %C$_$0$_$1-%n  "; names_users = "%k%z005f87 $* %Z005f87%0%n"; @@ -348,7 +348,7 @@ abstracts = { # hilight with specified color, $0 = color, $1 = text sb_act_hilight_color = "%z5f5fd7$1-"; - ### For usercount.pl script + # For usercount.pl script sb_usercount = "%Z000000%z005faf%Z000000%z005faf{sb $0 nicks %Zeeeeee %Z000000$1-%Z005faf%z000000}"; sb_uc_ircops = "%Z000000%z005faf*$*"; sb_uc_ops = "%Z000000%z005faf@$*"; @@ -357,10 +357,43 @@ abstracts = { sb_uc_normal = "$*"; sb_uc_space = " "; - ### For adv_windowlist.pl script - + # For adv_windowlist.pl script # Mentioned in adv_windowlist but not default_theme sb_act_none = "$*"; + + # for dcc stats + # $0 = sb_ds_short(_waiting)/sb_ds_normal(_waiting) + sb_dccstat = "{sb $0-}"; + # $0 = G/S + # $1 = filename + # $2 = transfer speed + # $3 = percent + # $4 = progressbar + sb_ds_short = "$0%G:%n$1%Y@%n$2kB/s%G:%n$4%G:%n$3"; + # $0 = G/S + # $1 = filename + # $2 = to/from + # $3 = nick + sb_ds_short_waiting = "$0%G:%n$1 $2 $3 waiting"; + # $0 = GET/SEND + # $1 = nick + # $2 = filename + # $3 = transferred amount + # $4 = full filesize + # $5 = percent + # $6 = speed + # $7 = ETA + # $8 = progressbar + # $9 = rotator thingy :) + sb_ds_normal = "$0 $1: '$2' $3 of $4 [$8] $9 ($5) $6kB/s ETA: $7"; + # $0 = GET/SEND + # $1 = nick + # $2 = filename + # $3 = full filesize + # $4 = to/from + # $5 = nick + sb_ds_normal_waiting = "$0 $1: '$2' $3 $4 $5 waiting"; + sb_ds_separator = ", "; }; formats = { @@ -403,10 +436,10 @@ formats = { 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%z8787ff%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2"; - netsplit_join = "%k%z8787ff NETSPLIT %k%8%N Joins: $0"; - netsplit_join_more = "%k%z8787ff NETSPLIT %k%8%N Joins: $0 (+$1 more)"; - netsplit_more = "%k%z8787ff%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)"; + netsplit = "%k%z8787ff%8%8 NETSPLIT %k%0%8 {iserver $0} %z00d700%8 {iserver $1}%8 %N%8%n%k%N Quits: $2"; + netsplit_join = "%k%z8787ff NETSPLIT %k%8%N Joins: $0"; + netsplit_join_more = "%k%z8787ff NETSPLIT %k%8%N Joins: $0 (+$1 more)"; + netsplit_more = "%k%z8787ff%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%z8787ff SERVERMODE %k%8 {channelhilight $0} {mode $1} by {nick $2}"; diff --git a/irssi/startup b/irssi/startup index dc00ef6..5dcc7ae 100644 --- a/irssi/startup +++ b/irssi/startup @@ -1,13 +1,13 @@ -/* /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.oftc.net */ -/* /connect irc.libera.chat */ +#/connect irc.oftc.net +#/connect irc.libera.chat load otr -load xmpp +#load xmpp -- cgit v1.2.3