atlas generation 47 kernel version 6.18.0 at 11:50:04 2025-12-09 rebuilding
This commit is contained in:
parent
e3fe841857
commit
0d704d2c84
9 changed files with 300 additions and 31 deletions
|
|
@ -1,6 +1,5 @@
|
|||
source $DOTFILES_DIR/config/bash/colors.sh
|
||||
export PATH="$SCRIPTS_PATH:$PATH"
|
||||
fastfetch -c $DOTFILES_DIR/config/fastfetch/config.jsonc
|
||||
echo -e " ${ToxinCureLight}${nc}Welcome, Morgan Mayday.${nc}\n"
|
||||
# PS1='\[\e[0;92m\u\e[0;35m@\e[0;92m\H\[\e[0;35m\] [\w] \e[0m$ '
|
||||
PS1='${ToxinVenomLight}${nc}\u${ToxinCureLight}${nc}@${ToxinVenomLight}${nc}\H ${ToxinCureLight}${nc}[\w] ${Gainsboro}${nc}$ '
|
||||
echo -e " ${ToxinCureLight}${nc}Welcome, Morgan Mayday.${nc}\e[0m\n"
|
||||
PS1='\[${ToxinVenomLight}${nc}\]\u\[${nc}${ToxinCureLight}${nc}\]@\[${nc}${ToxinVenomLight}${nc}\]\H \[${nc}${ToxinCureLight}${nc}\][\w]\[\e[0m\] $ '
|
||||
|
|
|
|||
230
config/bash/show-colors.sh
Executable file
230
config/bash/show-colors.sh
Executable file
|
|
@ -0,0 +1,230 @@
|
|||
#!/bin/bash
|
||||
hexToAnsiColors() {
|
||||
local color_name="$1"
|
||||
local hex="$2"
|
||||
|
||||
hex=${hex#"#"}
|
||||
r=$(printf '0x%0.2s' "$hex")
|
||||
g=$(printf '0x%0.2s' ${hex#??})
|
||||
b=$(printf '0x%0.2s' ${hex#????})
|
||||
|
||||
local ansi_code="$(( (r<75?0:(r-35)/40)*6*6 +
|
||||
(g<75?0:(g-35)/40)*6 +
|
||||
(b<75?0:(b-35)/40) + 16 ))"
|
||||
|
||||
local escape_color=$(printf '\e[38;5;%dm' $ansi_code)
|
||||
eval "${color_name}='${escape_color}'"
|
||||
}
|
||||
|
||||
# reds
|
||||
reds=(
|
||||
"IndianRed #CD5C5C"
|
||||
"LightCoral #F08080"
|
||||
"Salmon #FA8072"
|
||||
"DarkSalmon #E9967A"
|
||||
"LightSalmon #FFA07A"
|
||||
"Crimson #DC143C"
|
||||
"Red #FF0000"
|
||||
"FireBrick #B22222"
|
||||
"DarkRed #8B0000"
|
||||
)
|
||||
|
||||
# pinks
|
||||
pinks=(
|
||||
"Pink #FFC0CB"
|
||||
"LightPink #FFB6C1"
|
||||
"HotPink #FF69B4"
|
||||
"DeepPink #FF1493"
|
||||
"MediumVioletRed #C71585"
|
||||
"PaleVioletRed #DB7093"
|
||||
)
|
||||
|
||||
# oranges
|
||||
oranges=(
|
||||
"LightSalmon #FFA07A"
|
||||
"Coral #FF7F50"
|
||||
"Tomato #FF6347"
|
||||
"OrangeRed #FF4500"
|
||||
"DarkOrange #FF8C00"
|
||||
"Orange #FFA500"
|
||||
)
|
||||
|
||||
# yellows
|
||||
yellows=(
|
||||
"Gold #FFD700"
|
||||
"Yellow #FFFF00"
|
||||
"LightYellow #FFFFE0"
|
||||
"LemonChiffon #FFFACD"
|
||||
"LightGoldenrodYellow #FAFAD2"
|
||||
"PapayaWhip #FFEFD5"
|
||||
"Moccasin #FFE4B5"
|
||||
"PeachPuff #FFDAB9"
|
||||
"PaleGoldenrod #EEE8AA"
|
||||
"Khaki #F0E68C"
|
||||
"DarkKhaki #BDB76B"
|
||||
)
|
||||
|
||||
# purples
|
||||
purples=(
|
||||
"Lavender #E6E6FA"
|
||||
"Thistle #D8BFD8"
|
||||
"Plum #DDA0DD"
|
||||
"Violet #EE82EE"
|
||||
"Orchid #DA70D6"
|
||||
"Fuchsia #FF00FF"
|
||||
"Magenta #FF00FF"
|
||||
"MediumOrchid #BA55D3"
|
||||
"MediumPurple #9370DB"
|
||||
"RebeccaPurple #663399"
|
||||
"BlueViolet #8A2BE2"
|
||||
"DarkViolet #9400D3"
|
||||
"DarkOrchid #9932CC"
|
||||
"DarkMagenta #8B008B"
|
||||
"Purple #800080"
|
||||
"Indigo #4B0082"
|
||||
"SlateBlue #6A5ACD"
|
||||
"DarkSlateBlue #483D8B"
|
||||
"MediumSlateBlue #7B68EE"
|
||||
)
|
||||
|
||||
# greens
|
||||
greens=(
|
||||
"GreenYellow #ADFF2F"
|
||||
"Chartreuse #7FFF00"
|
||||
"LawnGreen #7CFC00"
|
||||
"Lime #00FF00"
|
||||
"LimeGreen #32CD32"
|
||||
"PaleGreen #98FB98"
|
||||
"LightGreen #90EE90"
|
||||
"MediumSpringGreen #00FA9A"
|
||||
"SpringGreen #00FF7F"
|
||||
"MediumSeaGreen #3CB371"
|
||||
"SeaGreen #2E8B57"
|
||||
"ForestGreen #228B22"
|
||||
"Green #008000"
|
||||
"DarkGreen #006400"
|
||||
"YellowGreen #9ACD32"
|
||||
"OliveDrab #6B8E23"
|
||||
"Olive #808000"
|
||||
"DarkOliveGreen #556B2F"
|
||||
"MediumAquamarine #66CDAA"
|
||||
"DarkSeaGreen #8FBC8B"
|
||||
"LightSeaGreen #20B2AA"
|
||||
"DarkCyan #008B8B"
|
||||
"Teal #008080"
|
||||
)
|
||||
|
||||
# blues
|
||||
blues_and_cyans=(
|
||||
"Aqua #00FFFF"
|
||||
"Cyan #00FFFF"
|
||||
"LightCyan #E0FFFF"
|
||||
"PaleTurquoise #AFEEEE"
|
||||
"Aquamarine #7FFFD4"
|
||||
"Turquoise #40E0D0"
|
||||
"MediumTurquoise #48D1CC"
|
||||
"DarkTurquoise #00CED1"
|
||||
"CadetBlue #5F9EA0"
|
||||
"SteelBlue #4682B4"
|
||||
"LightSteelBlue #B0C4DE"
|
||||
"PowderBlue #B0E0E6"
|
||||
"LightBlue #ADD8E6"
|
||||
"SkyBlue #87CEEB"
|
||||
"LightSkyBlue #87CEFA"
|
||||
"DeepSkyBlue #00BFFF"
|
||||
"DodgerBlue #1E90FF"
|
||||
"CornflowerBlue #6495ED"
|
||||
"MediumSlateBlue #7B68EE"
|
||||
"RoyalBlue #4169E1"
|
||||
"Blue #0000FF"
|
||||
"MediumBlue #0000CD"
|
||||
"DarkBlue #00008B"
|
||||
"Navy #000080"
|
||||
"MidnightBlue #191970"
|
||||
)
|
||||
|
||||
# browns
|
||||
browns=(
|
||||
"Cornsilk #FFF8DC"
|
||||
"BlanchedAlmond #FFEBCD"
|
||||
"Bisque #FFE4C4"
|
||||
"NavajoWhite #FFDEAD"
|
||||
"Wheat #F5DEB3"
|
||||
"BurlyWood #DEB887"
|
||||
"Tan #D2B48C"
|
||||
"RosyBrown #BC8F8F"
|
||||
"SandyBrown #F4A460"
|
||||
"Goldenrod #DAA520"
|
||||
"DarkGoldenrod #B8860B"
|
||||
"Peru #CD853F"
|
||||
"Chocolate #D2691E"
|
||||
"SaddleBrown #8B4513"
|
||||
"Sienna #A0522D"
|
||||
"Brown #A52A2A"
|
||||
"Maroon #800000"
|
||||
)
|
||||
|
||||
# whites
|
||||
whites=(
|
||||
"White #FFFFFF"
|
||||
"Snow #FFFAFA"
|
||||
"HoneyDew #F0FFF0"
|
||||
"MintCream #F5FFFA"
|
||||
"Azure #F0FFFF"
|
||||
"AliceBlue #F0F8FF"
|
||||
"GhostWhite #F8F8FF"
|
||||
"WhiteSmoke #F5F5F5"
|
||||
"SeaShell #FFF5EE"
|
||||
"Beige #F5F5DC"
|
||||
"OldLace #FDF5E6"
|
||||
"FloralWhite #FFFAF0"
|
||||
"Ivory #FFFFF0"
|
||||
"AntiqueWhite #FAEBD7"
|
||||
"Linen #FAF0E6"
|
||||
"LavenderBlush #FFF0F5"
|
||||
"MistyRose #FFE4E1"
|
||||
)
|
||||
|
||||
# grays
|
||||
grays=(
|
||||
"Gainsboro #DCDCDC"
|
||||
"LightGray #D3D3D3"
|
||||
"Silver #C0C0C0"
|
||||
"DarkGray #A9A9A9"
|
||||
"Gray #808080"
|
||||
"DimGray #696969"
|
||||
"LightSlateGray #778899"
|
||||
"SlateGray #708090"
|
||||
"DarkSlateGray #2F4F4F"
|
||||
"Black #000000"
|
||||
)
|
||||
|
||||
# colors for Toxin
|
||||
toxin=(
|
||||
"ToxinSlate #5f7d85"
|
||||
"ToxinSlateDark #1c2426"
|
||||
"ToxinVenom #61bc7f"
|
||||
"ToxinVenomLight #6ed38f"
|
||||
"ToxinCure #c0bb6e"
|
||||
"ToxinCureLight #d3cd76"
|
||||
)
|
||||
|
||||
colors=(
|
||||
"${reds[@]}"
|
||||
"${pinks[@]}"
|
||||
"${oranges[@]}"
|
||||
"${yellows[@]}"
|
||||
"${purples[@]}"
|
||||
"${greens[@]}"
|
||||
"${blues_and_cyans[@]}"
|
||||
"${browns[@]}"
|
||||
"${whites[@]}"
|
||||
"${grays[@]}"
|
||||
"${toxin[@]}"
|
||||
)
|
||||
|
||||
for color_data in "${colors[@]}"; do
|
||||
IFS=$' ' read -r color_name hex_code <<< "$color_data"
|
||||
hexToAnsiColors "$color_name" "$hex_code"
|
||||
echo "$color_name $hex_code $escape_color"
|
||||
done
|
||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -36,11 +36,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1765186076,
|
||||
"narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
|
||||
"lastModified": 1766070988,
|
||||
"narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
|
||||
"rev": "c6245e83d836d0433170a16eb185cefe0572f8b8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
viewBox="0 0 400 400"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="ml_logo.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
|
|
@ -21,7 +23,16 @@
|
|||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="px" />
|
||||
inkscape:document-units="px"
|
||||
inkscape:zoom="0.8875"
|
||||
inkscape:cx="199.43662"
|
||||
inkscape:cy="200"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1200"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<linearGradient
|
||||
|
|
@ -66,7 +77,7 @@
|
|||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#swatch9"
|
||||
id="linearGradient11"
|
||||
id="linearGradient4"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="87.613281"
|
||||
y1="106.19141"
|
||||
|
|
@ -75,7 +86,7 @@
|
|||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#swatch9"
|
||||
id="linearGradient15"
|
||||
id="linearGradient6"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="87.613281"
|
||||
y1="106.19141"
|
||||
|
|
@ -92,28 +103,26 @@
|
|||
inkscape:label="Layer 2">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:48px;font-family:'Liberation Mono';-inkscape-font-specification:'Liberation Mono Bold';text-align:center;writing-mode:lr-tb;direction:ltr;text-orientation:upright;text-anchor:middle;white-space:pre;inline-size:182.414;fill:url(#swatch8);fill-opacity:1;stroke:url(#linearGradient11)"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:48px;font-family:'Liberation Mono';-inkscape-font-specification:'Liberation Mono Bold';text-align:center;writing-mode:lr-tb;direction:ltr;text-orientation:upright;text-anchor:middle;white-space:pre;inline-size:182.414;fill:url(#swatch8);fill-opacity:1;stroke:url(#linearGradient4)"
|
||||
x="172.20703"
|
||||
y="122"
|
||||
id="text5"
|
||||
transform="matrix(1.3753165,0,0,1.7261625,-33.799978,-89.862213)"
|
||||
inkscape:label="text5"><tspan
|
||||
id="tspan5"
|
||||
x="87"
|
||||
y="122"
|
||||
style="text-align:center;text-anchor:middle;fill:url(#swatch8);fill-opacity:1;stroke:url(#linearGradient11)">MAYDAY</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:48px;font-family:'Liberation Mono';-inkscape-font-specification:'Liberation Mono Bold';text-align:center;writing-mode:lr-tb;direction:ltr;text-orientation:upright;text-anchor:middle;white-space:pre;inline-size:182.414;fill:url(#swatch8);fill-opacity:1;stroke:url(#linearGradient15)"
|
||||
x="172.20703"
|
||||
y="122"
|
||||
id="text5-9"
|
||||
transform="matrix(1.3753165,0,0,1.7261625,-33.913261,21.754971)"
|
||||
transform="matrix(1.3753165,0,0,1.7261625,-38.370286,-34.650946)"
|
||||
inkscape:label="text5"><tspan
|
||||
x="172.20703"
|
||||
y="122"
|
||||
id="tspan1"
|
||||
style="stroke:url(#linearGradient15)">LABS</tspan></text>
|
||||
id="tspan2">MAYDAY</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:48px;font-family:'Liberation Mono';-inkscape-font-specification:'Liberation Mono Bold';text-align:center;writing-mode:lr-tb;direction:ltr;text-orientation:upright;text-anchor:middle;white-space:pre;inline-size:182.414;fill:url(#swatch8);fill-opacity:1;stroke:url(#linearGradient6)"
|
||||
x="172.20703"
|
||||
y="122"
|
||||
id="text5-9"
|
||||
transform="matrix(1.3753165,0,0,1.7261625,-39.208369,45.416943)"
|
||||
inkscape:label="text5"><tspan
|
||||
x="172.20703"
|
||||
y="122"
|
||||
id="tspan3">LABS</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.1 KiB |
|
|
@ -20,6 +20,7 @@
|
|||
gtk3
|
||||
gtk2
|
||||
nwg-look # not a fan. figure out declarative replacement.
|
||||
jasper-gtk-theme
|
||||
];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
|
|
|
|||
15
scripts/stable/hex-to-ansi
Executable file
15
scripts/stable/hex-to-ansi
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
color_name="$1"
|
||||
hex="$2"
|
||||
|
||||
hex=${hex#"#"}
|
||||
r=$(printf '0x%0.2s' "$hex")
|
||||
g=$(printf '0x%0.2s' ${hex#??})
|
||||
b=$(printf '0x%0.2s' ${hex#????})
|
||||
|
||||
ansi_code="$(( (r<75?0:(r-35)/40)*6*6 +
|
||||
(g<75?0:(g-35)/40)*6 +
|
||||
(b<75?0:(b-35)/40) + 16 ))"
|
||||
|
||||
escape_color=$(printf '\e[38;5;%dm' $ansi_code)
|
||||
eval "${color_name}='${escape_color}'"
|
||||
echo $ansi_code
|
||||
|
|
@ -3,9 +3,9 @@ cd
|
|||
echo ""
|
||||
cd $HOME/projects/morganmayday
|
||||
#if ! [[ $* =~ n ]]; then
|
||||
pastDate=$(cat /home/mayday/projects/morganmayday/content/archives.md | grep -m 1 date | head -1)
|
||||
nowDate=$(date '+%F')
|
||||
sed -i "s/${pastDate}/date = ${nowDate}/" /home/mayday/projects/morganmayday/content/archives.md
|
||||
# pastDate=$(cat /home/mayday/projects/morganmayday/content/archives.md | grep -m 1 date | head -1)
|
||||
# nowDate=$(date '+%F')
|
||||
# sed -i "s/${pastDate}/date = ${nowDate}/" /home/mayday/projects/morganmayday/content/archives.md
|
||||
# cd content/advice
|
||||
# indexedAdvice=$(cat autoindex-depend)
|
||||
# for i in *.md; do
|
||||
|
|
|
|||
15
scripts/working/hex-to-ansi.sh
Executable file
15
scripts/working/hex-to-ansi.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
color_name="$1"
|
||||
hex="$2"
|
||||
|
||||
hex=${hex#"#"}
|
||||
r=$(printf '0x%0.2s' "$hex")
|
||||
g=$(printf '0x%0.2s' ${hex#??})
|
||||
b=$(printf '0x%0.2s' ${hex#????})
|
||||
|
||||
ansi_code="$(( (r<75?0:(r-35)/40)*6*6 +
|
||||
(g<75?0:(g-35)/40)*6 +
|
||||
(b<75?0:(b-35)/40) + 16 ))"
|
||||
|
||||
escape_color=$(printf '\e[38;5;%dm' $ansi_code)
|
||||
eval "${color_name}='${escape_color}'"
|
||||
echo $ansi_code
|
||||
|
|
@ -3,9 +3,9 @@ cd
|
|||
echo ""
|
||||
cd $HOME/projects/morganmayday
|
||||
#if ! [[ $* =~ n ]]; then
|
||||
pastDate=$(cat /home/mayday/projects/morganmayday/content/archives.md | grep -m 1 date | head -1)
|
||||
nowDate=$(date '+%F')
|
||||
sed -i "s/${pastDate}/date = ${nowDate}/" /home/mayday/projects/morganmayday/content/archives.md
|
||||
# pastDate=$(cat /home/mayday/projects/morganmayday/content/archives.md | grep -m 1 date | head -1)
|
||||
# nowDate=$(date '+%F')
|
||||
# sed -i "s/${pastDate}/date = ${nowDate}/" /home/mayday/projects/morganmayday/content/archives.md
|
||||
# cd content/advice
|
||||
# indexedAdvice=$(cat autoindex-depend)
|
||||
# for i in *.md; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue