aboutsummaryrefslogtreecommitdiffstats
path: root/irssi
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-02-13 09:49:05 +0000
committerterminaldweller <thabogre@gmail.com>2023-02-13 09:49:05 +0000
commit3d864c067471c657b95979b30c2e5cdc603ad17b (patch)
tree81aec07b3c310a00b50634349838cef345a4a7bf /irssi
parentupdates (diff)
downloadscripts-3d864c067471c657b95979b30c2e5cdc603ad17b.tar.gz
scripts-3d864c067471c657b95979b30c2e5cdc603ad17b.zip
update
Diffstat (limited to 'irssi')
-rw-r--r--irssi/config39
-rwxr-xr-xirssi/irssi.sh2
-rw-r--r--irssi/solarized-powerline.theme19
3 files changed, 51 insertions, 9 deletions
diff --git a/irssi/config b/irssi/config
index 14cf750..8914e06 100644
--- a/irssi/config
+++ b/irssi/config
@@ -207,9 +207,11 @@ channels = (
# { name = "#openssh"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
# { name = "#gdb"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#openbsd"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#lobsters"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#gnupg"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#znc"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#go-nuts"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
+ { name = "#opennic"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "##terminaldweller"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#voidlinux"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
{ name = "#CataclysmDDA"; chatnet = "Libera-ZNC"; autojoin = "yes"; },
@@ -306,7 +308,7 @@ statusbar = {
# treated "normally", you could change the time/user name to whatever
time = "{sb $Z}";
- user = "%z005fff{sb {sbnickmode $[-2]cumode}%k$N %Zeeeeee {sbumode %k$usermode} %Z005fff%0%z005f00{sbaway $A}}%N";
+ user = "%9%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
@@ -315,7 +317,7 @@ statusbar = {
prompt = "please%z005f87{%k%z005f87%9$c $*%w%k$R%w%k$S%w%k$N%w%k$T %N%Z005f87}%n";
prompt_empty = "you%z005f87%k%z005f87%9$c $*%w%k$R%w%k$S%w%k$N%w%k$T %N%Z005f87%n";
- topic = " $topic";
+ topic = "%Z005f00%k%z005f00%N%Z005f00%N %Z5f5faf%9 $topic%N";
topic_empty = " Irssi v$J - http://www.irssi.org";
# all of these treated specially, they're only displayed when needed
@@ -327,6 +329,8 @@ statusbar = {
# 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";
+
+ itime = "%Z005f00%k%z005f00%9 $0 %z005f00";
};
# there's two type of statusbars. root statusbars are either at the top
@@ -354,11 +358,11 @@ statusbar = {
user = { };
window = { };
window_empty = { };
- mh_sbsplitmode = { };
lag = { priority = "-1"; };
more = { priority = "-1"; alignment = "right"; };
otr = { priority = "100"; alignment = "right"; };
usercount = { };
+ inputlength = { alignment = "right"; };
rotator = { alignment = "right"; };
vim_windows_1 = { alignment = "right"; };
vim_mode_1 = { priority = "100"; alignment = "right"; };
@@ -406,6 +410,7 @@ statusbar = {
items = {
barstart = { };
timezones = { };
+ itime = { priority = "1"; alignment = "right"; };
barend = { alignment = "right"; };
};
};
@@ -438,9 +443,26 @@ statusbar = {
barend = { priority = "100"; alignment = "right"; };
};
};
+ awl_3 = {
+ items = {
+ barstart = { priority = "100"; };
+ awl_3 = { };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
+ awl_4 = {
+ items = {
+ barstart = { priority = "100"; };
+ awl_4 = { };
+ barend = { priority = "100"; alignment = "right"; };
+ };
+ };
};
};
settings = {
+ misc = {
+ split_line_end = "↪";
+ }
core = {
real_name = "john doe";
user_name = "devi";
@@ -456,7 +478,8 @@ settings = {
theme = "solarized-powerline";
hilight_color = "%Zd75f5f";
emphasis_italics = "yes";
- emphasis_replace = "yes";
+ emphasis_multiword = "yes";
+ emphasis_replace = "no";
show_names_on_join = "no";
};
"fe-text" = { actlist_sort = "refnum"; };
@@ -508,6 +531,12 @@ settings = {
start_cmd = "yes";
vim_mode_start_cmd = "yes";
vim_mode_max_undo_lines = "100";
+ # inputlength
+ inputlength_width = "0";
+ inputlength_padding_char = "%Z005f00  ";
+ # bitlbee_typing_notice
+ bitlbee_send_typing = "0";
+ bitlbee_typing_allwin = "1";
};
"irc/dcc" = {
dcc_download_path = "~/.irssi/downloads/";
@@ -593,11 +622,13 @@ ignores = (
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#news" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#mednafen" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#forgefed" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#lobsters" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#s6" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#postgresql" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#meta" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#gemini" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#llvm" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#opennic" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#selfhosting" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#irc" ); },
{ level = "CTCPS"; },
diff --git a/irssi/irssi.sh b/irssi/irssi.sh
index 8a37915..7d3d74f 100755
--- a/irssi/irssi.sh
+++ b/irssi/irssi.sh
@@ -8,7 +8,9 @@ wget https://scripts.irssi.org/scripts/desktop_notify.pl
wget https://raw.githubusercontent.com/terminaldweller/irssi-scripts/master/vim-mode/vim_mode.pl
wget https://raw.githubusercontent.com/terminaldweller/irssi-scripts/master/irssi-logger/irssi_logger.pl
wget https://raw.githubusercontent.com/terminaldweller/irssi-scripts/master/hilite-url/hilite_url.pl
+wget https://raw.githubusercontent.com/terminaldweller/irssi-scripts/master/il/il.pl
wget https://scripts.irssi.org/scripts/line_buffer.pl
+wget https://raw.githubusercontent.com/irssi/scripts.irssi.org/master/scripts/itime.pl
wget https://scripts.irssi.org/scripts/messages_bottom.pl
wget https://scripts.irssi.org/scripts/nm2.pl
wget https://scripts.irssi.org/scripts/rotator.pl
diff --git a/irssi/solarized-powerline.theme b/irssi/solarized-powerline.theme
index cc83466..37b0b3f 100644
--- a/irssi/solarized-powerline.theme
+++ b/irssi/solarized-powerline.theme
@@ -88,7 +88,8 @@ abstracts = {
channel = "%Z00af00$*%n";
# nick is printed
- nick = "%z005f87%Zeeeeee{nickcolor $*}";
+ # nick = "%z005f87%Zeeeeee{nickcolor $*}";
+ nick = "%Zeeeeee{nickcolor $*}";
mynick = "%Zeeeeee{nickcolor $*}";
inick = "%Zeeeeee{nickcolor $*}";
# Inverted
@@ -186,19 +187,20 @@ abstracts = {
# private message, $0 = nick, $1 = host
# TODO: To test for Solarized
- privmsg = " %m$0%G<%n$1-%G>%n ";
+ privmsg = " %m$0%G<%n$1-%G>%n %Z005f87";
# private message from you, $0 = "msg", $1 = target nick
# TODO: To test for Solarized
- ownprivmsg = " %Z005f87$0%G<%Z005f87$1-%G>%n ";
+ ownprivmsg = " %Z005f87$0%G<%Z005f87$1-%G>%n %Z005f87";
# own private message in query
- ownprivmsgnick = "%z5f5fff%k{%z5f5fff $*}%N%Z5f5fff %C";
+ ownprivmsgnick = "%z5f5fff%k{%z5f5fff $*}%N%Z5f5fff %Z005f87";
ownprivnick = "%k$*";
# private message in query
# NOTE: for some reason, we gotta handle both the nick & msg on in this line
- privmsgnick = "%5%k{msgnick $*}%N%m %n";
+ # privmsgnick = "%5%k{ %5%k msgnick %m%0%N $*}%N%m %n";
+ privmsgnick = "%z005f00%k{%z005f00%k %z005f00%k $*}%N%Z005f00 %n %Z005f87";
##
## Actions (/ME stuff)
@@ -479,4 +481,11 @@ formats = {
neat_style = ",cp,,,,,,,";
neat_custom_modes = "&%B&%n%Zeeeeee | @%g@%n%Zeeeeee | +%y+%n%Zeeeeee";
};
+ "Irssi::Script::mh_sbsplitmode" = {
+ mh_sbsplitmode_line = "%Zaf5f87{server $0}: $1 {comment $2}";
+ mh_sbsplitmode_line_no_detail = "%Zaf5f87{server $0}: %Zaf5f87 {error $1}";
+ mh_sbsplitmode_info = "%Zaf5f87{server $0} $1 {hilight splitmode}";
+ mh_sbsplitmode_info_details = "%Zaf5f87{server $0} $1 {hilight splitmode} {comment $2}";
+ mh_sbsplitmode_error = "%Zaf5f87{error $0}";
+ }
};