feat: 🎸 Progress

This commit is contained in:
Atsukoro1 2022-12-01 17:02:11 +01:00
parent 8588a07d1a
commit a79f4e4d8c
2 changed files with 8 additions and 4 deletions

View file

@ -1,2 +0,0 @@
# ponyfetch
🐎 Just a simple cross-platform neofetch for all the bronies out there.

View file

@ -1,12 +1,18 @@
mod helpers; mod helpers;
mod system; mod system;
struct Action<'a> { pub enum ActionType {
HostInfo,
Delimiter,
Details
}
pub struct Action<'a> {
name: &'a str, name: &'a str,
func: fn() -> String, func: fn() -> String,
} }
static ACTIONS: [Action; 8] = [ const ACTIONS: [Action; 8] = [
Action { Action {
name: "Distro", name: "Distro",
func: system::host::get_distro, func: system::host::get_distro,