mirror of
https://github.com/Atsukoro1/ponyfetch.git
synced 2024-11-30 15:48:00 +01:00
feat: 🎸 Progress
This commit is contained in:
parent
8588a07d1a
commit
a79f4e4d8c
2 changed files with 8 additions and 4 deletions
|
@ -1,2 +0,0 @@
|
|||
# ponyfetch
|
||||
🐎 Just a simple cross-platform neofetch for all the bronies out there.
|
10
src/main.rs
10
src/main.rs
|
@ -1,12 +1,18 @@
|
|||
mod helpers;
|
||||
mod system;
|
||||
|
||||
struct Action<'a> {
|
||||
pub enum ActionType {
|
||||
HostInfo,
|
||||
Delimiter,
|
||||
Details
|
||||
}
|
||||
|
||||
pub struct Action<'a> {
|
||||
name: &'a str,
|
||||
func: fn() -> String,
|
||||
}
|
||||
|
||||
static ACTIONS: [Action; 8] = [
|
||||
const ACTIONS: [Action; 8] = [
|
||||
Action {
|
||||
name: "Distro",
|
||||
func: system::host::get_distro,
|
||||
|
|
Loading…
Reference in a new issue