summaryrefslogtreecommitdiffstats
path: root/irssi/custom.theme
blob: 4ab15f8e63e4036ba781dfba02c10aaf6505ff4d (plain)
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
# print timestamp/servertag at the end of line, not at beginning
info_eol = "false";

abstracts = {
  # text to insert at the beginning of each non-message line
  line_start = "%K:%w:%W: ";

  # timestamp styling
  timestamp = "%0 $* %n";

  ##
  ## messages
  ##

  # the basic styling hof how to print message, $0 = nick mode, $1 = nick
  msgnick = "$1 %B»%n %|";

  # $0 = nick mode, $1 = nick
  #ownmsgnick = "{msgnick $0 %B$1-%n}";
  ownnick = "%B%_$0-%_hello%n";

  ##
  ## statusbar
  ##

  # default background for all statusbars. You can also give the default
  # foreground color for statusbar items.
  sb_background = "%0";
  sb_foreground = "%w";

  sbmode = " mode $* ";
  sb_act_hilight = "%4 $* %n";
};
formats = {
  "fe-common/core" = {
    join = "%g»%G»%n $0 %G»%n {chanhost $1} joins $2";
    part = "%r«%R«%n $0 %R«%n {chanhost $1} leaves $2 {reason $3}";
    quit = "%r«%R«%n $0 %R«%n {chanhost $1} quits {reason $2}";
    kick = "%r«%R«%n $0 %R«%n was kicked from {channel $1} by $2 {reason $3}";
    nick_changed = "{channick $0} --> {channick $1}";

    own_msg = "{ownmsgnick $2 {ownnick $[-15]0}}$1";
    own_msg_channel = "{ownmsgnick $3 {ownnick $[-15]0}{msgchannel $1}}$2";
    pubmsg_me = "{pubmsgmenick $2 {menick $[-15]0}}$1";
    pubmsg_me_channel = "{pubmsgmenick $3 {menick $[-15]0}{msgchannel $1}}$2";
    pubmsg_hilight = "{pubmsghinick $0 $3 $[-15]1}$2";
    pubmsg_hilight_channel = "{pubmsghinick $0 $4 $[-15]1{msgchannel $2}}$3";
    pubmsg = "{pubmsgnick $2 {pubnick $[-15]0}}$1";
    pubmsg_channel = "{pubmsgnick $3 {pubnick $[-15]0}{msgchannel $1}}$2";
  };
};