Merged from silc_1_0_branch.
[silc.git] / apps / irssi / default.theme
index 501a161797d60081456a0615c290caf62098ff50..1e2dca6f6ec73d1e7dc3571c984991d88b80db64 100644 (file)
@@ -10,7 +10,7 @@
 # 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
 
 #############################################################################
 
-# default foreground color (%N) - 0 is the "default terminal color"
-default_color = 0;
-# default foreground color when "0" can't be used,
-# such as with bolds and reverses. white is default.
-default_real_color = 7;
+# default foreground color (%N) - 0 is the "default terminal color" 
+default_color = "-1";
+
+# print timestamp/servertag at the end of line, not at beginning
+info_eol = "false";
 
 # these characters are automatically replaced with specified color
 # (dark grey by default)
-replaces = { "[]<>=" = "%K$0-%n"; };
+replaces = { "()=" = "%K$*%n"; };
+#replaces = {};
 
 abstracts = {
   ##
@@ -63,10 +64,10 @@ abstracts = {
   ##
 
   # text to insert at the beginning of each non-message line
-  line_start = "%B-%W!%B-%n ";
+  line_start = "*** ";
 
   # timestamp styling, nothing by default
-  timestamp = "$0-";
+  timestamp = "[$0-]";
 
   # any kind of text that needs hilighting, default is to bold
   hilight = "%_$0-%_";
@@ -75,50 +76,71 @@ abstracts = {
   error = "%R$0-%n";
 
   # channel name is printed
-  channel = "%_$0-%_";
+  channel = "%c$0-%n";
 
   # nick is printed
-  nick = "%_$0-%_";
+  nick = "%c$0-%n";
 
   # nick host is printed
-  nickhost = "[$0-]";
+  nickhost = "($0-)";
 
   # server name is printed
-  server = "%_$0-%_";
+  server = "$0-";
 
   # some kind of comment is printed
-  comment = "[$0-]";
+  comment = "($0-)";
 
   # reason for something is printed (part, quit, kick, ..)
   reason = "{comment $0-}";
 
-  # mode change is printed ([+o nick])
-  mode = "{comment $0-}";
+  # mode change is printed
+  mode = "[$0-]";
 
   ##
   ## channel specific messages
   ##
 
   # highlighted nick/host is printed (joins)
-  channick_hilight = "%C$0-%n";
+  channick_hilight = "%c$0-%n";
   chanhost_hilight = "{nickhost %c$0-%n}";
 
   # nick/host is printed (parts, quits, etc.)
-  channick = "%c$0-%n";
+  channick = "$0-";
   chanhost = "{nickhost $0-}";
 
   # highlighted channel name is printed
   channelhilight = "%c$0-%n";
 
   # ban/ban exception/invite list mask is printed
-  ban = "%c$0-%n";
+  ban = "$0-";
+
+  ##
+  ## Action (/ME command)
+  ##
+
+  # Generic action
+  action = "%Y* $0 $1-";
+
+  # Own sent action
+  ownaction = "%c* $0 $1-";
+
+  ##
+  ## Notice (/NOTICE command)
+  ##
+
+  # Generic notice
+  notice = "%C- $0 $1-";
+
+  # Own sent notice
+  ownnotice = "%g- $0 $1-";
+
 
   ##
   ## messages
   ##
 
   # the basic styling of how to print message, $0 = nick mode, $1 = nick
-  msgnick = "<$0$1-> %|";
+  msgnick = "%c%|<$0$1->%n ";
 
   # message from you is printed. "msgownnick" specifies the styling of the
   # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
@@ -132,129 +154,191 @@ abstracts = {
   # Example2.2: But you still want to keep <> grey for other messages:
   #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
   #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
-  #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
+  #  pubmsghinick = "%K{msgnick $1 $0$2-%K}%n";
   #  ownprivmsgnick = "%K{msgnick  $0-%K}%n";
   #  privmsgnick = "%K{msgnick  %R$0-%K}%n";
 
   # $0 = nick mode, $1 = nick
-  ownmsgnick = "{msgnick $0 $1-}";
-  ownnick = "%W$0-%n";
+  ownmsgnick = "{msgnick $0 $1-}%g";
+  ownnick = "$0-";
 
   # public message in channel, $0 = nick mode, $1 = nick
   pubmsgnick = "{msgnick $0 $1-}";
-  pubnick = "%N$0-%n";
+  pubnick = "$0-";
 
   # public message in channel meant for me, $0 = nick mode, $1 = nick
-  pubmsgmenick = "{msgnick $0 $1-}";
-  menick = "%Y$0-%n";
+  pubmsgmenick = "%g<$0$1->%n %|";
+  menick = "$0-";
 
   # public highlighted message in channel
   # $0 = highlight color, $1 = nick mode, $2 = nick
-  pubmsghinick = "{msgnick $1 $0$2-%n}";
+  pubmsghinick = "{msgnick $1 $2-}$0";
 
   # channel name is printed with message
-  msgchannel = "%K:%c$0-%n";
+  msgchannel = "%w|%c$0-";
 
   # private message, $0 = nick, $1 = host
-  privmsg = "[%R$0%K(%r$1-%K)%n] ";
+  privmsg = "*%c$0%n* ";
 
   # private message from you, $0 = "msg", $1 = target nick
-  ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
-
-  # own private message in query
-  ownprivmsgnick = "{msgnick  $0-}";
-  ownprivnick = "%W$0-%n";
+  ownprivmsg = "->*%c$1-%n* %g";
 
   # private message in query
-  privmsgnick = "{msgnick  %R$0-%n}";
+  privmsgnick = "*%c$0%n* ";
 
-  ##
-  ## Actions (/ME stuff)
-  ##
-
-  # used internally by this theme
-  action_core = "%W * $0-%n";
-
-  # generic one that's used by most actions
-  action = "{action_core $0-} ";
-
-  # own action, both private/public
-  ownaction = "{action $0-}";
-
-  # own action with target, both private/public
-  ownaction_target = "{action_core $0}%K:%c$1%n ";
-
-  # private action sent by others
-  pvtaction = "%W (*) $0-%n ";
-  pvtaction_query = "{action $0-}";
-
-  # public action sent by others
-  pubaction = "{action $0-}";
+  # own private message in query
+  ownprivmsgnick = "->*%c$0%n* %g$1-";
+  ownprivnick = "$0-";
 
 
   ##
   ## other IRC events
   ##
 
-  # notices
-  ownnotice = "[%r$0%K(%R$1-%K)]%n ";
-  notice = "%K-%M$0-%K-%n ";
-  pubnotice_channel = "%K:%m$0-";
-  pvtnotice_host = "%K(%m$0-%K)";
-  servernotice = "%g!$0-%n ";
-
   # CTCPs
-  ownctcp = "[%r$0%K(%R$1-%K)] ";
-  ctcp = "%g$0-%n";
+  ownctcp = "[$0$1-] ";
+  ctcp = "$0-";
 
   # wallops
-  wallop = "%W$0-%n: ";
-  wallop_nick = "%n$0-";
-  wallop_action = "%W * $0-%n ";
+  wallop = "$0-: ";
+  wallop_nick = "$0-";
+  wallop_action = " * $0- ";
 
   # netsplits
-  netsplit = "%R$0-%n";
+  netsplit = "%c$0-%n";
   netjoin = "%C$0-%n";
 
   # /names list
-  names_nick = "[%_$0%_$1-] ";
-  names_users = "[%g$0-%n]";
-  names_channel = "%G$0-%n";
+  names_prefix = "";
+  names_nick = "[ %n%_$0%_$1- ] ";
+  names_nick_op = "{names_nick $*}";
+  names_users = "$0-";
+  names_channel = "{channel $0-}";
 
   # DCC
-  dcc = "%g$0-%n";
+  dcc = "$0-";
   dccfile = "%_$0-%_";
 
   # DCC chat, own msg/action
-  dccownmsg = "[%r$0%K($1-%K)%n] ";
-  dccownnick = "%R$0-%n";
+  dccownmsg = "*%c=$1-%n*> %g";
   dccownaction = "{action $0-}";
-  dccownaction_target = "{action_core $0}%K:%c$1%n ";
+  dccownaction_target = "{ownaction_target $0-}";
 
   # DCC chat, others
-  dccmsg = "[%G$1-%K(%g$0%K)%n] ";
-  dccquerynick = "%G$0-%n";
-  dccaction = "%W (*dcc*) $0-%n %|";
+  dccmsg = "*%c=$1-%n* ";
+  dccquerynick = "$0-";
+  dccaction = " (*dcc*) $0- %|";
 
   ##
   ## statusbar
   ##
 
-  # background of statusbar
-  sb_background = "%4";
-
-  # default statusbar item style
-  sb = "%c[%n$0-%c]%n";
-
-  sbmode = "(%c+%n$0-)";
+  # default background for all statusbars. You can also give
+  # the default foreground color for statusbar items.
+  sb_background = "%4%w";
+
+  # default backround for "default" statusbar group
+  #sb_default_bg = "%4";
+  # background for prompt / input line
+  sb_prompt_bg = "%n";
+  # background for info statusbar
+  sb_info_bg = "%8";
+  # background for topicbar (same default)
+  #sb_topic_bg = "%4";
+
+  # text at the beginning of statusbars. sb-item already puts
+  # space there,so we don't use anything by default.
+  sbstart = "";
+  # text at the end of statusbars. Use space so that it's never
+  # used for anything.
+  sbend = " ";
+
+  prompt = "[$*] ";
+
+  sb = " %c[%n$*%c]%n";
+  sbmode = "(%c+%n$*)";
+  sbusermode = "(%n$*)";
   sbaway = " (%GzZzZ%n)";
-  sbservertag = "%c:%n$0 (change with ^X)";
-  sbmore = "%_-- more --%_";
-  sblag = "{sb Lag: $0-}";
-  sbmail = "{sb Mail: $0-}";
-
-  # activity. Det is used for hilights when display doesn't support colors
-  sbact = "{sb {sbact_act $0}{sbact_det $1}}";
-  sbact_act = "Act: $0-";
-  sbact_det = " Det: $0-";
+  sbservertag = ":$0 (change with ^X)";
+
+  # activity in statusbar
+
+  # ',' separator
+  sb_act_sep = "%c$*";
+  # normal text
+  sb_act_text = "%c$*";
+  # public message
+  sb_act_msg = "%W$*";
+  # hilight
+  sb_act_hilight = "%M$*";
+  # hilight with specified color, $0 = color, $1 = text
+  sb_act_hilight_color = "$0$1-%n";
+
+  # signed messages
+  # the following formats fit the Irssi default theme:
+  # 
+  # flag_signed = "%GS%n";
+  # flag_unknown = "%Y?%n";
+  # flag_failed = "%RF%n";
+  # 
+  # pubmsghinick_signed = "{msgnick {flag_signed} $0$2-%n}";
+  # pubmsghinick_unknown = "{msgnick {flag_unknown} $0$2-%n}";
+  # pubmsghinick_failed = "{msgnick {flag_failed} $0$2-%n}";
+  # 
+  # pubmsgmenick_signed = "{msgnick {flag_signed} $1-}";
+  # pubmsgmenick_unknown = "{msgnick {flag_unknown} $1-}";
+  # pubmsgmenick_failed = "{msgnick {flag_failed} $1-}";
+  # 
+  # pubmsgnick_signed = "{msgnick {flag_signed} $1-}";
+  # pubmsgnick_unknown = "{msgnick {flag_unknown} $1-}";
+  # pubmsgnick_failed = "{msgnick {flag_failed} $1-}";
+  # 
+  # privmsg_signed = "{privmsg {flag_signed}$0 $1}";
+  # privmsg_unknown = "{privmsg {flag_unknown}$0 $1}";
+  # privmsg_failed = "{privmsg {flag_failed}$0 $1}";
+  # 
+  # privmsgnick_signed = "{msgnick {flag_signed} %R$*%n}";
+  # privmsgnick_unknown = "{msgnick {flag_unknown} %R$*%n}";
+  # privmsgnick_failed = "{msgnick {flag_failed} %R$*%n}";
+  # 
+  # ownmsgnick_signed = "{msgnick {flag_signed} $1-}";
+  # ownprivmsgnick_signed = "{msgnick {flag_signed} $*}";
+  #
+  flag_signed = "[%cS%n]";
+  flag_unknown = "[%Y?%n]";
+  flag_failed = "[%RF%n]";
+
+  pubmsghinick_signed = "{msgnick {flag_signed} $0$2-%n}";
+  pubmsghinick_unknown = "{msgnick {flag_unknown} $0$2-%n}";
+  pubmsghinick_failed = "{msgnick {flag_failed} $0$2-%n}";
+  
+  pubmsgmenick_signed = "%g<{flag_signed}$1->%n %|";
+  pubmsgmenick_unknown = "%g<{flag_unknown}$1->%n %|";
+  pubmsgmenick_failed = "%g<{flag_failed}$1->%n %|";
+  
+  pubmsgnick_signed = "{msgnick {flag_signed}$0 $1-}";
+  pubmsgnick_unknown = "{msgnick {flag_unknown}$0 $1-}";
+  pubmsgnick_failed = "{msgnick {flag_failed}$0 $1-}";
+  
+  privmsg_signed = "{privmsg {flag_signed}$0 $1}";
+  privmsg_unknown = "{privmsg {flag_unknown}$0 $1}";
+  privmsg_failed = "{privmsg {flag_failed}$0 $1}";
+  
+  privmsgnick_signed = "{privmsgnick {flag_signed}$0}";
+  privmsgnick_unknown = "{privmsgnick {flag_unknown}$0}";
+  privmsgnick_failed = "{privmsgnick {flag_failed}$0}";
+  
+  ownmsgnick_signed = "{msgnick {flag_signed} $1-}%g";
+  ownprivmsg_signed = "->*%c{flag_signed}$1-%n* %g";
+  ownprivmsgnick_signed = "->*%c{flag_signed}$0%n* %g$1-";
+};
+
+#
+# Some default formats how to print stuff on screen
+#
+formats = {
+  "fe-common/core" = {
+    endofnames = "{channel $0}: Total of {hilight $1} nicks {comment {hilight $2} ops, {hilight $4} normal}";
+    line_start_irssi = "{line_start}";
+  };
 };