Skip to content

added hyprland layout switcher - #232

Merged
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
maddingo:feature/hyprland-layout-switcher
Aug 4, 2026
Merged

added hyprland layout switcher#232
ItsLemmy merged 2 commits into
noctalia-dev:mainfrom
maddingo:feature/hyprland-layout-switcher

Conversation

@maddingo

@maddingo maddingo commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Plugin

  • Id: maddingo/hypr-layout-switcher
  • New plugin
  • Update to an existing plugin (version bumped in plugin.toml)

What it does

Has a little toolbar icon the shows the current layout and cycles through the Hyprland layouts dwindle, monocle, scrolling and master by either clicking on it or sending a key stroke.

External dependencies

None

Testing

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

Screenshots / Videos

recorder1.mp4

Checklist

  • 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.
  • I created thumbnail.webp with the thumbnail generator.
  • 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:

  • 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.

@maddingo
maddingo marked this pull request as ready for review August 3, 2026 19:46
@Ahmed5Emad

Copy link
Copy Markdown
Contributor

wouldn't having small panel that you can choose from be better ? like and faster too from repeating click to reach what you want ?

@ItsLemmy

ItsLemmy commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

For future PRs please ensure to fill the template completely or explain why it is only partially filled.


  1. non-blocking - PR description, "Code review attestation" section
    All four code-review attestation checkboxes are unchecked:

    • "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."

    The PR template requires these checkboxes to be present, and they
    represent the author's own attestation about the submitted code.
    The author should check all four before merge.

  2. non-blocking - PR description, "Testing" section
    "Noctalia version tested against" and "Plugin API level" are both
    left blank. These help reviewers confirm compatibility with the
    declared plugin_api = 3.

@ItsLemmy
ItsLemmy merged commit 19e81f3 into noctalia-dev:main Aug 4, 2026
1 check 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