Skip to content

fix: correct file extension and syntax in rounded-corners toggle#6194

Open
sridhar-3009 wants to merge 1 commit into
basecamp:devfrom
sridhar-3009:fix/rounded-corners-toggle-6156
Open

fix: correct file extension and syntax in rounded-corners toggle#6194
sridhar-3009 wants to merge 1 commit into
basecamp:devfrom
sridhar-3009:fix/rounded-corners-toggle-6156

Conversation

@sridhar-3009

Copy link
Copy Markdown

The rounded-corners toggle file was named rounded-corners.conf but omarchy-hyprland-toggle looks for rounded-corners.lua, causing "Flag not found" and a silent no-op. Additionally the file used plain Hyprland syntax instead of the Lua hl.config() format required by the toggles system.

This renames rounded-corners.conf to rounded-corners.lua and converts its content to the correct Lua module format matching other toggles like window-no-gaps.lua.

Closes #6156

Copilot AI review requested due to automatic review settings July 9, 2026 19:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the Hyprland rounded-corners toggle by aligning it with Omarchy’s toggle loader expectations (Lua module files loaded via require_all.files() and selected by omarchy-hyprland-toggle using a hard-coded .lua extension).

Changes:

  • Add default/hypr/toggles/rounded-corners.lua using the required hl.config({ ... }) Lua format.
  • Remove the old default/hypr/toggles/rounded-corners.conf Hyprland-syntax file that could not be loaded by the toggles system.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
default/hypr/toggles/rounded-corners.lua Adds the rounded-corners toggle in the correct Lua hl.config() module format.
default/hypr/toggles/rounded-corners.conf Removes the invalid/non-loadable legacy toggle file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

rounded-corners toggle broken: wrong extension + invalid Lua format

2 participants