SWIRC.THEME(5)
π swirc.theme β the manual page, bestie edition π
okay so this is swirc.theme(5), from the File Formats Manual section, and it's literally the guide to writing themes for swirc. let's get into it π«Ά
β¨ NAME β¨
swirc.theme β how to write themes for swirc π
πΈ DESCRIPTION πΈ
This manual page is the ultimate reference to consult when you're writing themes for swirc(1). like, no other page, just this one. it's giving "the final boss of theme docs" π
π TEXT DECORATION π
Here's the whole vibe chart, bestie β the name, the hex, the octal, and what it actually looks like:
- Blink β
1d,035,^] - Bold β
02,002,^B - Color β
03,003,^C - Normal β
0f,017,^O - Reverse β
16,026,^V - Underline β
1f,037,^_
Example usage:
blabla ^Bbold text^B blabla
blabla ^Vreversed text^V blabla
blabla ^_underlined text^_ blabla
Always use the literal control characters because else it won't work! π fr fr, no shortcuts.
Blink is a no operation because it's annoying. periodt. it does nothing. we don't do that here. π
π COLORS π
The classic sixteen, icon by icon:
00β white01β black02β blue (navy)03β green04β red05β brown (maroon)06β purple07β orange (olive)08β yellow09β lt.green (lime)10β teal (a kinda green/blue cyan)11β lt.cyan (cyan ?) (aqua)12β lt.blue (royal)13β pink (light purple) (fuchsia)14β grey15β lt.grey (silver)
For the colors 16-99 see the output of the command /colormap. Enough color pairs must've been initialized. (and heads up: 193 color pairs are too few for the colors 16-99 to be used as backgrounds. π)
The syntax of the color attribute in text has the format ^CN[,M]. N will be the text (foreground) color and M the background color. A background color (M) is optional and is not always included.
N and M can maximally be two digits long. Although the colors {0,1,2,...,9} are supported you are highly encouraged to use {00,01,02,...,09}. β¨
A plain ^C can be used to turn the color effect off. While typing ^O will make sure ALL the text effects gets reset. For example:
blabla ^C05,02red text on blue background^C blabla
blabla ^C09green text^O blabla
Of course settings can start with colored text and a closing ^C is not essential. π¦
π SETTING TYPES π
See swirc.conf(5). that's it, that's the section, go read the other one bestie π«Ά
π SETTINGS π
term_background(int) β Which background color (0-15) is this theme written for?0= white1= black
term_enable_colors(bool) β Enable colors (yes/no)?term_use_default_colors(bool) β Use terminal's default colors? I.e. calluse_default_colors(3).color3,color4(string) β Colors used in uncategorized contexts. Must begin with^C.gfx_failure,gfx_success,gfx_warning(string) β Used in contexts where to flag failures, successes and warnings respectively.left_bracket,right_bracket(string) β Left and right bracket. Frequently used.logo_color(string) β Swirc ASCII logo color displayed at startup. (Must begin with^C.)nick_s1,nick_s2(string) β When you or another user types something the nickname will be enclosed bys1ands2.nicklist_my_nick_color,nicklist_nick_color,nicklist_privilege_color,nicklist_vline_color(int) β Nicklist decoration. All of these settings are of type int (0-99) thus^Cis not needed and should not be used.notice_color1,notice_color2(string) β Notice colors.^Cshould be used.notice_lb,notice_rb,notice_sep(string) β Notice left/right bracket and separatornotice_inner_b1,notice_inner_b2(string) β Notice inner bracket 1 and 2. (I.e. left and right.)primary_color,secondary_color(string) β Primary and secondary color for the theme. Frequently used. (Begin with^C.)slogan(string) β Swirc slogan displayed in the statusbar.specifier1,specifier2,specifier3(string) β Specifiers used in various contexts. Number 1 is frequently used.statusbar_bg,statusbar_fg(string) β Statusbar background and foreground. Valid values areblack,red,green,yellow,blue,magenta,cyan,white.statusbar_leftBracket,statusbar_rightBracket,statusbar_spec(string) β Statusbar left/right bracket and specifier.time_format(string) β Time format passed tostrftime(3).titlebar_bg,titlebar_fg(string) β Titlebar background and foreground. Valid values areblack,red,green,yellow,blue,magenta,cyan,white.whois_acc(string)whois_away(string)whois_bot(string)whois_cert(string)whois_channels(string)whois_conn(string)whois_host(string)whois_idle(string)whois_ircName(string)whois_ircOp(string)whois_modes(string)whois_server(string)whois_service(string)whois_ssl(string)
π FILES π
~/.swirc/default.thmβ default theme
π§ SEE ALSO π§
β AUTHORS β
This manual page was written by Markus Uhlin β¨markus@nifty-networks.netβ© π«Ά
π CAVEATS π
If you want to give color to numbers be sure to use two digits for N nor M! like, literally, do not skip this one bestie π
okay that's the whole page!! π this was swirc.theme(5) from the File Formats Manual, Debian edition, dated March 11, 2024. slay, go write some iconic themes, you got this πβ¨π
π¦ where this page comes from
- debian trixie: swirc 3.5.4-1 Β· BSD-3
- ubuntu questing: swirc 3.5.4-1
- ubuntu resolute: swirc 3.5.8-1 Β· BSD-3-Clause
- ubuntu stonking: swirc 3.5.9-1build1 Β· BSD-3-Clause
- π the page's license: ISC
- Copyright 2023-2024 Markus Uhlin
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms