aboutsummaryrefslogtreecommitdiffstats
path: root/irssi
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-17 15:53:44 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-17 15:53:44 +0000
commitc94222d3c29789909f761aff31777bdc5b036c9c (patch)
treed1749737e9209556493a61e435dbae3371dba407 /irssi
parentupdate (diff)
downloadscripts-c94222d3c29789909f761aff31777bdc5b036c9c.tar.gz
scripts-c94222d3c29789909f761aff31777bdc5b036c9c.zip
bunch of stuff
Diffstat (limited to '')
-rw-r--r--irssi/config34
-rwxr-xr-xirssi/irssi.sh3
-rw-r--r--irssi/solarized-powerline.theme10
3 files changed, 37 insertions, 10 deletions
diff --git a/irssi/config b/irssi/config
index bfb983e..7823a8d 100644
--- a/irssi/config
+++ b/irssi/config
@@ -70,6 +70,22 @@ servers = (
use_tls = "yes";
tls_verify = "no";
autoconnect = "yes";
+ },
+ {
+ address = "efnet.port80.se";
+ chatnet = "EFnet";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "no";
+ autoconnect = "yes";
+ },
+ {
+ address = "irc.dal.net";
+ chatnet = "DALnet";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
+ autoconnect = "yes";
}
);
@@ -89,6 +105,8 @@ chatnets = {
Rizon = { type = "IRC"; };
IRCNet = { type = "IRC"; };
"Undernet-ZNC" = { type = "IRC"; };
+ EFnet = { type = "IRC"; };
+ DALnet = { type = "IRC"; };
};
channels = (
@@ -283,7 +301,6 @@ statusbar = {
time = "{sb $Z}";
user = "%z005fff{sb {sbnickmode $[-2]cumode}%k$N %Zeeeeee {sbumode %k$usermode} %Z005fff%0%z005f00{sbaway $A}}%N";
-
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
window = " %Z00af00{sb $tag/{channel $itemname} %C {sbmode $M}} %C%n ";
@@ -299,6 +316,10 @@ statusbar = {
lag = "{sb %0%Zff8700%zff8700%k ⌚ $0 %Zff8700%0%N}";
act = "{sb %Zeeeeee%0%n%z005fff %F$0%F %N}";
more = "%c%0%n%z00af00 more ⬇ %c%0%N";
+
+ # vim_mode
+ vim_mode_1 = "%z005f5f%Zffffff%z005f5f%k%9 $vim_cmd_mode%N";
+ vim_windows_1 = "%Z005f5f%0%z005f5f%k%9 $vim_wins%z005f5f";
};
# there's two type of statusbars. root statusbars are either at the top
@@ -322,16 +343,20 @@ statusbar = {
# list of items in statusbar in the display order
items = {
barstart = { priority = "100"; };
+
user = { };
window = { };
window_empty = { };
mh_sbsplitmode = { };
lag = { priority = "-1"; };
more = { priority = "-1"; alignment = "right"; };
- barend = { priority = "100"; alignment = "right"; };
- otr = { };
+ otr = { priority = "100"; alignment = "right"; };
usercount = { };
- rotator = { };
+ rotator = { alignment = "right"; };
+ vim_windows_1 = { alignment = "right"; };
+ vim_mode_1 = { priority = "100"; alignment = "right"; };
+
+ barend = { priority = "100"; alignment = "right"; };
};
};
@@ -455,6 +480,7 @@ settings = {
timezones = "GMT:GMT EST:EST CET:CET Tehran:Asia/Tehran Tokyo:Asia/Tokyo Montreal:America/Montreal Pacific:America/Los_Angeles Paris:Europe/Paris";
# hilite_url
url_color = "38;5;6";
+ hilite_url = "38;5;6";
# rotator
rotator_chars = ". o 0 O";
rotator_speed = "1000";
diff --git a/irssi/irssi.sh b/irssi/irssi.sh
index 33d348c..779c170 100755
--- a/irssi/irssi.sh
+++ b/irssi/irssi.sh
@@ -19,8 +19,9 @@ wget https://scripts.irssi.org/scripts/scriptassist.pl
wget https://scripts.irssi.org/scripts/tordetect.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/uberprompt.pl
wget https://scripts.irssi.org/scripts/bitlbee_tab_completion.pl
+wget https://raw.githubusercontent.com/shabble/irssi-scripts/master/vim-mode/vim_mode.pl
cd ~/scripts/irssi
cp ./config ~/.irssi/config
diff --git a/irssi/solarized-powerline.theme b/irssi/solarized-powerline.theme
index 7bc04e4..c079bac 100644
--- a/irssi/solarized-powerline.theme
+++ b/irssi/solarized-powerline.theme
@@ -88,7 +88,7 @@ abstracts = {
channel = "%Z00af00$*%n";
# nick is printed
- nick = "%Zeeeeee{nickcolor $*}";
+ nick = "%z005f87%Zeeeeee{nickcolor $*}";
mynick = "%Zeeeeee{nickcolor $*}";
inick = "%Zeeeeee{nickcolor $*}";
# Inverted
@@ -322,7 +322,7 @@ abstracts = {
topicsbstart = "{sbstart $*}";
topicsbend = "{sbend $*}";
- prompt = "%k%z005f87$c $* %N%Z005f87%n ";
+ prompt = "%k%z005f87%9$c $*%w%k$R%w%k$S%w%k$N%w%k$T %N%Z005f87%n ";
# This controls each part of a statusbar, including the outer brackets of adv_windowlist
sb = "$*";
@@ -447,9 +447,9 @@ formats = {
topic_info = "%k%z00d700TOPIC %Z00d700%0%N {nick $0}%N {nickhost $2}  $1";
unaway = "%k%z00d700AWAY %Z00d700%0%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 %Z00d700%0%n {nick $0} {nickhost $1@$2}%:{whois ircname $3}";
- whowas = "%z00d700%kWHOWAS %Z00d700%0%n {nick $0} {nickhost $1@$2}%:{whois was $3}";
+ who = "%z00d700%kWHO %Z00d700%z005f87 %z005f87%k{inick $[!9]1} %Z005f87%2 %k$0 %0%g Status: $[!3]2  $[-2]3 hops %N%g%N {nickhost $4@$5} {comment $6}";
+ whois = "%z00d700%kWHOIS %Z00d700%z005f87 {nick $0} %Z005f87%0 {nickhost $1@$2}%:{whois ircname $3}";
+ whowas = "%z00d700%kWHOWAS %Z00d700%0%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";