dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

monochrome.theme (6046B)


      1 # monochrome.theme,
      2 # A monochrome irssi theme
      3 # Made by jbauer on 2022/08/29
      4 
      5 # Default foreground color (%N) - -1 is the "default terminal color"
      6 default_color = "-1";
      7 
      8 # Print timestamp/servertag at the end of line, not at beginning
      9 info_eol = "false";
     10 
     11 # These characters are automatically replaced with the specified color
     12 #replaces = { "" = "%K$*%n"; };
     13 
     14 abstracts = {
     15   ## General ##
     16   # Text to insert at the beginning of each non-message line
     17   line_start = "    ### %|";
     18 
     19   # Timestamp styling
     20   timestamp = "%%m/%%d %%H:%%M";
     21 
     22   # Any kind of text that needs hilighting
     23   hilight = "%_$*%_";
     24 
     25   # Any kind of error message
     26   error = "%_%r$*%n%_";
     27 
     28   # How the channel name is printed
     29   channel = "%_$*%_";
     30 
     31   # How the nick is printed
     32   nick = "%_$*%_";
     33 
     34   # How the nick host is printed
     35   nickhost = "[$*]";
     36 
     37   # How the server name is printed
     38   server = "%_$*%_";
     39 
     40   # How some kind of comment is printed
     41   comment = "[$*]";
     42 
     43   # How the reason for something is printed (part, quit, kick, ..)
     44   reason = "{comment $*}";
     45 
     46   # How mode change is printed ([+o nick])
     47   mode = "{comment $*}";
     48 
     49   ## Channel specific messages ##
     50   # How the nick/host is printed on join
     51   channick_hilight = "%_$*%_";
     52   chanhost_hilight = "{nickhost $*}";
     53 
     54   # How the nick/host is printed on part, quit, etc.
     55   channick = "%_$*%_";
     56   chanhost = "{nickhost $*}";
     57 
     58   # How the highlighted channel name is printed
     59   channelhilight = "$*";
     60 
     61   # How the ban/ban exception/invite list mask is printed
     62   ban = "%r$*%n";
     63 
     64   ## Messages ##
     65   # The basic styling of how to print message, $0 = nick mode, $1 = nick
     66   msgnick = "$0$1 %|";
     67 
     68   # How a message from you is printed.
     69   # "msgownnick" specifies the styling of the nick ($0 part in msgnick).
     70   # "ownmsgnick" specifies the styling of the whole line.
     71 
     72   # Example1: You want the message text to be green:
     73   #  ownmsgnick = "{msgnick $0 $1-}%g";
     74   # Example2.1: You want < and > chars to be yellow:
     75   #  ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
     76   #  (you'll also have to remove <> from replaces list above)
     77   # Example2.2: But you still want to keep <> grey for other messages:
     78   #  pubmsgnick = "%K{msgnick $0 $1-%K}%n";
     79   #  pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
     80   #  pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
     81   #  ownprivmsgnick = "%K{msgnick  $*%K}%n";
     82   #  privmsgnick = "%K{msgnick  %R$*%K}%n";
     83 
     84   # $0 = nick mode, $1 = nick
     85   ownmsgnick = "{msgnick <$0$1->}";
     86   ownnick = "%_$*%_";
     87 
     88   # Public message in channel, $0 = nick mode, $1 = nick
     89   pubmsgnick = "{msgnick <$0$1->}";
     90   pubnick = "%_$*%_";
     91 
     92   # Public message in channel meant for me, $0 = nick mode, $1 = nick
     93   pubmsgmenick = "{msgnick <$0$1->}";
     94   menick = "%_$*%_";
     95 
     96   # Public highlighted message in channel
     97   # $0 = highlight color, $1 = nick mode, $2 = nick
     98   pubmsghinick = "{msgnick <$1$0$2->%n}";
     99 
    100   # Style of the channel name when printed with message
    101   msgchannel = "%b$*%n";
    102 
    103   # Private message, $0 = nick, $1 = host
    104   privmsg = "[%r$0%K(%r$1-%K)%n] ";
    105 
    106   # Private message from you, $0 = "msg", $1 = target nick
    107   ownprivmsg = "[%r$0%K(%b$1-%K)%n] ";
    108 
    109   # Own private message in query
    110   ownprivmsgnick = "{msgnick  $*}";
    111   ownprivnick = "%_$*%_";
    112 
    113   # Private message in query
    114   privmsgnick = "{msgnick  %_$*%_}";
    115 
    116   ## Actions (/ME stuff) ##
    117   # Probably overusing italics because I want the whole message to be
    118   # italic but it only does the nick idk...
    119 
    120   # Used internally by this theme
    121   action_core = "%I * $*%I";
    122 
    123   # Generic styling that's used by most actions
    124   action = "{action_core %I$*%I} ";
    125 
    126   # Own action, both private/public
    127   ownaction = "{action %I$*%I}";
    128 
    129   # Own action with target, both private/public
    130   ownaction_target = "{action_core %I$0%I}%K:%b$1%n ";
    131 
    132   # Private action sent by others
    133   pvtaction = "%I * $*%I";
    134   pvtaction_query = "{pvtaction %I$*%I} ";
    135 
    136   # Public action sent by others
    137   pubaction = "{action %I$*%I} ";
    138 
    139   ## Other IRC events ##
    140   # Whois
    141   whois = "%# $[8]0 : $1-";
    142 
    143   # Notices
    144   ownnotice = "[%b$0%K(%B$1-%K)]%n ";
    145   notice = "%K-%B$*%K-%n ";
    146   pubnotice_channel = "%K:%r$*";
    147   pvtnotice_host = "%K(%b$*%K)";
    148   servernotice = "%r!$*%n ";
    149 
    150   # CTCPs
    151   ownctcp = "[%b$0($1)%n] ";
    152   ctcp = "%b$*%n";
    153 
    154   # Wallops
    155   wallop = "$*: ";
    156   wallop_nick = "%_$*%_";
    157   wallop_action = "%I * $*%I";
    158 
    159   # Netsplits
    160   netsplit = "%_$*%_";
    161   netjoin = "%_$*%_";
    162 
    163   # /names list
    164   names_prefix = "";
    165   names_nick = "[%_$0%_$1-] ";
    166   names_nick_op = "{names_nick %_$*%_}";
    167   names_nick_halfop = "{names_nick %U$*%U}";
    168   names_nick_voice = "{names_nick %I$*%I}";
    169   names_users = "[$*]";
    170   names_channel = "$*";
    171 
    172   # DCC
    173   dcc = "%g$*%n";
    174   dccfile = "%_$*%_";
    175 
    176   # DCC chat, own msg/action
    177   dccownmsg = "[%r$0%K($1-%K)%n] ";
    178   dccownnick = "%r$*%n";
    179   dccownquerynick = "%W$*%n";
    180   dccownaction = "{action $*}";
    181   dccownaction_target = "{action_core $0}%K:%c$1%n ";
    182 
    183   # DCC chat, others
    184   dccmsg = "[%G$1-%K(%g$0%K)%n] ";
    185   dccquerynick = "%G$*%n";
    186   dccaction = "%W (*dcc*) $*%n %|";
    187 
    188   ## Statusbar ##
    189   # Default background/default foreground color for statusbar items.
    190   sb_background = "%7%k";
    191 
    192   # Default backround for "default" statusbar group
    193   sb_default_bg = "%7";
    194   # Background for prompt / input line
    195   sb_prompt_bg = "%n";
    196   # Background for info statusbar
    197   sb_info_bg = "%7";
    198   # Background for topicbar
    199   sb_topic_bg = "%7%k";
    200 
    201   # Text at the beginning of statusbars.
    202   sbstart = " <>";
    203   # Text at the end of statusbars.
    204   sbend = "<> ";
    205 
    206   # Text at the start of the topic bar.
    207   topicsbstart = " <>";
    208   # Text at the end of the topic bar.
    209   topicsbend = "<> ";
    210 
    211   # Command prompt
    212   prompt = "[$*]: ";
    213 
    214   # Styling of status bar elements
    215   sb = " %k[$*%k]%n";
    216   sbmode = "(+$*)";
    217   sbaway = " (%Iaway%I)";
    218   sbservertag = ":$0 (change with ^X)";
    219   sbnickmode = "$0";
    220 
    221   ## Activity in statusbar ##
    222   # ',' separator
    223   sb_act_sep = "%k$*";
    224   # Normal text
    225   sb_act_text = "%k$*";
    226   # Public message
    227   sb_act_msg = "%K$*";
    228   # Hilight
    229   sb_act_hilight = "%r%_$*%_";
    230   # Hilight with specified color, $0 = color, $1 = text
    231   sb_act_hilight_color = "$0%_$1-%_%n";
    232 };