mono.theme (8967B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | # {{{ # # When testing changes, the easiest way to reload the theme is with /RELOAD. # This reloads the configuration file too, so if you did any changes remember # to /SAVE it first. Remember also that /SAVE overwrites the theme file with # old data so keep backups :) # TEMPLATES: # The real text formats that irssi uses are the ones you can find with # /FORMAT command. Back in the old days all the colors and texts were mixed # up in those formats, and it was really hard to change the colors since you # might have had to change them in tens of different places. So, then came # this templating system. # Now the /FORMATs don't have any colors in them, and they also have very # little other styling. Most of the stuff you need to change is in this # theme file. If you can't change something here, you can always go back # to change the /FORMATs directly, they're also saved in these .theme files. # So .. the templates. They're those {blahblah} parts you see all over the # /FORMATs and here. Their usage is simply {name parameter1 parameter2}. # When irssi sees this kind of text, it goes to find "name" from abstracts # block below and sets "parameter1" into $0 and "parameter2" into $1 (you # can have more parameters of course). Templates can have subtemplates. # Here's a small example: # /FORMAT format hello {colorify {underline world}} # abstracts = { colorify = "%W$0-%n"; underline = "%U$0-%U"; } # When irssi expands the templates in "format", the final string would be: # hello %W%Uworld%U%n # ie. underlined bright green "world" text. # and why "$0-", why not "$0"? $0 would only mean the first parameter, # $0- means all the parameters. With {underline hello world} you'd really # want to underline both of the words, not just the hello (and world would # actually be removed entirely). # COLORS: # You can find definitions for the color format codes in docs/formats.txt. # There's one difference here though. %n format. Normally it means the # default color of the terminal (white mostly), but here it means the # "reset color back to the one it was in higher template". For example # if there was /FORMAT test %w{foo}bar, and foo = "%W$0%n", irssi would # print yellow "foo" (as set with %W) but "bar" would be green, which was # set at the beginning before the {foo} template. If there wasn't the %w # at start, the normal behaviour of %n would occur. If you _really_ want # to use the terminal's default color, use %N. # }}} ############################################################################# # # # default foreground color (%N) - -1 is the "default terminal color" default_color = "-1"; # print timestamp/servertag at the end of line, not at beginning info_eol = "true"; # these characters are automatically replaced with specified color # (dark grey by default) replaces = { "[]" = "%w$*%n"; }; abstracts = { # {{{ ############# generic ############################### indent_default = "0"; # text to insert at the beginning of each non-message line # line_start = "%w//%n "; line_start = ""; # timestamp styling, nothing by default timestamp = "%K -- $0%n"; # any kind of text that needs hilighting, default is to bold hilight = "%_$*%_"; # any kind of error message, default is bright red error = "%K$*%n"; # channel name is printed channel = "%N$*%n"; # nick is printed nick = "%_$*%_"; # nick host is printed nickhost = "$*"; # server name is printed server = "%K$*%N"; # some kind of comment is printed comment = "%n(%K$*%n)"; # reason for something is printed (part, quit, kick, ..) reason = "{comment $*}"; # mode change is printed ([+o nick]) mode = "{comment $*}"; ## channel specific messages # highlighted nick/host is printed (joins) channick_hilight = "%K$*%N"; chanhost_hilight = "{nickhost $*}"; # nick/host is printed (parts, quits, etc.) channick = "$*"; chanhost = "{nickhost $*}"; # highlighted channel name is printed channelhilight = "%K$*%n"; # ban/ban exception/invite list mask is printed ban = "$*"; ########### messages ################################# # the basic styling of how to print message, $0 = nick mode, $1 = nick msgnick = "%W$0 %n%|"; # $0 = nick mode, $1 = nick ownnick = "%W$*%n"; # public message in channel, $0 = nick mode, $1 = nick pubnick = "%K$*%n"; # public highlighted message in channel menick = "%K$*%n"; # channel name is printed with message msgchannel = "%K $*%n"; # private message, $0 = nick, $1 = host privmsg = "$0=%w\"$1-\"%n "; # private message from you, $0 = "msg", $1 = target nick ownprivmsg = "$0=%K\"$1-\"%n "; ########## Actions (/ME stuff) ######################### # generic one that's used by most actions action = " $* %|"; # own action, both private/public ownaction = "{action $*}"; # own action with target, both private/public ownaction_target = "{action $*}"; # private action sent by others pvtaction = "{action $*}"; pvtaction_query = "{action $*}"; # public action sent by others pubaction = "{action $*}"; ########## other IRC events ############################# # whois whois = "%K whois $[-8]0 %n- $1"; # notices ownnotice = "%NNote n =%K new%n $0 ($1-) "; notice = "%K$*%n "; pubnotice_channel = " %N($*)"; pvtnotice_host = " %N($*)"; servernotice = " %N($*)"; # CTCPs ownctcp = "%NCTCP c =%K new%n $0 ($1-) "; ctcp = "%N$*%n"; # wallops wallop = "%K$*%n "; wallop_nick = "%n$*"; wallop_action = "%K * $*%n "; # netsplits netsplit = "%K split - \"$*\"%n"; netjoin = "%K split + \"$*\"%n"; # /names list names_users = "%K nicknames list ────"; names_nick = "%_$2$0%_%n$1- "; names_nick_op = "{names_nick $*%K }"; names_nick_halfop = "{names_nick $* %W}"; names_nick_voice = "{names_nick $*%K }"; names_prefix = "%K names %n$1"; names_channel = "\"%w$*\"%n"; # /whois command # DCC dcc = "%w$*%n"; dccfile = "%_$*%_"; # DCC chat, own msg/action dccownmsg = "%K /* $0 ($1-) */"; dccownnick = "$*%n"; dccownquerynick = "$*%n"; dccownaction = "{a┌tion $*}"; dccownaction_target = "{action $*}"; # DCC chat, others dccmsg = "%K/* $1- ($0) */"; dccquerynick = "%K$*%n"; dccaction = "{action $*}"; ######## statusbar/topicbar ############################ # default background for all statusbars. You can also give # the default foreground color for statusbar items. sb_background = "%n"; # default background for "default" statusbar group sb_prompt_bg = "%n"; #prompt = "%K$Z %W> "; #prompt = "%K └─ "; prompt = "%W> %n"; prompt_empty = "%W] %n"; sb = "$*"; sbaway = "%K(%WzzZz%K) %n"; sb_act_sep = " "; sb_act_text = "%n$*"; sb_act_msg = "%w/%K$*%n"; sb_act_hilight = "%W+%K$*%n"; sb_act_hilight_color = "%W+%K$1-%n"; }; # }}} ######################################################## formats = { # {{{ "fe-common/core" = { # {{{ line_start = "{line_start}"; line_start_irssi = "{line_start}"; join = "%K + {channick $0}: {nickhost $1}"; part = "%K - {channick $0}: {reason $3}"; quit = "%K - {channick $0}: {reason $2}"; kick = "%K < {channick $0}: {reason $3}"; nick_changed = "%K : {channick $0} > {channick $1}"; your_nick_changed = "%K : {channick $0} > {channick $1}"; pubmsg = "{msgnick $[-8]0}$1"; own_msg = "{msgnick $[-8]0}$1"; own_msg_channel = "{msgnick $[-8]0}{msgchannel $1}}$2"; own_msg_private_query = " $1"; pubmsg_me = "{msgnick $[-8]0}%W$1"; pubmsg_me_channel = "{msgnick $[-8]0}{msgchannel $1}}$2"; pubmsg_hilight = "{msgnick $[-8]1}%W$2"; pubmsg_hilight_channel = "{msgnick $[-8]1}%W$4{msgchannel $2}$3"; pubmsg_channel = "{msgnick $[-8]0}$1"; msg_private_query = "%W> $2"; new_topic = "{msgnick $[-8]1}%Ktopic '$2' -- $0"; endofnames = "%K end of nick list ──"; }; # }}} "fe-common/irc" = { # {{{ chanmode_change = "%K : {channick $1}"; server_chanmode_change = "%K : {channick $1}"; whois = "%K who is $0 ? ─────"; end_of_whois = "%K end of whois ─────"; own_action = "{action %W$0}$1"; action_private = "{action %W$0}$1"; action_private_query = "{action %W$0}$2"; action_public = "{action %W$0}$1"; topic = "{msgnick%K $[-8]0}topic '$*'"; topic_info = "{msgnick%K $[-8]C}set by $0 ($1)"; }; # }}} }; # }}} |