diff --git a/colorschemes/build.sh b/colorschemes/build.sh index a18bfc4..2c504f8 100755 --- a/colorschemes/build.sh +++ b/colorschemes/build.sh @@ -10,6 +10,7 @@ declare -A apps=( [iterm]=itermcolors [kitty]=conf [nvim]=vim + [setvtrgb]=txt [shell]=zsh [termux]=properties ) diff --git a/colorschemes/out/setvtrgb.txt b/colorschemes/out/setvtrgb.txt new file mode 100644 index 0000000..5886b18 --- /dev/null +++ b/colorschemes/out/setvtrgb.txt @@ -0,0 +1,3 @@ +45,242,153,255,102,204,102,211,116,242,153,255,102,204,102,242 +45,119,204,204,153,153,204,208,115,119,204,204,153,153,204,240 +45,122,153,102,204,204,204,200,105,122,153,102,204,204,204,236 diff --git a/colorschemes/setvtrgb.py b/colorschemes/setvtrgb.py new file mode 100755 index 0000000..366cc56 --- /dev/null +++ b/colorschemes/setvtrgb.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import _theme as theme + +for i in range(3): + print( + ",".join( + [ + str(int(color[2 * i + 1 : 2 * i + 3], 16)) + for color in theme.ansi_colors[:16] + ] + ) + ) diff --git a/etc/bootmsg b/etc/bootmsg new file mode 100644 index 0000000..7c271ca --- /dev/null +++ b/etc/bootmsg @@ -0,0 +1,29 @@ + + + ` + -: + .//: + `////- + `://///. + :///////. + -/////////. `://- ./- .- + `://////////` .///- ./- ` + -:..://///////`  -:::::::-` .--- `--:- `.-----.`` .///-`.....`` ./- ` ` `````` ` + -////:::////////` .//////////:` `////:////..://////////- .//::////////:. ./- .: :-`-:::::::. -:. -: `:. -- + -/////////////////` .---.---////- `/////:-.`:////:--.-:/:` .////:....-////` ./- -/` //:.` `-/. -/. :/` .::` `::` + -//////////++++/////` .:/++++++++++- `////. ./++/` ` .///: -///. ./- -+` `++ /: -/. :/` `-:..:-` + -////++++oooooooooo+++. :hhhhs+/+shdhh/ `yyys` +yyh/ -+++- -+++. -+- :o` .oo +/ :o. /+` .//- + -/+++oooooooooooooooooo+. oddd/ sddd+ .dddd` /dddy` ` :dhh/ +hhh- -o: :o` `oo +/ :o. +o` .++/+. + :+oooooooo+-..-/+oooooooo+. :dddy:``./hddd+ .dddd` `sdddy/-``./yo- :ddd+ oddd: -o: :o` +o +/ :o- .+o` :+:` -+:` + `/ooooooooo:` .+oooooooo+. /hddddddddsyd+ .dddd` `/hdddddddddds`:ddd+ oddd: -o: :o` +o +/ .++-` `.:/+o` `/+- .//. + `/ooooooooo/ .ooooooooo+- `/+ssso/.+o+- `so+: `-/+ssss+/. :ss+- +yso. ./. ./ /: :: .:/++++/-`//` -/` :/ + `/oooooooooo` /oooooo++++- + `+ooooooooooo` :oooooo++/-:. A simple, lightweight GNU/Linux distribution. + .+ooooooooooo+` :+oooooooo+/-` + .+oooooo++/:-.` `..-:/++ooooo+: + .+oo++/-.` `.-:++ooo: + -++/-.` `-:++/` + -++/-.` `-:++/` + .:.` .--  + + diff --git a/etc/initcpio/hooks/consolecolors b/etc/initcpio/hooks/consolecolors new file mode 100644 index 0000000..0956b53 --- /dev/null +++ b/etc/initcpio/hooks/consolecolors @@ -0,0 +1,5 @@ +#!/usr/bin/ash + +run_hook() { + setvtrgb - < /etc/consolecolors +} diff --git a/etc/initcpio/install/consolecolors b/etc/initcpio/install/consolecolors new file mode 100644 index 0000000..7c871c4 --- /dev/null +++ b/etc/initcpio/install/consolecolors @@ -0,0 +1,11 @@ +#!/bin/bash + +build() { + add_file /etc/consolecolors && add_binary /usr/bin/setvtrgb && add_runscript +} + +help() { + cat <