├── LICENSE ├── README.mkd ├── img ├── screen-iTerm2-bold-options.png ├── screen-irssi-in-Terminal.app-dark-th.png ├── screen-irssi-in-Terminal.app-dark.png ├── screen-irssi-in-iTerm-light-th.png ├── screen-irssi-in-iTerm-light.png ├── screen-irssi-in-iTerm2-solarized_dark-th.png ├── screen-irssi-in-iTerm2-solarized_dark.png ├── screen-irssi-in-iTerm2-solarized_light-th.png ├── screen-irssi-in-iTerm2-solarized_light.png └── screen-irssi-main-in-iTerm-solarized-dark.png └── solarized-universal.theme /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Huy Z 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.mkd: -------------------------------------------------------------------------------- 1 | Solarized Color Theme for irssi 2 | =============================== 3 | 4 | Initially created by [huyz](https://github.com/huyz), this is a 5 | repository of themes for the [irssi] IRC chat client that support Ethan 6 | Schoonover’s [Solarized] color scheme. 7 | 8 | ![Solarized Dark main screenshot](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-main-in-iTerm-solarized-dark.png) 9 | 10 | [irssi]: http://www.irssi.org/ 11 | [Solarized]: http://ethanschoonover.com/solarized 12 | 13 | Visit the Solarized homepage 14 | ---------------------------- 15 | 16 | See the [Solarized] homepage for screenshots, details and color theme 17 | implementations for terminal emulators and other applications, such as Vim, 18 | Emacs, and Mutt. 19 | 20 | Universal theme 21 | --------------- 22 | 23 | The first irssi theme, called "universal", was designed to work best with both 24 | Solarized Dark and Light palettes, but also to work under default terminal 25 | colors. In other words, this theme was designed with a "fallback" scenario: if 26 | you happen to find yourself on a terminal where the Solarized palette has not 27 | been set up, you won't have elements become invisible or incrediby hard to 28 | read. 29 | 30 | Thus, this theme was designed with these 4 palettes in mind: 31 | 32 | - Solarized Dark: the theme works best when the terminal emulator is 33 | set to this scheme 34 | - Solarized Light: the theme works, when the terminal emulator is set 35 | to this scheme, almost as well as with Solarized Dark (you probably won't 36 | notice the difference, but if you do, it could be optimized slightly by 37 | switching the theme's use of some of the Solarized base colors) 38 | - Default terminal ANSI Colors with a dark background 39 | - Default terminal ANSI Colors with a light background 40 | 41 | This theme was designed to be clean and functional, starting from the default 42 | theme distributed with irssi. Colors are strictly used for functionality and 43 | the number of colors visible is minimized when possible. Colors were selected 44 | based on the characteristics of the text characters to be displayed: 45 | 46 | - Visibility generally follows importance, with an attempt to let unimportant 47 | text fade into the background (which is not always possible when 48 | simultaneously supporting dark and light backgrounds) 49 | - Loud colors are chosen to call attention to noteworthy messages 50 | 51 | ### Supported Scripts ### 52 | 53 | The following third-party scripts are supported: 54 | 55 | - [adv\_windowlist.pl](http://anti.teamidiot.de/static/nei/*/Code/Irssi/) 56 | - [usercount.pl](http://scripts.irssi.org/html/usercount.pl.html) 57 | - [trackbar.pl](http://scripts.irssi.org/html/trackbar.pl.html) 58 | 59 | ### Screenshots ### 60 | 61 | This is how the "universal" theme for irssi looks under different palettes. 62 | Click images to see screenshots. 63 | 64 | Solarized Dark (this example uses iTerm2 on OS X): 65 | 66 | [![Solarized Dark](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm2-solarized_dark-th.png)](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm2-solarized\_dark.png) 67 | 68 | Solarized Light (this example uses iTerm2 on OS X): 69 | 70 | [![Solarized Light](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm2-solarized_light-th.png)](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm2-solarized\_light.png) 71 | 72 | Default dark terminal colors (this example uses Apple's Terminal.app on OS X): 73 | 74 | [![default dark](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-Terminal.app-dark-th.png)](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-Terminal.app-dark.png) 75 | 76 | Default light terminal colors (this example uses iTerm on OS X): 77 | 78 | [![default light](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm-light-th.png)](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-irssi-in-iTerm-light.png) 79 | 80 | Downloads 81 | --------- 82 | 83 | If you have come across these themes via the [irssi-only repository] on github, 84 | you may want to check the main [Solarized repository] to see if there is an 85 | official theme. 86 | 87 | In the future, the [irssi-only repository] may be kept in sync with the main 88 | [Solarized repository], but the [irssi-only repository] may be left separate 89 | for installation convenience and to include the latest improvements. 90 | 91 | At this time, issues, bug reports, changelogs are to be reported at the 92 | [irssi-only repository]. 93 | 94 | [Solarized repository]: https://github.com/altercation/solarized 95 | [irssi-only repository]: https://github.com/huyz/irssi-colors-solarized 96 | 97 | 98 | Installation 99 | ------------ 100 | 101 | 1. Configure your terminal emulator (See the section "Understanding Solarized Colors in 102 | Terminals" for a detailed explanation behind these settings) 103 | 104 | 1. Make sure that you have changed your terminal emulator's color settings to 105 | the Solarized palette. 106 | 107 | 2. Make sure that bold text is displayed using bright colors. For example, 108 | - For iTerm2 on OS X, this means that Text Preferences must have the `Draw 109 | bold text in bright colors` checkbox *selected*. 110 | - For Apple's Terminal.app on OS X, this means that Text Settings must 111 | have the `Use bright colors for bold text` checkbox *selected*. 112 | 113 | 3. It's recommended to turn off the display of bold typeface for bold 114 | text. For example, 115 | - For iTerm2 on OS X, this means that Text Preferences should have the 116 | `Draw bold text in bold font` checkbox *unselected*. 117 | - For Apple's Terminal.app on OS X, this means that Text Settings 118 | should have the `Use bold fonts` checkbox *unselected*. 119 | - For XTerm, this may mean setting the `font` and `boldFont` to be the 120 | same in your .Xresources or .Xdefaults, e.g.: 121 | 122 | xterm*font: fixed 123 | xterm*boldFont: fixed 124 | 125 | Example: for iTerm2, these are the correct settings: 126 | 127 | ![iTerm bold settings](https://github.com/huyz/irssi-colors-solarized/raw/master/img/screen-iTerm2-bold-options.png) 128 | 129 | 2. Obtain `solarized-universal.theme` 130 | 131 | a) Option A: Download `solarized-universal.theme` from [irssi-only repository] 132 | and place it in your `~/.irssi` directory 133 | 134 | b) Option B: To always have the latest version, clone the git repository: 135 | 136 | $ git clone git://github.com/huyz/irssi-colors-solarized.git 137 | $ ln -s $PWD/irssi-colors-solarized/solarized-universal.theme ~/.irssi/. 138 | 139 | 3. Change your `~/.irssi/config` to include the following settings, while making 140 | sure to replace `YOUR_NICKNAME` with your IRC nickname: 141 | 142 | settings = { 143 | ... 144 | "fe-common/core" = { 145 | ... 146 | # Solarized 147 | theme = "solarized-universal"; 148 | hilight_color = "= %R"; 149 | }; 150 | ... 151 | }; 152 | hilights = ( 153 | { text = "YOUR_NICKNAME"; color = "%M"; nick = "yes"; word = "yes"; } 154 | ); 155 | statusbar = { 156 | ... 157 | items = { 158 | ... 159 | # Solarized 160 | lag = "{sb Lag: %m$0-%n}"; 161 | act = "{sb Act: $0-}"; 162 | more = "%k%3-- more --%n"; 163 | }; 164 | ... 165 | }; 166 | 167 | 4. Optionally, if you have the `adv_windowlist.pl` or `trackbar.pl` scripts 168 | installed, modify your `~/.irssi/config` so that: 169 | 170 | settings = { 171 | ... 172 | "perl/core/scripts" = { 173 | ... 174 | ### For Solarized adv_windowlist.pl script 175 | awl_display_key_active = "%k%2[$Q=$N:$C]%n"; 176 | awl_display_nokey_active = "%k%2[$N:$C]%n"; 177 | awl_display_key = "[$Q:$H$C$S]"; 178 | awl_display_nokey = "[$N:$H$C$S]"; 179 | 180 | ### For Solarized trackbar.pl script 181 | trackbar_style = "%B"; 182 | }; 183 | ... 184 | }; 185 | 186 | Understanding Solarized Colors in Terminals 187 | ------------------------------------------- 188 | 189 | ### Solarized Colors vs. ANSI Colors ### 190 | 191 | 8-color terminal programs such as irssi use color codes that correspond to the 192 | expected 8 normal ANSI colors. irssi additionally supports bold, which 193 | terminal emulators will usually display by using the *bright* versions of the 8 194 | ANSI colors and/or by using a bold typeface with a heavier weight. (Note that 195 | different terminal emulators may have slightly different ideas of what color 196 | values to use when displaying the 16 [ANSI color escape 197 | codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors).) 198 | 199 | In order to be displayed by 8-color terminal programs, which cannot specify RGB 200 | values, Solarized must replace the default ANSI colors. Since the Solarized 201 | palette uses 16 colors, not only must this color scheme replace the 8 normal 202 | colors but must also take over the 8 *bright* colors, for a total of 16 colors. 203 | This means that a Solarized terminal application loses the ability to bold text 204 | but gains 8 more Solarized colors. 205 | 206 | About half of the Solarized palette is reminiscent of the original ANSI 207 | colors, e.g. Solarized red is close to ANSI red (or more precisely, the 208 | general consensus of what ANSI red should look like). But the rest of the 209 | Solarized colors do not correspond to any ANSI colors, e.g. there is no ANSI 210 | color that corresponds to Solarized orange or purple. 211 | 212 | This means that, for example, if the irssi theme wants to display "green", a 213 | Solarized terminal will display something close to green, but if the theme 214 | wants to display "bold yellow" or "bright yellow", a Solarized terminal will 215 | not be able to display it. However, a Solarized theme will be able to display 216 | the new colors orange and purple and also several shades of gray. This is 217 | again thanks to the replacement of the ANSI *bright* colors; e.g. ANSI "bold 218 | red", which is usually displayed as "bright red", will now show as Solarized 219 | orange, while ANSI "bold blue", which is usually displayed as "bright blue", 220 | will now be a shade of gray. 221 | 222 | ### Terminal Emulator ### 223 | 224 | Because irssi is an ANSI 8-color terminal program, it is entirely dependent on 225 | the terminal emulator for the display of its colors. You cannot directly tell 226 | an irssi theme to display Solarized orange, e.g. by specifying an RGB value. 227 | Instead, the theme's colors must be chosen using the ANSI color codes with the 228 | expectation that the terminal emulator will display them as appropriate 229 | Solarized colors. For example, the irssi color format `%R` which normally 230 | would be "bold red" is expected to be displayed by the terminal emulator as 231 | Solarized orange. 232 | 233 | So in order for irssi to display the Solarized palette, you have to set your 234 | Terminal emulator's color settings to the Solarized palette. The [Solarized 235 | repository] includes theme settings for some popular terminal emulators as 236 | well as Xresources; or you can download them from the official [Solarized] 237 | homepage. If you use the irssi themes *without* having changed your 238 | emulator's palette, you will get a strange selection of colors that may be 239 | hard to read. 240 | 241 | Yes, this means that, to use the Solarized theme for irssi, you need to change 242 | color settings for not one but two different programs: your terminal emulator 243 | and irssi. The two sets of settings will work in concert to display Solarized 244 | colors appropriately. 245 | 246 | ### Bold Settings ### 247 | 248 | Historically, there has been a one-to-one correspondence between the bolded 249 | versions of the 8 default ANSI colors and the bright versions of the 8 default 250 | colors. Back in the day, when a color program demanded the display of bold 251 | text, it was probably just easier for terminal emulators to display a brighter 252 | version of whatever color the text was (and expect the user to interpret that 253 | as bold) than to display a typeface with a bold weight 254 | 255 | Nowadays, it is easy for terminal emulators to display bold typefaces, so it 256 | doesn't make sense for bolded text to change color, but the confusing 257 | association remains. In fact, new terminal emulators allow users to break the 258 | correspondence between bold and bright and can simply change the font. 259 | 260 | However, ANSI 8-color terminal applications such as irssi only have a 261 | conception of bold and don't know about the possibility of using up to 16 262 | colors. So to use all 16 Solarized colors, we change the semantics of "bold" 263 | in the theme to mean that we want to access the 8 new Solarized colors, 264 | including the grays. Recall the example above, where we described that the 265 | irssi color format `%R`, which would have normally displayed bold red, is 266 | expected to show up as Solarized orange. 267 | 268 | This is why it is important to *not* break the association between bold and 269 | bright colors. Many terminal emulators offer an option to disable the use of 270 | bright colors for bold, and you must not do so. Often, new users of Solarized 271 | will be confused when they change their terminal emulator's color palette to 272 | Solarized but haven't yet installed Solarized-specific color themes for all 273 | their terminal applications (e.g. mutt, ls's dircolors, irssi, and their 274 | colorized shell prompts). They will see texts that are hard to read or 275 | disappear entirely. The solution isn't to disable bright colors; the solution 276 | is to install Solarized color themes for all terminal applications and then you 277 | will have all 16 colors. 278 | 279 | Also, because the semantics of "bold" are lost in favor of more colors, it 280 | also makes sense to disable the display of bold text as a bold typeface. It 281 | won't hurt to see bold typefaces wherever the new 8 Solarized colors are 282 | displayed but it doesn't make much sense anymore. 283 | 284 | 285 | The Solarized Color Values 286 | -------------------------- 287 | 288 | L\*a\*b values are canonical (White D65, Reference D50), other values are 289 | matched in sRGB space. 290 | 291 | SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B sRGB HSB 292 | --------- ------- ---- ------- ----------- ---------- ----------- ----------- 293 | base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 294 | base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 295 | base01 #586e75 10/7 brgreen 240 #4e4e4e 45 -07 -07 88 110 117 194 25 46 296 | base00 #657b83 11/7 bryellow 241 #585858 50 -07 -07 101 123 131 195 23 51 297 | base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 298 | base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 299 | base2 #eee8d5 7/7 white 254 #d7d7af 92 -00 10 238 232 213 44 11 93 300 | base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 301 | yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 302 | orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 303 | red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 304 | magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 305 | violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 306 | blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 307 | cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 308 | green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 309 | -------------------------------------------------------------------------------- /img/screen-iTerm2-bold-options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-iTerm2-bold-options.png -------------------------------------------------------------------------------- /img/screen-irssi-in-Terminal.app-dark-th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-Terminal.app-dark-th.png -------------------------------------------------------------------------------- /img/screen-irssi-in-Terminal.app-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-Terminal.app-dark.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm-light-th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm-light-th.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm-light.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm2-solarized_dark-th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm2-solarized_dark-th.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm2-solarized_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm2-solarized_dark.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm2-solarized_light-th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm2-solarized_light-th.png -------------------------------------------------------------------------------- /img/screen-irssi-in-iTerm2-solarized_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-in-iTerm2-solarized_light.png -------------------------------------------------------------------------------- /img/screen-irssi-main-in-iTerm-solarized-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huyz/irssi-colors-solarized/83972b9ca9e5d7194e513024d9fbe9ac2c2a8a62/img/screen-irssi-main-in-iTerm-solarized-dark.png -------------------------------------------------------------------------------- /solarized-universal.theme: -------------------------------------------------------------------------------- 1 | # irssi theme for the Solarized color palette 2 | # (Adapted from default theme distributed with irssi 0.8.15 circa 2011-04-25) 3 | # 4 | # Adaptation by: Huy Z 5 | # Source: https://github.com/huyz/irssi-colors-solarized 6 | # 7 | 8 | # When testing changes, the easiest way to reload the theme is with /RELOAD. 9 | # This reloads the configuration file too, so if you did any changes remember 10 | # to /SAVE it first. Remember also that /SAVE overwrites the theme file with 11 | # old data so keep backups :) 12 | 13 | # TEMPLATES: 14 | 15 | # The real text formats that irssi uses are the ones you can find with 16 | # /FORMAT command. Back in the old days all the colors and texts were mixed 17 | # up in those formats, and it was really hard to change the colors since you 18 | # might have had to change them in tens of different places. So, then came 19 | # this templating system. 20 | 21 | # Now the /FORMATs don't have any colors in them, and they also have very 22 | # little other styling. Most of the stuff you need to change is in this 23 | # theme file. If you can't change something here, you can always go back 24 | # to change the /FORMATs directly, they're also saved in these .theme files. 25 | 26 | # So .. the templates. They're those {blahblah} parts you see all over the 27 | # /FORMATs and here. Their usage is simply {name parameter1 parameter2}. 28 | # When irssi sees this kind of text, it goes to find "name" from abstracts 29 | # block below and sets "parameter1" into $0 and "parameter2" into $1 (you 30 | # can have more parameters of course). Templates can have subtemplates. 31 | # Here's a small example: 32 | # /FORMAT format hello {colorify {underline world}} 33 | # abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; } 34 | # When irssi expands the templates in "format", the final string would be: 35 | # hello %G%Uworld%U%n 36 | # ie. underlined bright green "world" text. 37 | # and why "$0-", why not "$0"? $0 would only mean the first parameter, 38 | # $0- means all the parameters. With {underline hello world} you'd really 39 | # want to underline both of the words, not just the hello (and world would 40 | # actually be removed entirely). 41 | 42 | # COLORS: 43 | 44 | # You can find definitions for the color format codes in docs/formats.txt. 45 | 46 | # There's one difference here though. %n format. Normally it means the 47 | # default color of the terminal (white mostly), but here it means the 48 | # "reset color back to the one it was in higher template". For example 49 | # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would 50 | # print yellow "foo" (as set with %Y) but "bar" would be green, which was 51 | # set at the beginning before the {foo} template. If there wasn't the %g 52 | # at start, the normal behaviour of %n would occur. If you _really_ want 53 | # to use the terminal's default color, use %N. 54 | 55 | ############################################################################# 56 | 57 | # default foreground color (%N) - -1 is the "default terminal color" 58 | default_color = "-1"; 59 | 60 | # print timestamp/servertag at the end of line, not at beginning 61 | info_eol = "false"; 62 | 63 | # these characters are automatically replaced with specified color 64 | # (dark grey by default) 65 | replaces = { "[]=" = "%_$*%_"; }; 66 | 67 | abstracts = { 68 | ## 69 | ## generic 70 | ## 71 | 72 | # text to insert at the beginning of each non-message line 73 | # %G = brightgreen (Solarized: base01, i.e. darkest gray) 74 | # %| probably right-aligns 75 | line_start = " %G-!- "; 76 | 77 | # timestamp styling, nothing by default 78 | # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray) 79 | timestamp = "%Y$*%n"; 80 | 81 | # any kind of text that needs hilighting, default is to bold 82 | hilight = "%_$*%_"; 83 | 84 | # any kind of error message, default is bright red 85 | # %r = red 86 | error = "%r$*%n"; 87 | 88 | # channel name is printed 89 | channel = "%_$*%_"; 90 | 91 | # nick is printed 92 | nick = "%_$*%_"; 93 | 94 | # nick host is printed 95 | # (that's the "email" address of a user) 96 | nickhost = "<$*>"; 97 | 98 | # server name is printed 99 | server = "%_$*%_"; 100 | 101 | # some kind of comment is printed 102 | comment = "($*)"; 103 | 104 | # reason for something is printed (part, quit, kick, ..) 105 | reason = "{comment $*}"; 106 | 107 | # mode change is printed ([+o nick]) 108 | mode = "{comment $*}"; 109 | 110 | ## 111 | ## channel specific messages 112 | ## 113 | 114 | # highlighted nick/host is printed (joins) 115 | # %c = cyan 116 | # NOTE: %n doesn't work in irssi v0.8.15 for some reason. So we have to end with the same color as line_start 117 | #channick_hilight = "%C$*%n"; 118 | channick_hilight = "%c$*%G"; 119 | chanhost_hilight = "{nickhost $*}"; 120 | 121 | # nick/host is printed (parts, quits, etc.) 122 | #channick = "%c$*%n"; 123 | channick = "$*"; 124 | chanhost = "{nickhost $*}"; 125 | 126 | # highlighted channel name is printed 127 | channelhilight = "%c$*%n"; 128 | 129 | # ban/ban exception/invite list mask is printed 130 | # %R = brightred (Solarized: orange) 131 | ban = "%R$*%n"; 132 | 133 | ## 134 | ## messages 135 | ## 136 | 137 | # the basic styling of how to print message, $0 = nick mode, $1 = nick 138 | msgnick = "%_<%_$0$1-%_>%_ %|"; 139 | 140 | # message from you is printed. "msgownnick" specifies the styling of the 141 | # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the 142 | # whole line. 143 | 144 | # Example1: You want the message text to be green: 145 | # ownmsgnick = "{msgnick $0 $1-}%g"; 146 | # Example2.1: You want < and > chars to be yellow: 147 | # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n"; 148 | # (you'll also have to remove <> from replaces list above) 149 | # Example2.2: But you still want to keep <> grey for other messages: 150 | # pubmsgnick = "%K{msgnick $0 $1-%K}%n"; 151 | # pubmsgmenick = "%K{msgnick $0 $1-%K}%n"; 152 | # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n"; 153 | # ownprivmsgnick = "%K{msgnick $*%K}%n"; 154 | # privmsgnick = "%K{msgnick %R$*%K}%n"; 155 | 156 | # $0 = nick mode, $1 = nick 157 | ownmsgnick = "{msgnick $0 $1-}%b"; 158 | ownnick = "%b$*%n"; 159 | 160 | # public message in channel, $0 = nick mode, $1 = nick 161 | pubmsgnick = "{msgnick $0 $1-}"; 162 | pubnick = "%N%_$*%_%n"; 163 | 164 | # public message in channel meant for me, $0 = nick mode, $1 = nick 165 | pubmsgmenick = "{msgnick $0 $1-}"; 166 | # %m = magenta 167 | menick = "%m$*%n"; 168 | 169 | # public highlighted message in channel 170 | # $0 = highlight color, $1 = nick mode, $2 = nick 171 | pubmsghinick = "{msgnick $1 $0$2-%n}"; 172 | 173 | # channel name is printed with message 174 | # This is printed whenever the channel name is printed for disambiguation, e.g. 175 | # while there is a query in the same window. Example: <+funnyuser:#test> hello 176 | msgchannel = "%G:%c$*%n"; 177 | 178 | # private message, $0 = nick, $1 = host 179 | # TODO: To test for Solarized 180 | #privmsg = "[%m$0%K<%M$1-%K>%n] "; 181 | privmsg = "[%m$0%G<%n$1-%G>%n] "; 182 | 183 | # private message from you, $0 = "msg", $1 = target nick 184 | # TODO: To test for Solarized 185 | #ownprivmsg = "[%b$0%K<%B$1-%K>%n] "; 186 | ownprivmsg = "[%b$0%G<%B$1-%G>%n] "; 187 | 188 | # own private message in query 189 | ownprivmsgnick = "{msgnick $*}%b"; 190 | ownprivnick = "%b$*%n"; 191 | 192 | # private message in query 193 | # NOTE: for some reason, we gotta handle both the nick & msg on in this line 194 | privmsgnick = "{msgnick %m$*%n}%m"; 195 | 196 | ## 197 | ## Actions (/ME stuff) 198 | ## 199 | 200 | # used internally by this theme 201 | action_core = "%_*%n $*"; 202 | 203 | # generic one that's used by most actions 204 | action = "{action_core %_$*%n} "; 205 | 206 | # own action, both private/public 207 | ownaction = "{action_core %b$*%n} "; 208 | 209 | # own action with target, both private/public 210 | # NOTE: to test: /action NICK farted. (This will tell NICK that you farted) 211 | # This is like a /me but only you and NICK will see 212 | # TODO: To test for Solarized 213 | ownaction_target = "{action_core $0}%G:%b$1%n "; 214 | 215 | # private action sent by others 216 | # TODO: To test for Solarized 217 | # %M = brightmagenta (Solarized: violet) 218 | pvtaction = "%M (*) $*%n "; 219 | pvtaction_query = "{action $*}"; 220 | 221 | # public action sent by others 222 | pubaction = "{action $*}"; 223 | 224 | 225 | ## 226 | ## other IRC events 227 | ## 228 | 229 | # whois 230 | whois = "%# $[8]0 : $1-"; 231 | 232 | # notices 233 | # TODO: To adapt for Solarized 234 | ownnotice = "[%b$0%G(%b$1-%G)]%n "; 235 | notice = "%G-%M$*%G-%n "; 236 | pubnotice_channel = "%G:%m$*"; 237 | pvtnotice_host = "%G(%m$*%G)"; 238 | servernotice = "%g!$*%n "; 239 | 240 | # CTCPs 241 | # TODO: To adapt for Solarized 242 | ownctcp = "[%b$0%G(%b$1-%G)] "; 243 | ctcp = "%g$*%n"; 244 | 245 | # wallops 246 | wallop = "%c$*%n: "; 247 | wallop_nick = "%n$*"; 248 | wallop_action = "%c * $*%n "; 249 | 250 | # netsplits 251 | netsplit = "%r$*%n"; 252 | netjoin = "%g$*%n"; 253 | 254 | # /names list 255 | names_prefix = ""; 256 | names_nick = "[%_$0%_$1-] "; 257 | names_nick_op = "{names_nick $*}"; 258 | names_nick_halfop = "{names_nick $*}"; 259 | names_nick_voice = "{names_nick $*}"; 260 | names_users = "[%g$*%n]"; 261 | names_channel = "%c$*%n"; 262 | 263 | # DCC 264 | dcc = "%g$*%n"; 265 | dccfile = "%_$*%_"; 266 | 267 | # DCC chat, own msg/action 268 | #dccownmsg = "[%r$0%K($1-%K)%n] "; 269 | dccownmsg = "[%b$0%G($1-%G)%n] "; 270 | dccownnick = "%b$*%n"; 271 | dccownquerynick = "%c$*%n"; 272 | dccownaction = "{action $*}"; 273 | dccownaction_target = "{action_core $0}%G:%c$1%n "; 274 | 275 | # DCC chat, others 276 | #dccmsg = "[%G$1-%K(%g$0%K)%n] "; 277 | dccmsg = "[%g$1-%G($0%G)%n] "; 278 | dccquerynick = "%g$*%n"; 279 | dccaction = "%c (*dcc*) $*%n %|"; 280 | 281 | ## 282 | ## statusbar 283 | ## 284 | 285 | # default background for all statusbars. You can also give 286 | # the default foreground color for statusbar items. 287 | # NOTE: if all the other overriding settings below are set, this only seems to affect 288 | # the content parts of the adv_windowlist. Default seems to be blue 289 | # NOTE: if not set, the default background seems to be %w%4 = white on blue 290 | # %4 = blue 291 | sb_background = "%k%6"; 292 | 293 | # default backround for "default" statusbar group 294 | # NOTE: this impacts the statusbar of an inactive window and the edges of adv_windowlist 295 | # %7 = white (wich looks gray on a regular terminal with white bg) 296 | sb_default_bg = "%k%7"; 297 | 298 | # background for topicbar at the top (defaults to sb_default_bg) 299 | sb_topic_bg = "%W%0"; 300 | 301 | # background for the statusbar of active window. You can also give 302 | # the foreground color. 303 | # %2 = green 304 | sb_window_bg = "%k%2"; 305 | 306 | # background for prompt / input line 307 | sb_prompt_bg = "%n"; 308 | # background for info statusbar 309 | # %8 = reverse window 310 | # TODO: To test for Solarized 311 | sb_info_bg = "%8"; 312 | 313 | # text at the beginning of statusbars. sb-item already puts 314 | # space there,so we don't use anything by default. 315 | sbstart = ""; 316 | # text at the end of statusbars. Use space so that it's never 317 | # used for anything. 318 | sbend = " "; 319 | 320 | topicsbstart = "{sbstart $*}"; 321 | topicsbend = "{sbend $*}"; 322 | 323 | prompt = "$c$*%n> "; 324 | 325 | # This controls each part of a statusbor, including the outer brackets of adv_windowlist 326 | sb = " $* %M|%n"; 327 | # The mode is next to your NICK and the channel 328 | # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray) 329 | sbmode = "%b(%n+$*%b)%n"; 330 | sbaway = " (%GzZzZ%n)"; 331 | # %Y = brightyellow (Solarized: base00, i.e. 2nd darkest gray) 332 | sbservertag = ":$0 %b(change with ^X)%n"; 333 | sbnickmode = "$0"; 334 | 335 | # activity in statusbar 336 | 337 | # ',' separator between the window numbers 338 | # %g = green (same color as the active statusbar so we dont' see it) 339 | sb_act_sep = "%g$*"; 340 | # normal text 341 | # This also affects the color of the window with activity in adv_windowlist 342 | sb_act_text = "%w$*"; 343 | # public message (ordinary messages) 344 | sb_act_msg = "%R$*"; 345 | # hilight (when people actually chat) 346 | # This also affects the color of the window with direct message in adv_windowlist 347 | sb_act_hilight = "%m$*"; 348 | # hilight with specified color, $0 = color, $1 = text 349 | sb_act_hilight_color = "$0$1-%n"; 350 | 351 | ### For usercount.pl script 352 | 353 | #sb_usercount = "{sb %_$0%_ nicks ($1-)}"; 354 | sb_usercount = "{sb %_$0%_ users %Y(%n$1-%Y)%n}"; 355 | sb_uc_ircops = "%k*%n$*"; 356 | sb_uc_ops = "%k@%n$*"; 357 | sb_uc_halfops = "%k%%%n$*"; 358 | sb_uc_voices = "%k+%n$*"; 359 | sb_uc_normal = "$*"; 360 | # sb_uc_space = " "; 361 | 362 | ### For adv_windowlist.pl script 363 | 364 | # Mentioned in adv_windowlist but not default_theme 365 | #sb_act_none = "%0%W"; 366 | }; 367 | 368 | formats = { 369 | "fe-common/core" = { 370 | daychange = " %g-----%w-%W-%n Day changed to %%D %W-%w-%g-----%n"; 371 | }; 372 | }; 373 | --------------------------------------------------------------------------------