Changed terminal color to match shell color.

This commit is contained in:
shibedrill 2023-09-13 18:38:21 -04:00
parent 85b5adab1a
commit 31babf1c59
4 changed files with 6 additions and 5 deletions

2
Cargo.lock generated
View File

@ -333,7 +333,7 @@ checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
[[package]] [[package]]
name = "oxidefetch" name = "oxidefetch"
version = "1.4.0" version = "1.4.1"
dependencies = [ dependencies = [
"byte-unit", "byte-unit",
"chrono", "chrono",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "oxidefetch" name = "oxidefetch"
version = "1.4.0" version = "1.4.1"
edition = "2021" edition = "2021"
# 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

View File

@ -1,4 +1,4 @@
# oxidefetch 1.4.0 # oxidefetch 1.4.1
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!
![alt text](image.png "Example output of OxideFetch on a WSL2 Arch Linux host") ![alt text](image.png "Example output of OxideFetch on a WSL2 Arch Linux host")
@ -83,7 +83,8 @@ No weird quirks to report at this time.
**1.2.2:** All GPUs should print in their own lines. **1.2.2:** All GPUs should print in their own lines.
**1.3.0:** Tentative fix for issue where empty GPU info line might print on Linux. **1.3.0:** Tentative fix for issue where empty GPU info line might print on Linux.
**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.
### 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.

View File

@ -60,7 +60,7 @@ fn main() {
color_print("Kernel:\t", '', &sys_info.kernel_ver, "bright blue"); color_print("Kernel:\t", '', &sys_info.kernel_ver, "bright blue");
color_print("Uptime:\t", '', &Some(sys_info.uptime), "bright gray"); color_print("Uptime:\t", '', &Some(sys_info.uptime), "bright gray");
color_print("Shell:\t", '', &sys_info.shell, "bright magenta"); color_print("Shell:\t", '', &sys_info.shell, "bright magenta");
color_print("Terminal:\t", '', &sys_info.terminal, "bright green"); color_print("Terminal:\t", '', &sys_info.terminal, "magenta");
color_print("CPU:\t", '', &Some(sys_info.cpu), "green"); color_print("CPU:\t", '', &Some(sys_info.cpu), "green");
if sys_info.gpu.is_some() { if sys_info.gpu.is_some() {