Skip to content

hypr-layout-switcher: add show_label widget setting - #1137

Merged
ItsLemmy merged 1 commit into
noctalia-dev:mainfrom
AmirHosseinNiknezhad:hypr-layout-switcher-show-label
Oct 25, 2026
Merged

ItsLemmy merged 1 commit into
noctalia-dev:mainfrom
AmirHosseinNiknezhad:hypr-layout-switcher-show-label

Conversation

@AmirHosseinNiknezhad

@AmirHosseinNiknezhad AmirHosseinNiknezhad commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Plugin

  • Id: <author>/<plugin>
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Adds a show_label boolean widget setting (default true) so the layout name can be hidden for an icon-only bar widget. The default preserves the current behavior. Version bumped 0.1.1 → 0.2.0.

External dependencies

None

Testing

  • Tested on Niri
  • Tested on Hyprland
  • Tested on Sway
  • Tested on another compositor:
  • Noctalia version tested against: 5.3.0
  • Plugin API level: 3

Screenshots / Videos

show-label-zoom widget-settings

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.
  • thumbnail.webp is present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.
  • 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.

@github-actions

Copy link
Copy Markdown
Contributor

CC @maddingo: this pull request was automatically moved to draft until you have had a chance to look at it. It will be marked ready for review automatically once you reply here.

@github-actions
github-actions Bot marked this pull request as draft October 24, 2026 10:16
@AmirHosseinNiknezhad
AmirHosseinNiknezhad marked this pull request as ready for review October 24, 2026 10:18
@ItsLemmy

Copy link
Copy Markdown
Member

Keep the PR draft until the plugin author replies. thanks

@ItsLemmy
ItsLemmy marked this pull request as draft October 24, 2026 18:17
@maddingo

Copy link
Copy Markdown
Contributor

@AmirHosseinNiknezhad I have been thinking back and forth whether I should make the plugin configurable. So I guess now it is decided, thanks for the contribution.
@ItsLemmy , please go ahead and merge the changes. Looks good to me.

@github-actions
github-actions Bot marked this pull request as ready for review October 25, 2026 19:13
@ItsLemmy
ItsLemmy merged commit 7abb510 into noctalia-dev:main Oct 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants