概要
Hyprland-native fetch utility for rice screenshots — live workspace, window and monitor state, theme/ecosystem awareness, 17 palettes and 429 logos. Fast (~50ms, ~18ms with --fast).
開発ツール計測したスター増加
- 24時間
- +7
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルA Hyprland-native fetch utility — live session state, rice-aware details, terminal presentation.
Website · Install · Quick Start · Features · Configuration · Themes & Logos · Development
The reveal above is a real recording. Click for a full-resolution still.
[!IMPORTANT] hyprfetch 0.2.1 is an early, testing-stage release — not yet a stable version. It is published on GitHub for feedback and real-world use, but the config format, module IDs and output layout may still change between releases. Please report bugs and rough edges through GitHub Issues. Pin a specific version if you depend on its exact output.
Why hyprfetch
- Live compositor state, not just hardware. Workspaces, clients, focused output, active window, monitors, keybinds and layer-shell surfaces are first-class rows, not an afterthought.
- Made for rice screenshots. It knows your GTK theme, icons, cursor, font, wallpaper backend and the daemons that make the desktop work, and draws them in a palette that matches.
- Fast, focused and honest. About 50 ms for the full render, 18 ms with
--fast; unavailable modules stay out of the output instead of being faked. One binary, no runtime dependencies beyond the tools it probes.
Features
System
- OS, host, kernel, uptime, packages, shell, terminal, locale, date & time
- CPU with realtime usage, GPU with VRAM and utilization, memory, swap, disk with selectable mount points, battery, temperature
- Network interface with IP, WiFi SSID, signal and link speed; PipeWire/PulseAudio sink with volume; MPRIS media players
- Local IP, load average (1/5/15 min), process count and logged-in users — all cheap local reads, no network calls
- BIOS and mainboard from DMI, the init system that owns PID 1,
$VISUAL/$EDITOR, and backlight brightness display(resolution and refresh rate, Hyprland first then DRM);weatherandpublicipare opt-in only — they make a network request, so they never run unless you askchassis(SMBIOS type) andpoweradapter(whether wall power is connected) join the default set;bluetooth,diskioandnetioare opt-in because they run a command or sample/procover a 150 ms window--redactrewrites the identifying values — account name, hostname, private IPs, Wi-Fi SSID, hardware serials — before anything is printed, so a screenshot can go public without leaking them
Hyprland session
- Compositor version, health summary (sockets, wallpaper, bar, notifications, idle, lock, portal, polkit agent), runtime instances and current splash
- Active workspace, focused monitor, session summary, workspace list and history (with per-row window counts and fullscreen state), active window, cursor position, monitor summary
- Config health, workspace rules, keybinds, global shortcuts, workspace layouts, layer-shell surfaces
- Input summary with per-device pointer speed and scroll factors; hypr-rice settings (layout, gaps, border, rounding, blur, animations)
Rice & ecosystem
- GTK theme, icon theme, cursor theme, font and wallpaper backend
- Ecosystem detection across twenty daemon categories: wallpaper, bar, launcher, notification, clipboard, screenshot, idle, lock, portal, polkit, tray, colour picker, network (NetworkManager/iwd/ConnMan/systemd-networkd), audio (PipeWire/PulseAudio), bluetooth, greeter (SDDM/GDM/LightDM/ly/greetd), IME (fcitx5/ibus), night light (gammastep/wlsunset/hyprsunset/redshift), power (power-profiles/tuned) and automount (udisks)
- 18 built-in palettes and a 430-preset logo catalogue (see Themes and logos)
Output & presentation
- Styled split layout with the running distro's logo drawn in solid pixel blocks, a session title, optional color bars and arcade LED usage meters (
▮▮▮▮▮▯▯▯▯▯▯▯▯▯: lit cells for the load, hollow cells for the remainder) - Arcade button labels: keys render as upper-case
[CPU],[MEMORY],[KERNEL]tags, padded so every value starts in the same column - Nerd Font glyphs sit in front of every label by default (
CPU,MEMORY);--no-icons/icons = falseturns them off for terminals whose font lacks the private-use glyphs --logo-image shot.pngdraws a real PNG as the logo through the kitty graphics protocol, sized to fill the height of the info block and placed beside it; it falls back to the text logo on terminals without the protocol- Figures in the values (
53%,8.1 GiB,72°C) are picked out in the theme accent, so numbers read like a game HUD - Width-aware layout fallback: a narrower logo, then denser text layouts on narrow terminals, with core system and Hyprland rows prioritized over auxiliary ones
- Four reveal animations,
--watchrefresh, plain/minimal/JSON/diagnostics modes, configurable module order, user-defined labels and command plugins
Install
cargo install --path . --locked
Or install an already built release binary:
cargo build --release --locked
install -Dm755 target/release/hyprfetch ~/.local/bin/hyprfetch
Arch users can build the packaging template in contrib/PKGBUILD:
cd contrib
makepkg -si
Quick Start
hyprfetch # default output
hyprfetch --preset rice # rice-screenshot preset
hyprfetch --preset minimal # short core rows
hyprfetch --preset all # every default module
hyprfetch --fast # near-instant render (~18 ms)
hyprfetch --no-icons # plain labels, for fonts without Nerd Font glyphs
hyprfetch --redact # scrub account, host, IPs, SSID and serials before a screenshot
hyprfetch --live # animate in place until Ctrl+C (owns the screen)
hyprfetch --logo-image me.png # draw a PNG logo (kitty / ghostty / WezTerm)
hyprfetch --share # rice-screenshot preset
hyprfetch --plain # no styling
hyprfetch --style minimal # key:value rows only
hyprfetch --watch --watch-interval 1
hyprfetch --init-config # write a starter config
hyprfetch --print-config # preview the default config
Presets select a ready-made module set and look (rice uses the split layout with
color bars, minimal uses the minimal style). Explicit flags such as --modules or
--theme still override a preset.
For a shareable look that leaves behavior alone, put only an [appearance] table in a
separate file and load it with --theme-file:
# ~/.config/hyprfetch/themes/my-rice.toml
[appearance]
palette = "catppuccin"
style = "minimal"
color_bars = false
separator = " | "
hyprfetch --theme-file ~/.config/hyprfetch/themes/my-rice.toml
A theme file changes only the appearance; the module set and per-module options come from your config, so you can share the look without sharing your setup.
The screenshot at the top of this README shows the styled output: key: value rows next to the logo, a session title, and compact usage bars for CPU, GPU, memory and swap. The logo is the running distro's own mark, drawn in solid pixel blocks; --logo hypr-pixel swaps in a HYPRFETCH wordmark if you prefer.
--fast keeps every module row but omits values that need a sampling window or an external command: CPU usage and bar, GPU usage and VRAM, audio device and volume, WiFi details and media players. Normal mode is unchanged; the same behavior is available as fast = true in the config.
Pick modules, logo, palette and colors explicitly:
hyprfetch --modules os,kernel,uptime,hyprland,hypr-workspaces,theme,wallpaper,hypr-ecosystem
hyprfetch --logo minimal --theme catppuccin --color never
hyprfetch --logo-file ~/my-ascii-art.txt # use your own ASCII logo
hyprfetch --theme arcade --retro # 80s arcade CRT look
hyprfetch --no-config
hyprfetch --json
hyprfetch --diagnostics # module status summary
hyprfetch --doctor # explain why modules failed and how to fix them
hyprfetch --list-modules
`--doctor` classifies each failing module's message (missing environment variable, unreachable
socket, absent optional tool, health hint) and prints an actionable fix, plus general tips.
hyprfetch --list-logos
hyprfetch --list-themes
Animation
The reveal is on by default; it only runs on a real terminal, and the finished frame is byte-identical to the static output, so screenshots are unaffected. Piped output, --json, --plain and --diagnostics never animate, and --watch animates only its first frame. The whole reveal lands in under 200 ms, so the output appears almost instantly.
| Style | What you see |
|---|---|
split (default) |
the logo grows first, then the session rows light up behind it |
wave |
the logo cells light up as a wave sweeping from the left edge, then the rows appear |
lines |
one line after another, a plain printing-press feel |
static |
no animation at all, and no spinner either |
Choose with --animation <style> or animation = "..." in the config file.
Configuration
The config lives at ~/.config/hyprfetch/config.toml, or $XDG_CONFIG_HOME/hyprfetch/config.toml. Module options are set next to the module they belong to; CLI module selection keeps the options configured in the file.
version = 1
# How the output is animated: "split", "lines", "wave" or "static".
animation = "split"
# Skip expensive probes for a near-instant render (same as --fast).
fast = false
[appearance]
style = "split"
palette = "hypr"
color = "auto"
plain = false
color_bars = true
padding = 1
separator = " "
[logo]
preset = "auto"
[[modules]]
name = "os"
label = "Distro"
[[modules]]
name = "host"
[[modules]]
name = "kernel"
[[modules]]
name = "uptime"
[[modules]]
name = "packages"
[[modules]]
name = "shell"
[[modules]]
name = "terminal"
[[modules]]
name = "cpu"
[[modules]]
name = "gpu"
[[modules]]
name = "memory"
[[modules]]
name = "swap"
[[modules]]
name = "disk"
mounts = ["/", "/home"]
[[modules]]
name = "battery"
[[modules]]
name = "locale"
[[modules]]
name = "network"
[[modules]]
name = "temperature"
[[modules]]
name = "audio"
[[modules]]
name = "datetime"
[[modules]]
name = "hyprland"
show_runtime = false
labels = { Workspace = "WS", Clients = "Windows", Focused = "Output" }
[[modules]]
name = "hypr-health"
[[modules]]
name = "hypr-instances"
compact = true
[[modules]]
name = "hypr-splash"
[[modules]]
name = "hypr-active-window"
compact = true
[[modules]]
name = "hypr-cursor"
[[modules]]
name = "hypr-workspaces"
compact = true
[[modules]]
name = "hypr-monitors"
compact = true
[[modules]]
name = "hypr-config"
compact = true
[[modules]]
name = "hypr-rules"
compact = true
[[modules]]
name = "hypr-devices"
compact = true
[[modules]]
name = "hypr-binds"
compact = true
[[modules]]
name = "hypr-shortcuts"
compact = true
[[modules]]
name = "hypr-layouts"
compact = true
[[modules]]
name = "hypr-layers"
compact = true
[[modules]]
name = "theme"
compact = false
show_font = true
[[modules]]
name = "wallpaper"
[[modules]]
name = "hypr-ecosystem"
compact = true
# versions = true # probe and show daemon versions (off by default: skips ~100ms of --version commands)
[[plugins]]
name = "battery"
command = "sh"
args = ["-c", "printf 'Battery\t88%%\n'"]
timeout_ms = 1000
The disk module reports the root file system by default; list the mount points you care about to report more:
[[modules]]
name = "disk"
mounts = ["/", "/home", "/boot"]
Any module can reshape its value with a format template. Placeholders are read from
the module's JSON data (see hyprfetch --json), and a numeric field accepts :.N
to round to N decimals:
[[modules]]
name = "os"
format = "distro: {name}"
[[modules]]
name = "cpu"
format = "{model} [{usage_percent:.0}%]"
Unknown placeholders stay visible rather than being silently blanked, and a module's usage meter is kept when the value is reformatted.
The Hyprland modules can list their details instead of only counting them:
[[modules]]
name = "hypr-devices"
devices = true
[[modules]]
name = "hypr-binds"
list = true
[[modules]]
name = "hypr-layers"
list = true
[[modules]]
name = "hypr-rules"
list = true
[[modules]]
name = "hypr-shortcuts"
list = true
[[modules]]
name = "hypr-layouts"
list = true
The listed rows name the window, binding, surface, rule, shortcut or workspace they belong to, so a rice screenshot shows the setup instead of a count of it.
Command plugins
Plugins add custom rows without recompiling. Each plugin runs a command and reads stdout:
- A single plain line becomes one row using
labelorname. Key<TAB>Valuelines become explicit rows.Key=Valuelines also become explicit rows.
[[plugins]]
name = "music"
command = "sh"
args = ["-c", "printf 'Track\t%s\n' \"Lo-fi radio\""]
timeout_ms = 1000
A plugin that fails or times out keeps its reason in the output, so a broken plugin is never mistaken for one that produced no rows.
Defaults
The shipped default is a curated 23-module set — identity, hardware, session and the Hyprland headline (version, workspaces, theme, wallpaper) — which lands around 30 rows, the length of a screenshot. Everything else is diagnostics and is one flag away:
hyprfetch --preset all # every module
hyprfetch --preset minimal # 7 rows
hyprfetch -m os,cpu,gpu,hypr-rules,hypr-binds # pick your own
Module IDs
| Group | Modules |
|---|---|
| System | os, host, bios, board, chassis, kernel, initsystem, uptime, packages, shell, editor, terminal, cpu, gpu, memory, swap, disk, battery, poweradapter, brightness, locale, network, localip, publicip, loadavg, processes, users, bluetooth, diskio, netio, opengl, weather, display, temperature, audio, media, datetime, colorscheme |
| Hyprland | hyprland, hypr-health, hypr-instances, hypr-splash, hypr-workspaces, hypr-monitors, hypr-active-window, hypr-cursor, hypr-workspace-history, hypr-config, hypr-rules, hypr-devices, hypr-binds, hypr-shortcuts, hypr-layouts, hypr-layers, hypr-ecosystem |
| Rice | theme, wallpaper, hypr-rice |
hypr-rice is available but not part of the default module order: it costs several extra hyprctl getoption calls, so add it to the config when you want those rows.
Themes and logos
Palettes
18 themes ship in the binary, inspired by palettes collected in projects like kitty-themes:
hypr mono catppuccin dracula gruvbox gruvbox-light nord one-dark
solarized-dark solarized-light rose-pine ayu everforest kanagawa
monokai material github arcade
Pick one with --theme gruvbox, list them with --list-themes, or set palette = "gruvbox" in the config. Each theme sets the key colors, title, rule, logo tones and color bars. Values use a bright near-white tone derived from the theme's foreground (dark themes brighten, light themes darken) so they stay readable next to the colored keys.
hypr![]() |
catppuccin![]() |
gruvbox![]() |
Arcade / CRT look
The default look is an ice-blue coin-op style: the arcade palette uses light blue
#8ecbff, electric aqua #7ef5e0 and ice white on a deep navy #0a1020 screen. retro
adds CRT-style ═ title rules and LED usage meters, while keeping the normal
logo-left / rows-right fetch layout.
hyprfetch --no-retro # plain fetch look without the arcade touches
hyprfetch --theme catppuccin # keep the arcade layout, change the palette
In the config, retro = false and palette = "hypr" restore the old defaults.
Logo catalogue
hyprfetch ships 430 presets in assets/logos/. os-release auto-detection checks VARIANT, then ID, then NAME, then ID_LIKE, then the platform family, so unsupported derivatives usually land on a sensible family logo instead of a generic fallback. The default is auto: the running distro's own logo, always. hypr-pixel is an optional solid-block HYPRFETCH wordmark in the 80s arcade style, minimal renders an alternate wordmark, none hides the logo, and --list-logos is authoritative.
Bundled logo families (click to expand)
- Arch family:
arch,arcolinux,archcraft,archlabs,archbox,archstrike,arkane,arselinux,blackarch,hyperbola,steamos,steamdeck,chimera,biglinux,manjaro,garuda,cachyos,endeavouros,artix,asahi,crux,aoscos,astos,aster,blackpanther,blag,bunsenlabs,calinixos,cleanjaro,condres,cutefishos,dracos,elbrus,elive,evolutionos,grombyang,gxde,hardclanz,iglunix,instantos,januslinux,kaisen,kogaion,massos,midos,obarun,orchid,oreon,parsix,radix,ravynos,regata,secureblue,xinux - Fedora and RHEL family:
fedora,rocky,almalinux,centos,oracle,silverblue,kinoite,sericea,coreos,nobara - Debian family:
debian,devuan,kali,parrot,raspbian,mx,antix,dietpi,deepin,q4os,proxmox,truenas,emmabuntus,lilidog,locos,tails,trisquel,sparky,siduction,parabola,pardus,pclinuxos,openmamba,pearos,lmde,slackel,slitaz,sulin,linspire,bodhi,blankon - Ubuntu family:
ubuntu,pop,elementary,zorin,linuxmint,tuxedo,vanilla,peppermint,linuxlite,lliurex, plus thekubuntu,xubuntu,lubuntu,ubuntu-studio,ubuntu-cinnamon,ubuntu-budgie,ubuntu-mate,ubuntu-unity,ubuntu-kylin,ubuntu-sway,ubuntu-touchandubuntu-gnomeflavours - SUSE family:
opensuse,opensuse-leap,opensuse-tumbleweed,opensuse-microos,opensuse-slowroll - Gentoo family:
gentoo,funtoo,calculate,redcore,pentoo - Other Linux:
nixos,guix,void,alpine,postmarketos,solus,chakra,pureos,openmandriva,openeuler,antergos,kaos,altlinux,rosa,lunar,source-mage,slackware,mageia,mandriva,exherbo,scientific,lfs,puppy,armbian,sabayon,korora,netrunner,porteus,skiffos,swagarch,uwuntu,valhalla,venom,vnux,wolfos,macaronos,maui,nuros,nurunner,laxeros,minix,msys2,nitrux,osmc,redos,salix,bitrig,endless,refracta,frugalware,snigdhaos,univention,openstage - Enterprise and appliance:
clear-linux-os,amazon,openwrt,opnsense,haiku,qubes,openkylin,kylin,uos,astra,cbl-mariner,android,harmonyos,sailfish,bredos,smartos,openindiana,omnios,torizon,serpent,galliumos,grapheneos,libreelec,pcbsd - BSD and Unix:
freebsd,netbsd,openbsd,dragonfly,ghostbsd,midnightbsd,nomadbsd,bsd,solaris,zos,aix - Niche and community distros: 170 more presets, from
adelie,anarchy,athenaos,cereus,crystal,cosmic,hamonikr,parchandpikaostoredstar,t2,templeosandyiffos, plus alternate platforms likeamiga,irix,os2warp,pacbsd,pengwinandwii_linux - Platform and generic:
hypr,hypr-pixel(optional wordmark),linux,windows,windows-95,windows-8,windows-11,windows-2025,macos
Alternate drawings of covered distros — numbered takes (arch2, artix2, macos2, void2, …), older artwork (fedora_old, linuxmint_old, ubuntu_old, …) and retro variants — are wired as name-only presets: they claim no os-release alias, so auto-detection never picks them; select one explicitly with --logo arch2.
ASCII distro logos are rendered as solid pixel blocks: every ink symbol (fastfetch's o/+/s, figlet letters, etc.) becomes a full block cell while structural strokes keep each distro's silhouette, and the selected theme supplies the color. Logos already drawn with Unicode block or braille characters keep their own art — which is how the optional hypr-pixel wordmark stays crisp. The distro logo itself is never replaced by a wordmark unless you ask for one.
--logo-file <path> renders your own ASCII artwork with the same pixel-block treatment and active palette, so a personal logo works without adding it to the catalogue.
Data Sources
/etc/os-release,/proc,/sys,/proc/statfor realtime CPU utilization sampled across the collection windownvidia-smifor NVIDIA GPU utilization;/sys/class/drm/*/device/gpu_busy_percentandgt_perf_statusfor AMD and Intel/var/lib/pacman/local,/var/lib/dpkg/status,rpm -qa,/nix/store,/opt/homebrew/Cellaror/usr/local/Cellarfor package counts/sys/class/power_supply,/proc/net/route,ipfor network detection,iworiwconfigfor wireless SSID/signal/speed- PipeWire/PulseAudio runtime sockets with
wpctl/pactl, andplayerctlfor MPRIS media players - Environment variables and Hyprland runtime instance directories under
$XDG_RUNTIME_DIR/hypr;hyprctlendpoints such assplash,cursorpos,configerrors,workspacerules,binds,globalshortcuts,layersandgetoption - GTK settings files under
$XDG_CONFIG_HOME, and thedatecommand for date and time
The binary stays usable outside Hyprland: Hyprland-specific modules degrade to unavailable instead of aborting the run.
Development
cargo fmt
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets --locked
cargo build --release --locked
The release profile enables thin LTO and symbol stripping, producing a compact single binary. A man page lives at contrib/hyprfetch.1 and ships with releases.
Packaging
hyprfetch is published on the AUR as hyprfetch-git,
tracking the git master branch. Install it with any AUR helper:
yay -S hyprfetch-git
# or
paru -S hyprfetch-git
An Arch packaging template also lives at contrib/PKGBUILD for local builds:
cd contrib
makepkg -si
Roadmap
The earlier open items are done: every usable artwork file is wired into the logo catalogue (430 presets, alternate drawings selectable by name), the ecosystem covers twenty daemon categories with versions, and the workspace history and input modules report their full detail. Only a handful of files stay unwired on purpose: artwork whose stem (rhel, aurora, rebornos, amazon_linux, ultramarine, unknown) is already an os-release alias of a covered distro, the fastfetch logo, and two orphaned _small files whose parent drawing does not exist. New ideas are tracked in the changelog's Unreleased section.
Acknowledgements
The 512 distro artworks under assets/logos/ come from
fastfetch (src/logo/ascii/),
which is MIT licensed. They are used unmodified — only the $1–$9 colour
placeholders are stripped when rendering — and each logo was contributed to
that project by its community. hyprfetch adds the palette mapping, the
Hyprland-specific modules and the arcade presentation; the artwork itself is
not ours.
The full attribution and the MIT license text are in NOTICE.
License
hyprfetch is released under the GPL-3.0 license.
関連プロジェクトを探す
読み込み中…


