Skip to content

Commit

Permalink
Added licensing info. Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
shibedrill committed Sep 1, 2023
1 parent 551c6a1 commit c126659
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxidefetch"
version = "1.3.0"
version = "1.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# oxidefetch 1.3.0
# oxidefetch 1.3.1
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")
Expand Down Expand Up @@ -76,4 +76,7 @@ No weird quirks to report at this time.
**1.2.0:** Allowed users to enable field titles as a compile-time feature. Tentative fix for GPU display issues on Linux.
**1.2.1:** Stable fix for GPU display quirks.
**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.

### License
This software is covered by the MIT license. See license.txt for details.
20 changes: 20 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

Copyright 2023 shibedrill

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.
28 changes: 25 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
// Code by River. Copy if you want, but don't say it's yours.
/*
Copyright 2023 shibedrill
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 byte_unit::*;
use chrono::*;
Expand Down Expand Up @@ -72,7 +94,7 @@ struct InformationStruct {
kernel_ver: Option<String>,
uptime: String,
shell: Option<String>,
terminal: Option<String>,
_terminal: Option<String>,
cpu: String,
gpu: Option<Vec<String>>,
memory: String,
Expand Down Expand Up @@ -107,7 +129,7 @@ impl InformationStruct {
}
},

terminal: None, // TODO: Add terminal detection.
_terminal: None, // TODO: Add terminal detection.

cpu: String::from(sys.cpus()[0].brand()),

Expand Down

0 comments on commit c126659

Please sign in to comment.