dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 84188a01ff87ae7ec06c4759c3cb74dd03327ccf
parent 2199ff6a68399ea8e9189d6d3d7e4d5517d5d83a
Author: z3bra <willy@mailoo.org>
Date:   Tue Nov  4 13:59:14 2014

New irssi theme: mono

Diffstat:
 irssi/mono.theme | 287 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 287 insertions(+), 0 deletions(-)

diff --git a/irssi/mono.theme b/irssi/mono.theme @@ -0,0 +1,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)"; + }; + # }}} +}; +# }}} +