Updated distro colors and logos.
This commit is contained in:
parent
31babf1c59
commit
0e8f617f6b
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -333,7 +333,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
version = "1.4.1"
|
version = "1.4.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byte-unit",
|
"byte-unit",
|
||||||
"chrono",
|
"chrono",
|
||||||
@ -422,9 +422,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sysinfo"
|
name = "sysinfo"
|
||||||
version = "0.28.1"
|
version = "0.29.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "38a81bbc26c485910df47772df6bbcdb417036132caa9e51e29d2e39c4636d4e"
|
checksum = "0a18d114d420ada3a891e6bc8e96a2023402203296a47cdd65083377dad18ba5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"core-foundation-sys",
|
"core-foundation-sys",
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "oxidefetch"
|
name = "oxidefetch"
|
||||||
version = "1.4.1"
|
description = "A fast, cross platform Fetch program for your terminal"
|
||||||
|
version = "1.4.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
authors = [ "NamedNeon", "shibedrill" ]
|
||||||
|
license = "MIT"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -12,7 +15,7 @@ colored = "2.0.0"
|
|||||||
compound_duration = "1.2.0"
|
compound_duration = "1.2.0"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
quoted-string = "0.6.1"
|
quoted-string = "0.6.1"
|
||||||
sysinfo = "0.28.1"
|
sysinfo = "0.29.1"
|
||||||
whoami = "1.3.0"
|
whoami = "1.3.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
23
README.md
23
README.md
@ -1,4 +1,4 @@
|
|||||||
# oxidefetch 1.4.1
|
# oxidefetch 1.4.2
|
||||||
Fully cross platform Neofetch clone written in Rust. Up to 25 times faster than Neofetch!
|
Fully cross platform Neofetch clone written in Rust. Up to 25 times faster than Neofetch!
|
||||||
|
|
||||||

|

|
||||||
@ -47,11 +47,21 @@ GPU detection runs on Windows without any dependencies.)
|
|||||||
3: Nerd fonts symbols are used in the output. Install a patched font on your system, or patch an already installed font.
|
3: Nerd fonts symbols are used in the output. Install a patched font on your system, or patch an already installed font.
|
||||||
|
|
||||||
### How you can help with the project
|
### How you can help with the project
|
||||||
I need to verify the output of the OS information detection libraries I'm pulling in. To do this, I need the help of people
|
I need to verify the output of the OS information detection libraries I'm pulling in. To do this, I need the help of people with varying types of systems. I've tested a few, but there's some I'm unable to test. To help, you can kindly clone this repo, and inside the folder, run ```cargo test -- --nocapture```, and send the resultant ```test_output.txt``` file to my noreply email address, or directly to me on Discord at ```@shibedrill```. This program does NOT collect information regarding your real name, IP, location, hardware serial numbers, etc. You can look at the file it generates to be sure- it's all plaintext, babey.
|
||||||
with varying types of systems. I've tested Arch Linux and Windows 10, but nothing else. To help, you can kindly clone this
|
#### Tested distributions/platforms:
|
||||||
repo, and inside the folder, run ```cargo test -- --nocapture```, and send the resultant ```test_output.txt``` file to my
|
- Alma Linux
|
||||||
noreply email address, or directly to me on Discord at ```@shibedrill```. This program does NOT collect information
|
- Alpine Linux
|
||||||
regarding your real name, IP, location, etc. You can look at the file it generates to be sure- it's all plaintext, babey.
|
- Arch Linux
|
||||||
|
- CentOS
|
||||||
|
- Debian
|
||||||
|
- Fedora
|
||||||
|
- Gentoo
|
||||||
|
- Kali Linux
|
||||||
|
- Linux Mint
|
||||||
|
- openSUSE Leap
|
||||||
|
- openSUSE Tumbleweed
|
||||||
|
- Ubuntu
|
||||||
|
- Windows
|
||||||
|
|
||||||
### Bugs, Quirks, Unintended Behavior, And Other Shenanigans
|
### Bugs, Quirks, Unintended Behavior, And Other Shenanigans
|
||||||
No weird quirks to report at this time.
|
No weird quirks to report at this time.
|
||||||
@ -85,6 +95,7 @@ No weird quirks to report at this time.
|
|||||||
**1.3.2:** Changed color of time output to be more visible on gray terminals.
|
**1.3.2:** Changed color of time output to be more visible on gray terminals.
|
||||||
**1.4.0:** Added support for terminal detection, and fixed system detection on Darwin systems.
|
**1.4.0:** Added support for terminal detection, and fixed system detection on Darwin systems.
|
||||||
**1.4.1:** Changed terminal color to match shell color.
|
**1.4.1:** Changed terminal color to match shell color.
|
||||||
|
**1.4.2:** Updated colors and logos of a few distros. They will now display correctly.
|
||||||
|
|
||||||
### License
|
### License
|
||||||
This software is covered by the MIT license. See license.txt for details.
|
This software is covered by the MIT license. See license.txt for details.
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Copyright 2023 shibedrill
|
Copyright 2023 shibedrill & Namedneon
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the “Software”), to deal in
|
this software and associated documentation files (the “Software”), to deal in
|
||||||
|
25
src/main.rs
25
src/main.rs
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2023 shibedrill
|
Copyright 2023 shibedrill & Namedneon
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
this software and associated documentation files (the “Software”), to deal in
|
this software and associated documentation files (the “Software”), to deal in
|
||||||
@ -220,22 +220,22 @@ impl Information {
|
|||||||
// sys.name() function will return.
|
// sys.name() function will return.
|
||||||
// TODO: Validate sys.name() outputs.
|
// TODO: Validate sys.name() outputs.
|
||||||
{
|
{
|
||||||
"Alma Linux" => '',
|
"AlmaLinux" => '',
|
||||||
"Alpine Linux" => '',
|
"Alpine Linux" => '',
|
||||||
"Arch Linux" => '',
|
"Arch Linux" => '',
|
||||||
"CentOS" => '',
|
"CentOS Linux" | "CentOS Stream" => '',
|
||||||
"Debian GNU/Linux" => '',
|
"Debian GNU/Linux" => '',
|
||||||
"ElementaryOS" => '',
|
"ElementaryOS" => '',
|
||||||
"EndeavourOS" => '',
|
"EndeavourOS" => '',
|
||||||
"Fedora Linux" => '',
|
"Fedora Linux" => '',
|
||||||
"FreeBSD" => '',
|
"FreeBSD" => '',
|
||||||
"Gentoo Linux" => '',
|
"Gentoo" => '',
|
||||||
"Kali Linux" => '',
|
"Kali GNU/Linux" => '',
|
||||||
"Linux Mint" => '',
|
"Linux Mint" => '',
|
||||||
"Manjaro Linux" => '',
|
"Manjaro Linux" => '',
|
||||||
"OpenSUSE" => '',
|
"openSUSE Tumbleweed" | "openSUSE Leap" => '',
|
||||||
"PopOS" => '',
|
"PopOS" => '',
|
||||||
"Ubuntu Linux" => '',
|
"Ubuntu" => '',
|
||||||
"Windows" => '',
|
"Windows" => '',
|
||||||
"Android" => '',
|
"Android" => '',
|
||||||
"iOS" => '',
|
"iOS" => '',
|
||||||
@ -266,13 +266,13 @@ impl Information {
|
|||||||
{
|
{
|
||||||
"Debian GNU/Linux" => String::from("bright red"),
|
"Debian GNU/Linux" => String::from("bright red"),
|
||||||
"FreeBSD" => String::from("red"),
|
"FreeBSD" => String::from("red"),
|
||||||
"Ubuntu Linux" => String::from("orange"),
|
"Ubuntu" => String::from("orange"),
|
||||||
"Arch Linux" | "Windows" | "PopOS" => String::from("bright cyan"),
|
"Arch Linux" | "Windows" | "PopOS" => String::from("bright cyan"),
|
||||||
"Fedora Linux" | "Kali Linux" | "Alpine Linux" => String::from("bright blue"),
|
"Fedora Linux" | "Kali GNU/Linux" | "Alpine Linux" => String::from("bright blue"),
|
||||||
"OpenSUSE" | "Linux Mint" | "Android" => String::from("bright green"),
|
"openSUSE Tumbleweed" | "openSUSE Leap" | "Linux Mint" | "Android" => String::from("bright green"),
|
||||||
"EndeavourOS" | "Gentoo linux" | "CentOS" => String::from("purple"),
|
"EndeavourOS" | "Gentoo" | "CentOS" | "CentOS Stream" => String::from("purple"),
|
||||||
"iOS" | "macOS" | "ElementaryOS" => String::from("bright white"),
|
"iOS" | "macOS" | "ElementaryOS" => String::from("bright white"),
|
||||||
"Alma Linux" => String::from("yellow"),
|
"AlmaLinux" => String::from("yellow"),
|
||||||
|
|
||||||
_ => String::from("bright white"),
|
_ => String::from("bright white"),
|
||||||
},
|
},
|
||||||
@ -285,7 +285,6 @@ mod test {
|
|||||||
|
|
||||||
use crate::Information;
|
use crate::Information;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use crate::terminal::get_terminal;
|
|
||||||
|
|
||||||
// Self explanatory.
|
// Self explanatory.
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -1,3 +1,27 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
Copyright 2023 shibedrill & Namedneon
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the “Software”), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
||||||
|
of the Software, and to permit persons to whom the Software is furnished to do
|
||||||
|
so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
Loading…
Reference in New Issue
Block a user