Skip to content

yami 2.7.0

Latest

Choose a tag to compare

@Trendorin Trendorin released this 07 Nov 22:44
  • Switch between players (#24): the bar and the music popup follow the player that started playing last, so a YouTube tab no longer pushes Spotify out; with several players the name in the popup is a button that switches to the next one (right click: back), and yami msg media player does it from a key. Play/pause, next and previous keys go to the player the bar shows.
  • Keybindings in any layout: in Russian and other non-Latin layouts the keys with punctuation (Mod+/, Mod+., Mod+[, Mod+-…) used to miss or hit the wrong bind, because niri looked at the symbol the current layout prints. yami-niri 26.04-yami.6 matches them by the key of your Latin layout, as letters already were; the power menu's letters work in any layout too. Active from the next login after the fork is rebuilt.
  • The installer asks what to install: the components page has yami-files, yami-view, yami-play, the login screen, drives and phones, tools, games and the NVIDIA profile each on its own, s (or --shell-only) installs only niri and the shell, --no-ID / --ID set one from the command line. Only the chosen apps are built, only their packages installed. An update repeats the choice and takes out what was unticked (yami-files, yami-view, yami-play with their file associations).
  • Restyle only what you want: a page of the installer (--restyle) and settings → color → apps list GTK, Qt and KDE, the cursor, kitty, fastfetch, btop, Firefox, MangoHud, foot, cava and starship; a program left out is not touched at all (kitty: the include yami.conf line goes, the rest of your kitty.conf stays). The key is themeApps; appThemes of 2.6 is carried over.
  • yami keeps out of the drivers and the boot: the installer no longer sets NVIDIA variables for the whole session (GBM_BACKEND, __GLX_VENDOR_LIBRARY_NAME, LIBVA_DRIVER_NAME, NVD_BACKEND, __GL_*), never writes to /etc/modprobe.d or the initramfs config, no longer installs obs-gstreamer, puts no overrides on plymouth and gives yami-niri no capability behind your back (yami-niri.sh status says how to grant realtime). The nvidia component is one file now: niri's own profile against its VRAM growth. The next update rewrites yami-local.kdl without the variables; the initramfs files of 2.6 stay put, yami doctor names them with the command to remove them, --uninstall takes them out.
  • Without yami-files the shell opens folders, the trash, mounted drives and Mod+E in your own file manager, «save as» of a screenshot saves into the screenshots folder, and the wallpaper picker hides its file buttons.
  • The windows module of the bar (tasks, #28) works in any group: on the left and on the right it used to vanish, in the middle it stretched and pushed the modules after it against the right group. Now it is as wide as its windows and is centred with the rest of the middle, or sits right after the left group with barCenterAlign = after-left (where it was before); when the bar runs out of room it is the one module that narrows.
  • Templates and recolouring you can see and trust (#27): settings → color → apps lists what came out of each of your templates (written, changed by hand with an «overwrite» button that keeps your edit as *.bak-yami, an unknown {{colour}}, no yami-output line, a target outside the allowed folders), and yami templates prints the same. A template with a typo in a colour is no longer written half-filled, an edit in ~/.config/yami/templates renders at once instead of at the next palette change, hand-edit detection compares bytes and survives a moved home (templates.json keys are ~/… now). Your own fastfetch config.jsonc is never replaced (yami's look goes to yami.jsonc), starship keeps the palette you chose, foot's include moved to the end of foot.ini with a ~/ path so your old colour lines no longer hide the palette, and unticking foot takes it out again. yami msg ping answers pong.
  • The palette from the wallpaper is where you look for it (#26): settings → color has «palette from the wallpaper» right under the palettes, and yami palette wallpaper turns it on from a terminal (yami palette marks it). The accent comes from your picture again with every new one, and the whole palette follows it: background, panels, borders, the 16 terminal colours, every recoloured program and your templates.
  • Clean pixel icons: the dock, the launcher and the bar no longer squeeze an icon into 16 px and dither it into four noisy tones. The icon is drawn large and averaged down to a grid of 16–30 cells (2 px cells in the dock), keeps 5–10 of its own colours with a dark outline and no dithering; «in palette tones» (iconTint) gives the old one-colour look, only clean. Plain icons are taken at the size they are drawn (a 48 px dock icon used to be a 16 px one blown up). yami-files, yami-view and yami-play have icons of their own, drawn in the palette.
  • Your own icons and cursors: settings → look shows every installed icon set as a card with six apps drawn from it, and every cursor set with its arrow; a click switches the shell, yami's apps, GTK and Qt (and the cursor in niri and X11 apps). «Install your own set…» takes an archive or a folder (yami icons add / yami cursor add in a terminal) into ~/.local/share/icons. yami no longer installs Papirus or picks an icon set for you: «auto» is the one your system already uses.
По-русски
  • Переключение плееров (#24): бар и окно музыки идут за плеером, который заиграл последним, так что вкладка YouTube больше не вытесняет Spotify; если плееров несколько, имя в окне музыки — кнопка, переключающая на следующий (правый клик — назад), а yami msg media player делает то же с клавиши. Клавиши play/pause, next и previous идут тому плееру, что показан в баре.
  • Сочетания в любой раскладке: в русской и других нелатинских раскладках клавиши со знаками (Mod+/, Mod+., Mod+[, Mod+-…) не срабатывали или срабатывали не те, потому что niri смотрел на символ текущей раскладки. yami-niri 26.04-yami.6 сверяет их по клавише твоей латинской раскладки, как уже было с буквами; буквы меню питания тоже работают в любой раскладке. Действует со следующего входа после пересборки форка.
  • Установщик спрашивает, что ставить: на странице компонентов yami-files, yami-view, yami-play, экран входа, диски и телефоны, инструменты, игры и профиль NVIDIA — каждый сам по себе, s (или --shell-only) ставит только niri и шелл, --no-ID / --ID задают один из командной строки. Собираются только выбранные программы, ставятся только их пакеты. Обновление повторяет выбор и убирает снятое (yami-files, yami-view, yami-play вместе с ассоциациями файлов).
  • Перекрашивается только то, что хочешь: страница установщика (--restyle) и настройки → цвет → программы перечисляют GTK, Qt и KDE, курсор, kitty, fastfetch, btop, Firefox, MangoHud, foot, cava и starship; невыбранную программу yami не трогает вовсе (у kitty уходит строка include yami.conf, остальной твой kitty.conf остаётся). Ключ — themeApps; appThemes из 2.6 переносится.
  • yami не лезет в драйверы и загрузку: установщик больше не задаёт переменные NVIDIA для всего сеанса (GBM_BACKEND, __GLX_VENDOR_LIBRARY_NAME, LIBVA_DRIVER_NAME, NVD_BACKEND, __GL_*), не пишет в /etc/modprobe.d и конфиг initramfs, не ставит obs-gstreamer, не вешает переопределения на plymouth и не выдаёт yami-niri capability за твоей спиной (yami-niri.sh status подскажет, как дать realtime). Компонент nvidia теперь один файл — собственный профиль niri против роста VRAM. Следующее обновление перепишет yami-local.kdl без переменных; файлы initramfs от 2.6 остаются на месте, yami doctor называет их и команду, чтобы убрать, --uninstall убирает их.
  • Без yami-files шелл открывает папки, корзину, подключённые диски и Mod+E твоим файловым менеджером, «сохранить как» у скриншота кладёт его в папку скриншотов, а выбор обоев прячет кнопки выбора файла.
  • Модуль окон в баре (tasks, #28) работает в любой группе: слева и справа он пропадал, а в середине растягивался и прижимал модули после себя к правой группе. Теперь он шириной в свои окна и стоит по центру вместе с остальной серединой или сразу за левой группой при barCenterAlign = after-left (где был раньше); когда бару не хватает места, сужается только он.
  • Шаблоны и перекраска, которые видно и которым можно верить (#27): настройки → цвет → программы показывают, что вышло у каждого твоего шаблона (записан; изменён руками — с кнопкой «перезаписать», которая оставляет твою правку как *.bak-yami; неизвестный {{цвет}}; нет строки yami-output; цель вне разрешённых папок), yami templates печатает то же. Шаблон с опечаткой в цвете больше не пишется наполовину заполненным, правка в ~/.config/yami/templates применяется сразу, а не при следующей смене палитры, ручная правка определяется по байтам и переживает переезд дома (ключи templates.json теперь ~/…). Твой config.jsonc у fastfetch больше не заменяется (вид yami ложится в yami.jsonc), starship оставляет выбранную тобой палитру, include у foot переехал в конец foot.ini с путём через ~/, так что старые строки цветов больше не прячут палитру, а снятая галочка foot убирает его. yami msg ping отвечает pong.
  • Палитра из обоев там, где её ищут (#26): в настройках → цвет «палитра из обоев» стоит сразу под палитрами, а yami palette wallpaper включает её из терминала (yami palette её отмечает). Акцент берётся из твоей картинки заново с каждой новой, и за ним идёт вся палитра: фон, панели, рамки, 16 цветов терминала, все перекрашиваемые программы и твои шаблоны.
  • Чистые пиксельные значки: док, лаунчер и бар больше не сжимают значок до 16 px и не рассыпают его дизерингом на четыре шумных тона. Значок рисуется крупно и усредняется до сетки 16–30 клеток (в доке клетка 2 px), сохраняет 5–10 своих цветов с тёмной обводкой и без дизеринга; «в тонах палитры» (iconTint) даёт прежний одноцветный вид, только чистый. Обычные значки берутся того размера, в каком рисуются (48-пиксельный значок в доке раньше был растянутым 16-пиксельным). У yami-files, yami-view и yami-play свои значки, нарисованные в палитре.
  • Свои значки и курсоры: настройки → вид показывают каждый установленный набор значков карточкой с шестью программами из него и каждый набор курсоров с его стрелкой; клик переключает шелл, программы yami, GTK и Qt (и курсор в niri и программах X11). «Поставить свой набор…» берёт архив или папку (yami icons add / yami cursor add в терминале) в ~/.local/share/icons. yami больше не ставит Papirus и не выбирает набор значков за тебя: «авто» — тот, что уже стоит в системе.

Install

bash <(curl -fsSL https://raw.githubusercontent.com/Trendorin/yami/v2.7.0/install.sh)

Already on yami: settings → updates → update, or yami update apply.

Built from source on your machine (Arch, Fedora, Debian/Ubuntu, openSUSE, Void, Alpine, Gentoo, NixOS). The tag is signed; check it with
git -c gpg.ssh.allowedSignersFile=keys/allowed_signers verify-tag v2.7.0.

Описание и установка по-русски: README.ru.md.