diff --git a/ascii/distro/rstar b/ascii/distro/rstar new file mode 100644 index 00000000..111ead4a --- /dev/null +++ b/ascii/distro/rstar @@ -0,0 +1,20 @@ +"\ +${c1} .. + .oK0l + :0KKKKd. + .xKO0KKKKd + ,Od' .d0000l + .c;. .'''... ..'. + .,:cloddxxxkkkkOOOOkkkkkkkkxxxxxxxxxkkkx: + ;kOOOOOOOkxOkc'...',;;;;,,,'',;;:cllc:,. + .okkkkd,.lko .......',;:cllc:;,,'''''. + .cdo. :xd' cd:. ..';'',,,'',,;;;,'. + . .ddl.;doooc'..;oc;'..';::;,'. + coo;.oooolllllllcccc:'. . + .ool''lllllccccccc:::::;. + ;lll. .':cccc:::::::;;;;' + :lcc:'',..';::::;;;;;;;,,. + :cccc::::;...';;;;;,,,,,,. + ,::::::;;;,'. ..',,,,'''. + ........ ...... +" diff --git a/neofetch b/neofetch index 400b0d91..a1337abc 100755 --- a/neofetch +++ b/neofetch @@ -132,6 +132,12 @@ getdistro() { esac ascii_distro="Windows 10" + elif [ -f "/etc/redstar-release" ]; then + case "$distro_shorthand" in + "on" | "tiny") distro="Red Star OS" ;; + *) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)" + esac + elif type -p lsb_release >/dev/null 2>&1; then case "$distro_shorthand" in "on") lsb_flags="-sir" ;; @@ -2417,6 +2423,11 @@ colors() { setcolors 1 7 3 ;; + "Red Star"*) + setcolors 1 7 3 + ascii_distro="rstar" + ;; + "FreeBSD"* | "PCBSD"*) setcolors 1 7 3 ascii_distro="freebsd"