Skip to content

ArgentumCation/mirafetch

Repository files navigation

mirafetch


GitHub

A Rust reimplementation of Hyfetch wih a focus on speed

Installation

Download the repo and run cargo run in the folder to try it out. To install mirafetch try cargo install . and ensure your cargo directory is in $PATH

Images

Images: image image image

Configuration

CLI Config

Options:
-s, --scheme-name <SCHEME_NAME>
-o, --orientation <ORIENTATION> [possible values: horizontal, vertical]
-i, --icon-name <ICON_NAME>
-h, --help Print help
-V, --version Print version

Config file

  • The configuration file is located in:

    • Linux: TODO/config.toml
    • macOS: TODO/config.toml
    • Windows TODO\config.toml
  • icon_name is optional and overrides the default icon for your system, these are defined in data/data.yaml

  • scheme_name is optional and defines the flag pattern to overlay on your OS icon, these are defined in data/flags.toml

    • orientation is required when scheme_name is present, and can be Horizontal or Vertical, and sets the direction of the flag's stripes

Notes

  • I could definitely use help testing on other platforms
  • There's currently minimal support for macOS, if you have a Mac and want to port this, feel free to make a PR
  • Documentation is also sparse at the moment, feel free to create an issue or open a PR
  • We're currently targeting a run time of ~60ms (approximately 15 fps), if you have any optimizations, please let us know!

Tested on:

  • Windows 11
  • Ubuntu 23.10
  • Pop! OS 20.04
  • NixOS 24.10
  • macOS Sonoma

Special Thanks