rainbow-dark: less white in message bodies; irssi: /wN window aliases

rainbow-dark.theme:
- Message body text now tinted dim grey (%w) instead of inheriting
  terminal-default (usually stark white) — done via a trailing %w in
  the msgnick template.
- Own nick in public, private, and DCC contexts switches from bold
  white (%W) to bold bright magenta (%M) so 'you' stays distinct but
  stops looking like every other bright-white element.
- Action bodies (public, private, DCC) get the same %w dim-grey tint.

.irssi/config: add W1..W99 aliases so /w1, /w2, ... /w99 jump
directly to that window (pair to the existing bare numeric /1 /2
aliases, for users whose muscle memory has 'w' in it).
This commit is contained in:
2026-04-21 08:25:38 -07:00
parent af13d65e7d
commit 6bbe277ea9
2 changed files with 110 additions and 8 deletions

View File

@@ -173,6 +173,105 @@ aliases = {
WN = "WINDOW NEW HIDDEN"; WN = "WINDOW NEW HIDDEN";
WQUERY = "QUERY -window"; WQUERY = "QUERY -window";
WW = "WHOWAS"; WW = "WHOWAS";
W1 = "WINDOW GOTO 1";
W2 = "WINDOW GOTO 2";
W3 = "WINDOW GOTO 3";
W4 = "WINDOW GOTO 4";
W5 = "WINDOW GOTO 5";
W6 = "WINDOW GOTO 6";
W7 = "WINDOW GOTO 7";
W8 = "WINDOW GOTO 8";
W9 = "WINDOW GOTO 9";
W10 = "WINDOW GOTO 10";
W11 = "WINDOW GOTO 11";
W12 = "WINDOW GOTO 12";
W13 = "WINDOW GOTO 13";
W14 = "WINDOW GOTO 14";
W15 = "WINDOW GOTO 15";
W16 = "WINDOW GOTO 16";
W17 = "WINDOW GOTO 17";
W18 = "WINDOW GOTO 18";
W19 = "WINDOW GOTO 19";
W20 = "WINDOW GOTO 20";
W21 = "WINDOW GOTO 21";
W22 = "WINDOW GOTO 22";
W23 = "WINDOW GOTO 23";
W24 = "WINDOW GOTO 24";
W25 = "WINDOW GOTO 25";
W26 = "WINDOW GOTO 26";
W27 = "WINDOW GOTO 27";
W28 = "WINDOW GOTO 28";
W29 = "WINDOW GOTO 29";
W30 = "WINDOW GOTO 30";
W31 = "WINDOW GOTO 31";
W32 = "WINDOW GOTO 32";
W33 = "WINDOW GOTO 33";
W34 = "WINDOW GOTO 34";
W35 = "WINDOW GOTO 35";
W36 = "WINDOW GOTO 36";
W37 = "WINDOW GOTO 37";
W38 = "WINDOW GOTO 38";
W39 = "WINDOW GOTO 39";
W40 = "WINDOW GOTO 40";
W41 = "WINDOW GOTO 41";
W42 = "WINDOW GOTO 42";
W43 = "WINDOW GOTO 43";
W44 = "WINDOW GOTO 44";
W45 = "WINDOW GOTO 45";
W46 = "WINDOW GOTO 46";
W47 = "WINDOW GOTO 47";
W48 = "WINDOW GOTO 48";
W49 = "WINDOW GOTO 49";
W50 = "WINDOW GOTO 50";
W51 = "WINDOW GOTO 51";
W52 = "WINDOW GOTO 52";
W53 = "WINDOW GOTO 53";
W54 = "WINDOW GOTO 54";
W55 = "WINDOW GOTO 55";
W56 = "WINDOW GOTO 56";
W57 = "WINDOW GOTO 57";
W58 = "WINDOW GOTO 58";
W59 = "WINDOW GOTO 59";
W60 = "WINDOW GOTO 60";
W61 = "WINDOW GOTO 61";
W62 = "WINDOW GOTO 62";
W63 = "WINDOW GOTO 63";
W64 = "WINDOW GOTO 64";
W65 = "WINDOW GOTO 65";
W66 = "WINDOW GOTO 66";
W67 = "WINDOW GOTO 67";
W68 = "WINDOW GOTO 68";
W69 = "WINDOW GOTO 69";
W70 = "WINDOW GOTO 70";
W71 = "WINDOW GOTO 71";
W72 = "WINDOW GOTO 72";
W73 = "WINDOW GOTO 73";
W74 = "WINDOW GOTO 74";
W75 = "WINDOW GOTO 75";
W76 = "WINDOW GOTO 76";
W77 = "WINDOW GOTO 77";
W78 = "WINDOW GOTO 78";
W79 = "WINDOW GOTO 79";
W80 = "WINDOW GOTO 80";
W81 = "WINDOW GOTO 81";
W82 = "WINDOW GOTO 82";
W83 = "WINDOW GOTO 83";
W84 = "WINDOW GOTO 84";
W85 = "WINDOW GOTO 85";
W86 = "WINDOW GOTO 86";
W87 = "WINDOW GOTO 87";
W88 = "WINDOW GOTO 88";
W89 = "WINDOW GOTO 89";
W90 = "WINDOW GOTO 90";
W91 = "WINDOW GOTO 91";
W92 = "WINDOW GOTO 92";
W93 = "WINDOW GOTO 93";
W94 = "WINDOW GOTO 94";
W95 = "WINDOW GOTO 95";
W96 = "WINDOW GOTO 96";
W97 = "WINDOW GOTO 97";
W98 = "WINDOW GOTO 98";
W99 = "WINDOW GOTO 99";
1 = "WINDOW GOTO 1"; 1 = "WINDOW GOTO 1";
2 = "WINDOW GOTO 2"; 2 = "WINDOW GOTO 2";
3 = "WINDOW GOTO 3"; 3 = "WINDOW GOTO 3";

View File

@@ -77,11 +77,13 @@ abstracts = {
## ##
# Angle brackets around nicks stay dark grey so the nick color is the star. # Angle brackets around nicks stay dark grey so the nick color is the star.
msgnick = "%K<%n$0$1-%K>%n %|"; # Trailing %w tints the message body dim grey so it doesn't compete with
# the rainbow accents.
msgnick = "%K<%n$0$1-%K>%n %|%w";
# Messages from you. # Messages from you.
ownmsgnick = "{msgnick $0 $1-}"; ownmsgnick = "{msgnick $0 $1-}";
ownnick = "%_%W$*%n%_"; ownnick = "%_%M$*%n%_";
# Normal public messages — nick gets a bright cyan. # Normal public messages — nick gets a bright cyan.
pubmsgnick = "{msgnick $0 $1-}"; pubmsgnick = "{msgnick $0 $1-}";
@@ -103,21 +105,22 @@ abstracts = {
# Private message in a query window. # Private message in a query window.
ownprivmsgnick = "{msgnick $*}"; ownprivmsgnick = "{msgnick $*}";
ownprivnick = "%_%W$*%n%_"; ownprivnick = "%_%M$*%n%_";
privmsgnick = "{msgnick %_%M$*%n%_}"; privmsgnick = "{msgnick %_%M$*%n%_}";
## ##
## Actions (/me) ## Actions (/me)
## ##
# Bright yellow asterisks so actions are unmistakable. # Bright yellow asterisks so actions are unmistakable. Action text in dim
action_core = "%_%Y * %n$*%n"; # grey to match ordinary message bodies.
action_core = "%_%Y * %n%w$*%n";
action = "{action_core $*} "; action = "{action_core $*} ";
ownaction = "{action $*}"; ownaction = "{action $*}";
ownaction_target = "{action_core $0}%K:%M$1%n "; ownaction_target = "{action_core $0}%K:%M$1%n ";
# Private actions get a parenthesized asterisk; keep it in bright yellow. # Private actions get a parenthesized asterisk; keep it in bright yellow.
pvtaction = "%_%Y (*) %n$*%n "; pvtaction = "%_%Y (*) %n%w$*%n ";
pvtaction_query = "{action $*}"; pvtaction_query = "{action $*}";
pubaction = "{action $*}"; pubaction = "{action $*}";
@@ -166,14 +169,14 @@ abstracts = {
# DCC chat, own msg/action # DCC chat, own msg/action
dccownmsg = "[%_%r$0%_%K($1-%K)%n] "; dccownmsg = "[%_%r$0%_%K($1-%K)%n] ";
dccownnick = "%_%R$*%n%_"; dccownnick = "%_%R$*%n%_";
dccownquerynick = "%_%W$*%n%_"; dccownquerynick = "%_%M$*%n%_";
dccownaction = "{action $*}"; dccownaction = "{action $*}";
dccownaction_target = "{action_core $0}%K:%M$1%n "; dccownaction_target = "{action_core $0}%K:%M$1%n ";
# DCC chat, others # DCC chat, others
dccmsg = "[%_%G$1-%_%K(%g$0%K)%n] "; dccmsg = "[%_%G$1-%_%K(%g$0%K)%n] ";
dccquerynick = "%_%G$*%n%_"; dccquerynick = "%_%G$*%n%_";
dccaction = "%_%Y (*dcc*) %n$*%n %|"; dccaction = "%_%Y (*dcc*) %n%w$*%n %|";
## ##
## statusbar — the rainbow lives here ## statusbar — the rainbow lives here