[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108479":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":41,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},108479,"yami","Trendorin\u002Fyami","Trendorin","Pixel-art desktop for niri, written in Rust: a ~15 MB shell (bar, launcher, dock, lock screen, notifications, widgets) and its own file manager, viewer, player, screenshots and login screen as standalone modules. One palette for every app, signed updates, ready binaries and packages for every major distro.","",null,"Rust",235,7,1,3,0,13,39,127,44,92.36,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40],"desktop-shell","dotfiles","file-manager","installer","layer-shell","linux","linux-rice","niri","pixel-art","ricing","rust","tiling-window-manager","unixporn","wayland","2026-11-23 13:05:56","2026-11-23 19:08:25","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\".github\u002Fassets\u002Flogo.svg\" width=\"88\" alt=\"\">\n\n# yami\n\nA pixel-art desktop for niri, drawn in whole pixels.\n\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FTrendorin\u002Fyami?label=release&color=a8a29c)](https:\u002F\u002Fgithub.com\u002FTrendorin\u002Fyami\u002Freleases\u002Flatest)\n[![Installs](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FTrendorin%2Fyami%2Fstats%2Fbadge.json)](docs\u002FSECURITY.md#install-count)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-a8a29c)](LICENSE)\n![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Frust-1.89%2B-a8a29c)\n![niri](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fniri-26.04-a8a29c)\n![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Linux%20%C2%B7%20Wayland-a8a29c)\n\n[Install](#installation) · [Screenshots](#screenshots) · [Settings](docs\u002FCONFIG.md) · [Changelog](CHANGELOG.md) · [Русский](README.ru.md)\n\n\u003C\u002Fdiv>\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F1bdd1250-d04c-4993-b66f-0dc29b4512a5\n\n\u003Cimg src=\".github\u002Fassets\u002Fclean.png\" width=\"100%\" alt=\"The yami desktop as it is: the bar, the clock, CPU and music widgets on the pixel wallpaper\">\n\n**yami** (闇, \"darkness\") turns the [niri](https:\u002F\u002Fgithub.com\u002FYaLTeR\u002Fniri) Wayland compositor into a\nfinished desktop: dark graphite, one accent colour, crisp unantialiased pixel fonts. Its own\nshell, **yami-shell**, draws the bar, launcher, dock, notifications, lock screen, widgets and\nsettings itself, in Rust and shared memory, in one ~6 MB binary that uses **about 15 MB of RAM**.\nFiles, images, the login screen and every other app follow the same palette.\n\n\u003Cimg src=\".github\u002Fassets\u002Ffeatures-en.png\" width=\"100%\" alt=\"What is inside: a ~15 MB shell, one accent for everything, our own login screen, made for games, files, viewer and player, screenshots, a curtain for streams, signed updates, any distribution, three languages\">\n\nInstall on any of eight distributions with one command, built from source:\n\n```sh\nbash \u003C(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FTrendorin\u002Fyami\u002Fmain\u002Finstall.sh)\n```\n\nEverything it does and its flags: [Installation](#installation).\n\n## Features\n\n- **Native and lightweight.** Software rendering into shared memory through layer-shell; no\n  GPU context, no toolkit, no JavaScript. Fonts are memory-mapped, and redraws only happen when\n  something changes.\n- **Complete desktop shell.** Bar, app launcher with clipboard history, power menu, lock screen\n  (PAM), notification server with history and do-not-disturb, OSD, system tray (StatusNotifierItem\n  with DBusMenu), calendar, sound\u002Fmusic\u002Fnetwork\u002FBluetooth\u002Fsystem popups, a power profile switch\n  (power-profiles-daemon) and its own **polkit password window** instead of a Qt\u002FGTK agent.\n- **Desktop widgets.** Clock, calendar, weather, the output of your own script, music card with an\n  audio-reactive equalizer, and graphs\n  for CPU, RAM, temperature and rx\u002Ftx network traffic in five styles (bars, line, blocks, wave,\n  dots) and four animations. Drag them into place in edit mode, hide or resize them. Widgets\n  without a frame follow the wallpaper under them: dark text on a light spot, light on a dark one.\n- **Pixel dock.** Pinned apps and open windows on any edge, window markers, a hover animation to\n  choose (grow, wave, lift or none) that steps in whole pixels, a stepped bounce on launch; never, smart (empty workspace) or always hidden.\n- **Screenshots.** `Print` freezes the screen under a pixel overlay: area, window or monitor, a\n  loupe, pen, frame, arrow, marker, mosaic and numbered badges, a colour picker that copies hex,\n  text recognition (tesseract) and QR codes (zbarimg) from the selection; copies\n  and\u002For saves, the notification has a thumbnail and open \u002F show-in-folder.\n- **yami-files.** A file manager in the same pixels: tabs, split view, icons and details, places\n  in your order (drag, hide, fold), devices that mount by themselves when plugged in (drives and\n  cards through udisks2, encrypted ones with a password, phones and cameras over MTP\u002FPTP, iPhone), network shares\n  (smb, sftp, ftp, WebDAV, nfs: «connect to a server», addresses remembered without passwords), freedesktop trash, copy\u002Fmove with progress and conflicts, undo, drag and\n  drop, thumbnails, open with. It is also the **file dialog** of every app that uses the portal\n  (Firefox, LibreWolf, Chromium, Telegram, Electron, GTK\u002FKDE apps) and answers **show in folder**.\n- **Screen sharing.** OBS, Discord\u002FEquibop and browsers get a pixel «what to share» window from the\n  shell (monitors and windows); the stream itself comes from niri, through the yami portal.\n- **yami-view.** A fast image viewer and quick editor (rotate, flip, crop, save as, wallpaper),\n  real pixels when zoomed, GIF\u002FWebP animation. Photo viewers open as floating windows.\n- **yami-play.** A video and music player in the same pixels: every format ffmpeg knows,\n  hardware decoding, subtitles and audio tracks, a cell timeline, folder playlist in natural\n  order, resume where you stopped, speed, frame step, saving a frame, a «pixel» scaling mode.\n  libmpv is loaded at run time (the only dependency); the screen stays on while a video plays.\n- **Screens.** Settings → screens: drag monitors into place, pick resolution, refresh rate, scale,\n  rotation and VRR; applied through `~\u002F.config\u002Fniri\u002Fyami-outputs.kdl`, reverted after 15 s unless kept.\n- **Login screen.** Our own: yami-greet draws the lock screen's face inside niri, greetd (a 650 KB\n  daemon in Rust) checks the password and starts the session. No Qt, no SDDM. It follows the shell:\n  palette, wallpaper, language, monitors, keyboard layouts; if it ever cannot start, greetd's text\n  login takes that one boot, so the machine always lets you in. Settings → system → login screen:\n  its wallpaper, veil, clock, user list, power buttons, a preview and how its last start went.\n- **Desk mode.** Toggle niri between tiling and a classic floating desktop with DE-style title\n  bars, a resize corner on every window, click to focus and raise, minimize\u002Frestore and a task\n  list in the bar.\n- **yami-niri.** Our niri: upstream 26.04 plus a short patch series, built for your CPU (fat\n  LTO, `target-cpu=native`): tearing for fullscreen games (async page flips, less input lag), a\n  realtime compositor thread so a game loading every core doesn't make the desktop stutter. The\n  packaged niri stays as an automatic fallback. See [fork\u002FREADME.md](fork\u002FREADME.md).\n- **Games.** Settings → games: game windows open fullscreen with VRR (and tearing on yami-niri),\n  a big shader cache; while a game has focus notifications wait quietly and the power profile\n  switches to «performance»; the shell stops redrawing what the game covers. It finds and uses what\n  the system has on any distro: ntsync for Proton, GameMode for the focused game, MangoHud in the\n  palette (`yami doctor games` lists it all).\n- **Every key rebindable.** Settings → keys: all niri and shell bindings by category, press the\n  new keys right there (even ones niri itself uses), conflicts are freed and named, add your own\n  commands. Keyboard layouts too: by default they follow the system languages (an English system\n  gets `us`, a Russian one `us,ru`), any xkb codes and the switch combination are a choice. Written\n  to `~\u002F.config\u002Fniri\u002Fyami-binds.kdl`.\n- **One palette everywhere.** Seven presets or any custom accent recolor the shell, wallpaper,\n  niri borders, kitty, foot, cava, starship, btop, fastfetch (闇 logo), Qt\u002FKDE and GTK apps, the browser's menus (its\n  own theme stays yours), the pixel cursor and the login screen at once; your own templates\n  (`~\u002F.config\u002Fyami\u002Ftemplates`) recolour any other app. App icons in the launcher, dock, file manager and tray are\n  redrawn as 16×16 pixel art in the palette tones (can be turned off).\n- **Qt and KDE apps look like the shell.** Notched buttons, fields, checkboxes and tabs drawn from\n  the palette (qt6ct + QSS, KDE apps kept on Fusion instead of Breeze), and their file dialogs open\n  in yami-files through the portal, like GTK apps and browsers (Tor Browser included).\n- **A curtain for streams.** Mod+Shift+H: viewers of a stream, a Discord demo or an OBS recording\n  see the frozen screen blurred (or in big pixels, or just the wallpaper), while you keep your\n  desktop and a small «hidden» badge. A single shared window is covered too, and notifications\n  never reach a recording (settings → services). Settings → screenshots. Needs yami-niri\n  (`show-only-in`, `hide-from`); on other niri the windows turn black in the stream instead.\n- **Your wallpaper.** Settings → wallpaper: pick an image from a grid of your wallpaper folder's\n  thumbnails (or «set as wallpaper» in yami-files and yami-view), fill or fit, pixel cells, recolour it into the accent or the palette tones, darken\n  it, or let the palette follow the image. The login screen gets the same picture. With\n  [skwd-wall](https:\u002F\u002Fgithub.com\u002Fliixini\u002Fskwd-wall) its picks (videos and Wallpaper Engine scenes\n  too) become the wallpaper and its palette recolours the rice; nothing to configure on its side.\n- **Your bar shape.** Full-width strip, a centred panel of any width, or a floating pill with a gap\n  and a shadow; the centre modules sit dead centre. Windows can get rounded corners and any border\n  width (games stay square).\n- **Crisp on any screen.** The shell, yami-files and yami-view render at the monitor's real scale\n  (fractional-scale + viewporter) and upscale their pixels by nearest neighbour, so a 4K screen at\n  scale 2 shows sharp 2×2 pixels instead of a compositor-smeared image. Tiny5 is drawn on its 8 px\n  grid with no antialiasing (16\u002F24\u002F32 px by screen size).\n- **Your fonts.** Settings → fonts: any font for the shell, separately for yami-files and\n  yami-view, for GTK\u002FQt apps (readable sans by default, or pixel everywhere) and the terminal.\n- **Pixel motion.** Panels and windows dissolve in on a Bayer dither grid, matching niri's custom\n  window-open shaders. Settings → look offers four more patterns (scanlines, noise, diagonal,\n  blocks), the cell size, an instant close and CRT scanlines over the panels.\n- **Light or dark.** One switch (settings → color, or `install.sh --theme light`) turns the whole\n  rice light: the shell, GTK\u002FQt\u002FKDE, kitty, the cursor, the lock and login screens.\n- **A launcher that does more.** Type `2+2*3` for an answer, an app or a window title, `vrr` to land\n  on that setting, `>cmd` to run a command, `\u002Fname` to find a file at home.\n- **Your own bar modules.** Any script in `~\u002F.config\u002Fyami\u002Fmodules\u002F` that prints text or JSON\n  becomes a module or a desktop widget (crypto, GitHub, anything); weather is built in (Open-Meteo,\n  bar module and widget); see [docs\u002FCONFIG.md](docs\u002FCONFIG.md).\n- **Small comforts.** Reply to a message right from its notification, a night light (wlsunset),\n  the programs of your last session reopened at login (opt-in), your themes one click away\n  (settings → color → themes), shared as one file or a link (`yami theme export | import`) and the\n  whole setup moved to a new system (`yami export | import`).\n- **Three interface languages.** English, Russian and Brazilian Portuguese, switchable live in settings.\n- **Portable installer.** One script for Arch, Fedora (including atomic), Debian\u002FUbuntu,\n  openSUSE, Void, Alpine, Gentoo and NixOS.\n\n## Screenshots\n\nReal screenshots of a yami session (`tools\u002Freadme-shots.sh`).\n\n**Login screen** · our own greeter: the lock screen's face, greetd checks the password\n\n\u003Cimg src=\".github\u002Fassets\u002Flogin-en.png\" width=\"100%\" alt=\"The login screen: the big clock, the user and the password field on the pixel wallpaper under the veil\">\n\n**yami-files** · thumbnails, places, tabs and split view; the file dialog of every app\n\n\u003Cimg src=\".github\u002Fassets\u002Ffiles-en.png\" width=\"100%\" alt=\"yami-files: thumbnails, places, tabs and split view; the file dialog of every app\">\n\n**Screenshots** · area, window or screen, then arrows, frames, marker, mosaic and badges\n\n\u003Cimg src=\".github\u002Fassets\u002Fscreenshot-en.png\" width=\"100%\" alt=\"Screenshots: area, window or screen, then arrows, frames, marker, mosaic and badges\">\n\n**Settings → colour** · seven palettes or your own accent, the whole desktop follows\n\n\u003Cimg src=\".github\u002Fassets\u002Fsettings-color-en.png\" width=\"100%\" alt=\"Settings → colour: seven palettes or your own accent, the whole desktop follows\">\n\n**Settings → keys** · every binding by category, recorded live\n\n\u003Cimg src=\".github\u002Fassets\u002Fsettings-keys-en.png\" width=\"100%\" alt=\"Settings → keys: every binding by category, recorded live\">\n\n**yami-view** · real pixels when zoomed, quick edits, set as wallpaper\n\n\u003Cimg src=\".github\u002Fassets\u002Fview-en.png\" width=\"100%\" alt=\"yami-view: real pixels when zoomed, quick edits, set as wallpaper\">\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>More screenshots\u003C\u002Fb>\u003C\u002Fsummary>\n\n**Settings → updates** · releases, signatures, rollback\n\n\u003Cimg src=\".github\u002Fassets\u002Fsettings-updates-en.png\" width=\"100%\" alt=\"Settings → updates: releases, signatures, rollback\">\n\n**Settings → services** · hand any of them to another program\n\n\u003Cimg src=\".github\u002Fassets\u002Fsettings-agents-en.png\" width=\"100%\" alt=\"Settings → services: hand any of them to another program\">\n\n**Sound popup** · outputs, volume, microphone\n\n\u003Cimg src=\".github\u002Fassets\u002Fpopup-sound-en.png\" width=\"560\" alt=\"Sound popup: outputs, volume, microphone\">\n\n**The desktop** · bar, widgets and the launcher on the pixel wallpaper\n\n\u003Cimg src=\".github\u002Fassets\u002Fdesktop-en.png\" width=\"100%\" alt=\"The desktop: bar, widgets and the launcher on the pixel wallpaper\">\n\n\u003C\u002Fdetails>\n\n## Installation\n\nOne command on a fresh system (it fetches the repository into `~\u002F.local\u002Fshare\u002Fyami\u002Fsrc` and runs\nthe installer from there):\n\n```sh\nbash \u003C(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FTrendorin\u002Fyami\u002Fmain\u002Finstall.sh)\n```\n\nor from a checkout: `git clone https:\u002F\u002Fgithub.com\u002FTrendorin\u002Fyami yami && yami\u002Finstall.sh`.\nThe installer asks the language and shows what it will install, picked for this machine: Enter\ninstalls it, `c` walks through the choices (components, palette, panels, theme, app font) first.\nRun it as yourself, not with sudo: it asks for the password once, where it is needed. Reboot\nafterwards (or log out) and pick the **Niri** session: you land in the finished desktop. No flag\nis needed for a normal install; these are for the rest:\n\n| Flag | Effect |\n|---|---|\n| `--yes` | no questions, defaults for this machine |\n| `--lang en\\|ru\\|pt-BR` | language of the installer, the shell and the key hints |\n| `--palette ID` | `blood` `ash` `sakura` `amber` `venom` `ice` `dusk` |\n| `--look ID` | panels: `matte` `glass` `light` `solid` |\n| `--font sans\\|pixel` | app font: readable sans (default) or the pixel Tiny5 everywhere |\n| `--fetch mini\\|full` | fastfetch: who, system and desktop (default) or with the hardware too |\n| `--no-fork` | keep the packaged niri instead of building yami-niri |\n| `--no-tools` | leave out night light, text and QR from screenshots (wlsunset, tesseract, zbar) |\n| `--games`, `--no-games` | GameMode and MangoHud (on by default when Steam is installed) |\n| `--login`, `--no-login` | yami's login screen (greetd + yami-greet) even if another login manager is set \u002F leave it alone |\n| `--no-sudo` | home directory only: no packages, no system files |\n| `--dry-run` | print the plan, change nothing |\n| `--no-count` | do not add this machine to the «installs» badge (one anonymous download, [details](docs\u002FSECURITY.md#install-count)) |\n| `--uninstall` | remove the shell, the fork, the dotfiles and the login theme, restore the backups and the previous login manager |\n| `--update` | rebuild from this tree keeping every setting, no sudo (what `yami update apply` runs) |\n| `--no-anim` | disable the installer animations |\n\nWhat it does:\n\n1. Detects the distribution from `\u002Fetc\u002Fos-release` and installs packages with its native package\n   manager (niri, portals, polkit, PipeWire, NetworkManager, BlueZ, power-profiles-daemon, Noto\n   fonts, cliphist, grim, kitty, fastfetch, btop, udisks2, ffmpegthumbnailer, bsdtar, mpv (libmpv), gvfs with the MTP\u002FPTP\u002FAFC\u002FSMB backends, qt6ct,\n   adw-gtk3, Papirus, greetd). Names a repository does not carry are reported, not fatal. Enables\n   Bluetooth and power profiles, and NetworkManager when nothing else manages the network.\n2. Builds the workspace with `cargo build --release --locked` (Rust ≥ 1.89; rustup is used\n   when the distribution's toolchain is older) and installs `yami-shell`, `yami-files`,\n   `yami-view` and `yami-play` into `~\u002F.local\u002Fbin`; registers yami-files for folders and as the portal file\n   dialog \u002F FileManager1, yami-view for images, yami-play for video and music, and the Firefox-family portal pref.\n3. Installs the pixel fonts (Tiny5, DotGothic16, Terminess, Monocraft — pinned and checksummed)\n   with fontconfig rules and the pixel cursor in the palette.\n4. Writes the niri, kitty and fastfetch configuration, `yami-local.kdl` for this machine's GPU,\n   the keybindings and the game rules. Existing files are moved to `*.bak-DATE`; `output` blocks\n   from a previous niri config are carried over into `user.kdl`.\n5. Recolours everything around the shell (Qt, KDE, GTK, kitty, btop, browser menus, cursor).\n6. With the «login screen» component: installs greetd, yami-greet (root-owned, in `\u002Fusr\u002Flocal\u002Fbin`),\n   its safety net `greet-session` and the pixel cursor, and makes greetd the login manager from the\n   next boot (off by default when another login manager is set; an SDDM with the old yami theme is\n   replaced; systemd, OpenRC and runit). `--uninstall` removes it, gives greetd its own config back and\n   brings back the login manager it replaced.\n7. Builds yami-niri (5–25 minutes, output shown) and enables it from the next login.\n\nAn existing install under the old name DARK-4RMY is moved over: settings, palette, widgets\nand clipboard pins are kept, the old files are removed; the old dark-niri fork is removed too.\nEverything is logged to `~\u002F.cache\u002Fyami\u002Finstall.log`. On NixOS use the flake instead: a NixOS module\nfor the system half and a Home Manager module for the home half ([docs\u002FPACKAGING.md](docs\u002FPACKAGING.md#nix)).\n\n### Building the shell by hand\n\n```sh\ncd shell\ncargo build --release --locked\ninstall -Dm755 target\u002Frelease\u002Fyami-shell ~\u002F.local\u002Fbin\u002Fyami-shell\n```\n\nRuntime libraries: `libxkbcommon`, `libpam`. Optional helpers: `pactl`\u002F`parec` (volume, mixer,\nequalizer), `playerctl` (media), `nmcli` (Wi-Fi), BlueZ (Bluetooth), `cliphist` and\n`wl-clipboard` (clipboard), `python3` with Pillow (palette export to other apps).\n\n## Resource usage\n\nMeasured on this setup (1920×1080, Arch, PSS — shared library pages split fairly; RSS in brackets):\n\n| What | Memory |\n|---|---|\n| yami-shell, idle (bar, dock, widgets, notifications, tray) | 12.5 MB (16 MB) |\n| yami-shell with the settings open | 18 MB |\n| yami-shell during a screenshot (frozen frame), freed on close | 32 MB → 16 MB |\n| yami-files --portal (file dialog + FileManager1 service, always on) | 0.8 MB (3.2 MB) |\n| yami-files window on the home folder | 11 MB (14 MB) — Dolphin: 69 MB (161 MB) |\n| yami-view on a 1080p PNG, both neighbours decoded ahead | 49 MB (53 MB) — Gwenview: 96 MB (188 MB) |\n| binaries on disk: shell + files + view + player | 8.7 + 6.4 + 2.3 + 1.6 MB |\n\nAlways running: about 13 MB for the shell and the portal together. No GPU context, no toolkit,\nno interpreter; windows are drawn into shared memory and only when something changes. Code a\nprogram has stopped running (its start-up, a closed settings window) goes back to the kernel.\n\n## Keys\n\n| Keys | Action |\n|---|---|\n| `Mod+Space`, `Mod+D` | launcher (`Tab` switches to the clipboard) |\n| `Mod+V` | clipboard: `Ctrl+P` pin, `Del` delete |\n| `Mod+S` | shell settings |\n| `Mod+T` | kitty |\n| `Mod+Shift+Space` | desk mode ↔ tiling |\n| `Mod+N`, `Mod+Shift+N` | minimize window, restore the last one |\n| `Mod+Q`, `Alt+F4` | close window |\n| `Mod+F`, `Mod+Shift+F` | maximize column, fullscreen |\n| `Mod+G` | toggle floating |\n| `Mod+Tab` | overview |\n| `Alt+Tab`, ``Alt+` `` | recent windows, windows of the same app |\n| `Mod+1…9`, `Mod+Shift+1…9` | focus workspace, move column there |\n| `Mod+arrows`, `Mod+HJKL` | focus; with `Ctrl` move |\n| `Print`, `Mod+Shift+S` | screenshot overlay; `Ctrl+Print` monitor, `Alt+Print` window |\n| `Mod+E` | yami-files |\n| `Mod+Escape` | lock |\n| `Mod+Shift+E`, `Ctrl+Alt+Del` | power menu |\n| `Mod+B` | hide the bar |\n| `Mod+Shift+\u002F` | all key bindings |\n| `Alt+Shift` | next keyboard layout (settings → keys → layout) |\n\nThese are the defaults: change any of them in settings → keys (`yami-shell binds list` prints the\ncurrent set).\n\nIn the bar: left click on a task focuses, minimizes and restores it, middle click closes, right\nclick opens the window menu; scroll over workspaces to switch, over the volume to change it. The\ntrack opens the player (drag its position bar to seek), right click pauses, middle click skips;\nthe button in the player's header switches it between the cover with the equalizer, the cover\nwith lyrics, lyrics alone (the sung line lit when the lyrics have timestamps) and a short view.\n\n## The `yami` command\n\nOne command for the whole desktop (`~\u002F.local\u002Fbin\u002Fyami`, the same binary as `yami-shell`);\n`yami help` prints it in the palette's colours, `yami help \u003Ccommand>` explains one.\n\n```sh\nyami open settings:keys       # launcher clipboard settings[:tab] power lock walls screenshot cal sound media net bt sys profile tray\nyami palette ash              # list palettes without an argument; or a colour: yami palette '#3a9fd0'\nyami wallpaper ~\u002Fx.png        # own wallpaper; no path: the palette's pixel art\nyami restart                  # restart the shell (waits while a game has focus)\nyami status                   # what runs: shell, portal, niri, the last update check\nyami doctor                   # which programs and D-Bus services are there, what is missing and what it costs\nyami doctor games             # ntsync, gamemode, MangoHud: what is there, how to add the rest\nyami report                   # an archive for an issue: versions, doctor, journal, configs without secrets\nyami ocr image.png            # text from an image (like «text» in the screenshot overlay)\nyami theme export ~\u002Fmy.yami   # the look as one file (import: yami theme import FILE or https link)\nyami theme save night         # keep the current look in your themes (list | apply NAME | remove NAME)\nyami export ~\u002Fall.yami        # every setting as one file for a new system (yami import FILE)\nyami version                  # every part, the installed commit, the update channel\nyami update                   # what is new; apply | list | to X.Y.Z | rollback | status | log | need\n```\n\n## Updates\n\nSettings → updates (or `yami update`) checks the repository once a day and shows a card when a\nrelease is out; installing is always your click. The updater keeps its own clone in\n`~\u002F.local\u002Fshare\u002Fyami\u002Fsrc`, builds the new version from source with `install.sh --update`\n(settings kept, no sudo) and keeps the previous binaries for `yami update rollback`. Channels:\n**releases** (`vX.Y.Z` tags) or **every commit** of `main`. The tab shows a small console with the\nupdate log and a progress bar while it runs. An update needs no sudo, so when a new version wants\npackages (a new feature's helper) the tab shows them with an **install** button that runs one\n`sudo` command in a terminal (`yami update need`, also in `yami doctor`).\n\nGoing back is a choice, not a single click: **roll back** opens a list with the previous build\n(instant) and the signed releases (`yami update list`, `yami update to 2.1.0`), and only\n**install** starts it. Settings an older version does not know are kept aside and come back\nwhen you update again; after any switch the updater makes sure the shell is running.\n\nReleases are signed: once `keys\u002Fallowed_signers` holds the author's key, the installed version\naccepts only tags signed with it, so a pushed or rewritten tag without the key does not install.\nFor maintainers:\n\n```sh\ntools\u002Frelease.sh --keygen     # once: an ssh signing key, trusted in keys\u002Fallowed_signers (commit it)\ntools\u002Frelease.sh 2.1.0        # CHANGELOG «Unreleased» → 2.1.0 (both languages), versions, check.sh, signed tag, push\n```\n\nUpdates come from this repository over HTTPS; set `updateRepo` to follow a fork instead.\n\n## Configuration\n\nEverything in settings (`Mod+S`) is also a key in `~\u002F.config\u002Fyami-shell.json`, reloaded live when\nedited by hand; one bad value falls back to its default instead of resetting the file. The full\nreference is [docs\u002FCONFIG.md](docs\u002FCONFIG.md). From the terminal:\n\n```sh\nyami-shell config list                 # every key, * marks what differs from the default\nyami-shell config set dockSide '\"left\"'\nyami-shell config set binds '{\"terminal\": \"Mod+Return\"}'\nyami-shell config check                # bad values and unknown keys\nyami-shell binds list                  # keybindings: id, keys, action\n```\n\n- **Settings tabs**: color, wallpaper, look, fonts, bar (drag module chips and separators; spacing at the\n  edges, between modules and around the windows with arrows), widgets,\n  dock, windows (gaps between windows and from the screen edges, floating rules, cursor), keys, games, screenshots, screens, system, services\n  (notifications, tray, polkit, portals, covers: each can be handed to another program), updates.\n- **niri**: the shell owns `yami-binds.kdl`, `yami-fx.kdl` (window rules, blur, games),\n  `yami-colors.kdl`, `yami-cursor.kdl` and `yami-outputs.kdl`; `~\u002F.config\u002Fniri\u002Fuser.kdl` is\n  included after them and never overwritten, so your binds, rules and outputs there win.\n- **IPC**: `yami-shell msg \u003Ccommand>`, where the command is one of `launcher`, `clipboard`,\n  `power`, `settings`, `lock`, `bar`, `stacking`, `minimize`, `restore`, `edit`, `reload`,\n  `restart`, `quit`, `settings TAB`, `profile` (next power profile), `popup cal|sound|media|net|bt|sys|profile|tray`, `screenshot [area|window|screen]`,\n  `walls` (the wallpaper picker), `wallpaper [PATH]` (no path: the generated pixel wallpaper), `curtain [on|off]` (privacy curtain), `night` (night light on\u002Foff).\n- **yami-files**: `~\u002F.config\u002Fyami-files.json` (also from its ≡ menu → settings). `yami-files\n  --pick open|save|dir …` is the dialog the portal runs; `yami-files --portal` is the portal and\n  FileManager1 service, started by D-Bus; `yami-files --portal-reload` hands it over to a newly\n  installed binary without cutting a recording (the installer runs it).\n- **Login screen**: `tools\u002Fgreet-install.sh` builds yami-greet and installs it on a running system\n  (sudo once), greetd from the next boot; the installer does it with the «login screen» component.\n  `yami login sync` hands it the shell's look at once (the shell does that on every change).\n\n## Repository layout\n\n| Path | Contents |\n|---|---|\n| `shell\u002F` | yami-shell, the Rust Wayland shell (cargo workspace) |\n| `shell\u002Fpx\u002F` | yami-px: canvas, fonts, theme, icons and UI shared by every program |\n| `shell\u002Ffiles\u002F` | yami-files: file manager, portal file dialog, FileManager1 |\n| `shell\u002Fview\u002F` | yami-view: image viewer and quick editor |\n| `shell\u002Fplay\u002F` | yami-play: video and music player (libmpv) |\n| `shell\u002Fgreet\u002F` | yami-greet: the login screen, a greetd greeter inside niri (`system\u002Fgreet\u002Fgreet-session` starts it) |\n| `config\u002Fportal\u002F`, `config\u002Fapplications\u002F` | portal registration, D-Bus services, desktop entries |\n| `config\u002Fniri\u002F` | niri configuration (keybindings come from the shell) |\n| `config\u002Fkitty\u002F`, `config\u002Ffontconfig\u002F` | terminal and pixel font rendering |\n| `tools\u002Ftheme.py` | palette export: Qt, KDE, GTK, kitty, fastfetch, niri, wallpaper |\n| `tools\u002Fapply-theme.sh` | fonts and widget style for Qt and GTK |\n| `fonts\u002F` | bundled pixel fonts (SIL OFL) |\n| `fork\u002F` | yami-niri: patch series on upstream niri, build script, session wrapper |\n| `install.sh`, `installer\u002F` | the installer: the entry and the order of its steps, one module per job |\n| `flake.nix`, `nix\u002F` | the Nix package and the NixOS and Home Manager modules |\n| `docs\u002F` | configuration reference, security notes, packaging and Nix (each also in Russian: `*.ru.md`) |\n| `keys\u002F` | release signing keys (`allowed_signers`), read by `yami update` |\n| `VERSION`, `CHANGELOG.md` | the release version and what changed in each release (`CHANGELOG.ru.md` in Russian) |\n| `system\u002Fnvidia\u002F` | driver profile against VRAM growth in the compositor; modeset options for early KMS (the installer also puts the driver into the initramfs, and on Pascal-era drivers adds obs-gstreamer: OBS 33 needs NVENC API 13.1, driver 610+) |\n\n## yami-niri\n\nUpstream niri v26.04 plus the patches in `fork\u002Fpatches\u002F`, built on your machine. The installer\nbuilds and enables it; by hand:\n\n```sh\nfork\u002Fyami-niri.sh build     # fetch, patch, build (5–25 min), enable from the next login\nfork\u002Fyami-niri.sh status    # which niri the next login starts\nfork\u002Fyami-niri.sh off       # back to the packaged niri\n```\n\nThe session starts it through a wrapper that falls back to the packaged niri when the fork rejects\nthe config or dies right after the start. If the session still does not come up: `Ctrl+Alt+F3`,\nlog in, `~\u002F.local\u002Flib\u002Fyami-niri\u002Fyami-niri.sh off`. Details: [fork\u002FREADME.md](fork\u002FREADME.md).\n\n## Development\n\n| Command | Does |\n|---|---|\n| `tools\u002Fcheck.sh` | build without warnings, i18n checks, the English and Russian docs in step (`tools\u002Fcheck-docs.py`), script syntax, niri config, installer dry run (CI runs it too) |\n| `tools\u002Fmap.sh [TEXT]` | every source file with its one-line description |\n| `yami-shell shot [TARGET…] --lang en [--transparent] [--frame PNG] -o DIR` | render panels to PNG without a compositor (`--frame`: a real screen under the screenshot overlay); fails on untranslated text |\n| `yami-files shot`, `yami-view shot`, `yami-play shot` | the same for the file manager, the viewer and the player |\n| `yami-greet shot -o DIR`, `yami-greet --demo` | the login screen offscreen in each state; `--demo` runs it without greetd (password `yami`) inside a nested niri |\n| `tools\u002Freadme-art.py`, `tools\u002Freadme-shots.sh` | the README's logo and cards; real screenshots of your session (empty workspace, plain device names, everything put back) |\n| `tools\u002Frelease.sh X.Y.Z` | cut a release: changelog, versions, check, signed tag, push (`--keygen` once for the key) |\n| `tools\u002Fdeploy.sh` | build, install to `~\u002F.local\u002Fbin` and restart the running shell (refuses while a game has focus); `--files-only` installs yami-files, yami-view and yami-play only |\n\n## Made with Claude\n\nyami is written with the help of [Claude](https:\u002F\u002Fclaude.ai) by Anthropic, through Claude Code:\nmuch of the code, the yami-niri patches and the docs came out of those sessions. Every change is\nstill built, checked (`tools\u002Fcheck.sh`) and used every day on a real machine before it ships.\n\n## License\n\nCode: MIT, see [LICENSE](LICENSE). Bundled fonts keep their own licenses (SIL Open Font\nLicense, texts in `fonts\u002F`). Monocraft is downloaded from its upstream release at install time\n(pinned version, checked against its SHA-256). yami-niri is built from upstream niri (GPL-3.0)\nwith the patches in `fork\u002F`.\n","yami 是一个基于 niri 的极简像素风 Wayland 桌面环境，专为轻量与视觉一致性设计。它以 Rust 实现全自研的 shell（yami-shell），集成状态栏、启动器、通知系统、锁屏、登录界面及可拖拽桌面小部件（如 CPU\u002F音乐\u002F天气等），所有组件统一使用单色主题与无抗锯齿像素字体；采用纯软件渲染、共享内存与 layer-shell 协议，不依赖 GPU 或 GUI 工具包，整套运行时内存占用约 15 MB。适用于追求低资源消耗、高度定制化和复古像素美学的 Linux Wayland 用户，尤其适合老旧设备、游戏场景或 ricing 爱好者。",2,"2026-11-24 04:34:21","CREATED_QUERY"]