Skip to content
mirdukkkkkPublic

About

๐Ÿ

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿfetch

Static Badge GitHub License GitHub Tag AUR Version

A ๐Ÿ is buzzing

Screenshot (๐Ÿ)

๐Ÿ

Download

Static Linux binaries (amd64, 386, arm64, armv7, armv6) are attached to every release.

Build

cargo build --release
# binary: target/release/beefetch

Nix

nix run github:mirdukkkkk/beefetch
nix develop   # dev shell with cargo, clippy, rustfmt, rust-analyzer, hyperfine

Home Manager

# flake inputs
beefetch.url = "github:mirdukkkkk/beefetch";

# home configuration
imports = [ inputs.beefetch.homeModules.default ];

programs.beefetch = {
  enable = true;
  settings = {
    fields = [ "os" "kernel" "uptime" "ram" "wm" "server" ];
    color = true;
  };
};

The package is built from your own pkgs, so it does not pull in a second nixpkgs.

Usage

beefetch [-n] [-f LIST] [-c PATH]

-n, --no-color     Disable ANSI colors (also NO_COLOR=1)
-f, --fields LIST  Fields to show, in order: os, kernel, uptime, ram, wm, server
-c, --config PATH  Config file (also BEEFETCH_CONFIG)

Config

$XDG_CONFIG_HOME/beefetch/config (usually ~/.config/beefetch/config):

# fields to show, in order
fields = os, kernel, uptime, ram, wm, server
color = true

Command-line flags override the config.

Go v2 vs Rust v3

Go v2 Rust v3
Binary size 2.1 MB 316 KB
Startup (hyperfine -N) 1.5 ms 0.66 ms

๐Ÿ's

@mirdukkkkk, @EtherCD

About

๐Ÿ

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages