Official YoFetch configuration for NurOS - the FRESH operating system.
Friendly for User
Resource-efficient
Easy, but not too much
Source (Free/Libre Open Source Software)
tHinking different
NurOS is an independent, rolling-release Linux distribution designed as a universal, better alternative to Windows. Drawing inspiration from Fedora, Mint, and NixOS, NurOS combines user-friendliness with resource efficiency while maintaining the flexibility that power users demand.
Following the FRESH philosophy, shows only essential information:
- OS: NurOS (rolling release, no version number needed)
- Kernel: Linux kernel version
- Uptime: System uptime in human-readable format
- Packages: Smart package count with manager detection
- Shell: Current shell with version
- DE: Desktop Environment (auto-detected, falls back to WM or TTY)
- Terminal: Terminal emulator (auto-detected)
The configuration intelligently detects package counts:
- Primary: Tries
tulpar list --count(NurOS native package manager) - Fallback: If tulpar is not available (demo/development), detects and counts packages from:
- pacman (Arch-based)
- apt (Debian-based)
- dnf (Fedora-based)
- nix (Nix packages)
- flatpak (Universal packages)
This allows the configuration to work on development systems before tulpar is ready.
Uses ▸ symbol in cyan as a stylish, minimal separator between labels and values.
- Desktop Environment: Checks
$XDG_CURRENT_DESKTOP, falls back to$DESKTOP_SESSION, then WM detection - Window Manager: Uses
wmctrlif no DE is found - Terminal: Detects parent process to identify terminal emulator
- Shell Version: Automatically fetches shell version information
- Primary: Blue (
{color.blue}) - NurOS brand color - Accent: Bright Blue (
{color.bright_blue}) - Highlights - Separator: Cyan (
{color.cyan}) - Beautiful ▸ symbol - Logo Gradient: Blue → Bright Blue → Cyan → Bright Cyan
Edit the color variables at the top of config.lua:
local accent = "{style.bold}{color.blue}" -- Label color
local bright = "{color.bright_blue}" -- Highlight color
local sep = reset .. " {color.cyan}▸{style.reset} " -- SeparatorModify the padding and mode:
yo.padding(3, 0, 1) -- Right, Left, Top spacing
yo.mode("default") -- "default" (horizontal) or "vertical"Add new lines using the helper function:
yo.print(info_line("Label", "value"))Or remove existing yo.print() calls you don't need.
Edit the yo.logo() section. You can change colors for each line or replace the entire ASCII art.
This configuration embodies NurOS's FRESH principles:
- Friendly for User: Clean, readable output with auto-detection
- Resource-efficient: Minimal information, efficient commands, caching where needed
- Easy, but not too much: Simple structure, but customizable for power users
- Source (FLOSS): Open configuration, hackable Lua code
- tHinking different: Independent approach with unique visual identity
- Language: Lua (YoFetch configuration)
- Dependencies: bash, basic coreutils (uptime, uname, etc.)
- Optional: wmctrl (for WM detection)
- Default Mode: Horizontal (logo left, info right)
- Shell: /bin/bash with -c flag
config.lua- Main YoFetch configuration (Lua)README.md- This file
Special thanks to m1lkydev for creating YoFetch - a highly configurable system information tool that makes this beautiful NurOS display possible.
This configuration is part of the NurOS project and is licensed under the MIT License.