You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to an existing plugin (version bumped in plugin.toml)
What it does
A bar widget for niri's scrollable-tiling layout: draws the focused workspace's whole scrolling ribbon as a slim strip and highlights the region currently inside the viewport, so you can see at a glance how many columns are hidden to the left and right. Scrolling over the widget moves the focused column (focus-column-left/right).
The highlight is estimated geometrically from the niri IPC state (the IPC exposes no live viewport offset yet — exact viewport offsets are being implemented in niri#4147); the estimation model and its limits are documented in detail at the top of ribbon.luau and in the README Notes.
External dependencies
niri — declared in dependencies. The plugin shells out to: read-only niri msg -j windows/workspaces/outputs queries on structural changes, one persistent niri msg -j event-stream subscription (killed automatically on widget unmount), and niri msg action focus-column-left|right on scroll. No network access, no filesystem writes.
Testing
Tested on Niri
Tested on Hyprland
Tested on Sway
Tested on another compositor:
Noctalia version tested against: development build pinned 2026-08-26 (after 5.0.0-beta.8; onScroll requires ≥ beta.4)
Plugin API level: 3
Daily-driven on my own machine for weeks (originally as a locally packaged plugin; this is the same code prepared for upstreaming). noctalia plugins lint passes with 0 errors / 0 warnings.
Screenshots / Videos
The card below is the committed thumbnail.webp (generated with the official thumbnail generator from a live bar screenshot — the slim strip left of the workspace numbers is the ribbon; the purple segment is the current viewport).
Checklist
Ready-for-review requirement: Every box in this section must be checked. If any statement is not true, keep the
pull request as Draft. An explanation does not replace a required check.
The directory name matches the part of id after the / in plugin.toml exactly.
It ships plugin.toml, README.md, thumbnail.webp, and translations/en.json.
README.md follows the README template, documents
every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
version follows semver and is bumped in this PR; plugin_api is the oldest API level this plugin requires.
Every non-English translation in this PR uses a locale supported by Noctalia core, and I can read, write, and
understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
I did not edit catalog.toml; CI generates it.
This PR touches exactly one plugin directory.
Code review attestation
Plugins run as trusted, unsandboxed Luau in the user's session. Confirm: Ready-for-review requirement: Every attestation below must be checked.
The code is readable and not obfuscated, minified, or generated.
It does not download and execute remote code.
Every network call, filesystem write, and spawned process is something the description above accounts for.
I have the right to publish this code under the license declared in plugin.toml.
Draft note — why one box stays unchecked.
Right to publish: the core idea (geometric viewport estimation from niri IPC state) originates from ews/noctalia-niri-ribbon by J Pablo Puerta. That repository ships no license, so I opened ews/noctalia-niri-ribbon#1 asking the author to add one. This plugin is a ground-up rewrite (Python+QML → Luau; zero shared code — only the algorithm idea carries over). I will check this box once the licensing question is settled.
zh-Hans.json is self-authored; Chinese is my native language.
The remaining validate failure is only the pending thumbnail.webp (tracked in the checklist); I'll generate it with the official thumbnail generator from a live screenshot and push it before marking ready-for-review. Everything else passes (enforce ✓, manifest validation ✓, nested translation keys fixed in acb86c3).
Licensing: agreed, this is fine to merge. The upstream project is Python + QML
(niri_ribbon.py, BarWidget.qml, Main.qml, manifest.json) and this plugin is a single Luau
file written against the v5 plugin spec, so no code is shared verbatim, and what carries over
is the algorithm idea, which is not copyrightable expression. Attribution is already in
plugin.toml, the ribbon.luau header and README Notes, so no further licensing work is needed
on your side and the right-to-publish box can be checked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin
luochen1990/niri-ribbonplugin.toml)What it does
A bar widget for niri's scrollable-tiling layout: draws the focused workspace's whole scrolling ribbon as a slim strip and highlights the region currently inside the viewport, so you can see at a glance how many columns are hidden to the left and right. Scrolling over the widget moves the focused column (
focus-column-left/right).The highlight is estimated geometrically from the niri IPC state (the IPC exposes no live viewport offset yet — exact viewport offsets are being implemented in niri#4147); the estimation model and its limits are documented in detail at the top of
ribbon.luauand in the README Notes.External dependencies
niri— declared independencies. The plugin shells out to: read-onlyniri msg -j windows/workspaces/outputsqueries on structural changes, one persistentniri msg -j event-streamsubscription (killed automatically on widget unmount), andniri msg action focus-column-left|righton scroll. No network access, no filesystem writes.Testing
onScrollrequires ≥ beta.4)Daily-driven on my own machine for weeks (originally as a locally packaged plugin; this is the same code prepared for upstreaming).
noctalia plugins lintpasses with 0 errors / 0 warnings.Screenshots / Videos
The card below is the committed
thumbnail.webp(generated with the official thumbnail generator from a live bar screenshot — the slim strip left of the workspace numbers is the ribbon; the purple segment is the current viewport).Checklist
Ready-for-review requirement: Every box in this section must be checked. If any statement is not true, keep the
pull request as Draft. An explanation does not replace a required check.
idafter the/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows theREADME template, documents
every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
thumbnail.webpwith the thumbnail generator.versionfollows semver and is bumped in this PR;plugin_apiis the oldest API level this plugin requires.understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
catalog.toml; CI generates it.Code review attestation
Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:
Ready-for-review requirement: Every attestation below must be checked.
licensedeclared inplugin.toml.Draft note — why one box stays unchecked.
zh-Hans.jsonis self-authored; Chinese is my native language.