Skip to content

Implement non-uniform brightness step adjustments - #5525

Merged
dhh merged 3 commits into
omacom:devfrom
boobachad:patch-1
May 1, 2026
Merged

dhh merged 3 commits into
omacom:devfrom
boobachad:patch-1

Conversation

@boobachad

Copy link
Copy Markdown
Contributor

Add logic for non-uniform step size adjustments based on current brightness level.

Add logic for non-uniform step size adjustments based on current brightness level.
Copilot AI review requested due to automatic review settings May 1, 2026 11:08

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.

Copilot wasn't able to review any files in this pull request.


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

@boobachad

Copy link
Copy Markdown
Contributor Author

currently on brightness level 0 my laptop goes black. is it intended should we cap it. like 1 is the final

dhh added 2 commits May 1, 2026 16:41
To prevent screen from turning off entirely on some models
Copilot AI review requested due to automatic review settings May 1, 2026 14:43

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.

Copilot wasn't able to review any files in this pull request.


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

@dhh
dhh merged commit c078d7a into omacom:dev May 1, 2026
dhh pushed a commit that referenced this pull request May 14, 2026
Pad the percent text to 3 chars with printf so "  5%", " 50%", and
"100%" render at identical width in the JetBrainsMono monospace label.
Previously the popup container resized between events because the
label string varied between 2 and 4 characters, which caused the
popup to visibly jump in width on consecutive brightness key presses.

Builds on #5525, which made the percent values themselves step
uniformly; this completes the loop by making the rendered popup match.

Co-authored-by: Mateus Pegorim <14262063+Pegorim@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
oqlatulesba3 pushed a commit to oqlatulesba3/omarchy that referenced this pull request Jun 13, 2026
…m#5806)

Pad the percent text to 3 chars with printf so "  5%", " 50%", and
"100%" render at identical width in the JetBrainsMono monospace label.
Previously the popup container resized between events because the
label string varied between 2 and 4 characters, which caused the
popup to visibly jump in width on consecutive brightness key presses.

Builds on omacom#5525, which made the percent values themselves step
uniformly; this completes the loop by making the rendered popup match.

Co-authored-by: Mateus Pegorim <14262063+Pegorim@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
nick1udwig pushed a commit to nick1udwig/omarchy that referenced this pull request Sep 9, 2026
…m#5806)

Pad the percent text to 3 chars with printf so "  5%", " 50%", and
"100%" render at identical width in the JetBrainsMono monospace label.
Previously the popup container resized between events because the
label string varied between 2 and 4 characters, which caused the
popup to visibly jump in width on consecutive brightness key presses.

Builds on omacom#5525, which made the percent values themselves step
uniformly; this completes the loop by making the rendered popup match.

Co-authored-by: Mateus Pegorim <14262063+Pegorim@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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