Skip to content

Fix keyboard brightness at 0, 1, 25 and 100 percent.#5413

Closed
sockbot wants to merge 1 commit intobasecamp:masterfrom
sockbot:master
Closed

Fix keyboard brightness at 0, 1, 25 and 100 percent.#5413
sockbot wants to merge 1 commit intobasecamp:masterfrom
sockbot:master

Conversation

@sockbot
Copy link
Copy Markdown

@sockbot sockbot commented Apr 24, 2026

Fixes #5414

This PR sets keyboard backlight keys to use the fixed values of 0, 1, 25, and 100 percent corresponding to off, low, medium, and high.

Limiting the backlight settings to off, low, medium and high on my hardware provides a simplified and practical user experience to get an appropriate backlight level in fewer presses compared to steps of 10%. In addition, since the backlight strength is not linear, more discrete options do not add functionality (values of 50-100 are almost identical).
I chose the values of 0, 1, 25 and 100 because these subjectively looked like equidistant levels of brightness across the range.

Because this PR only exposes keyboard backlight values of off, low, medium and high I replaced the 100% scale bar with a simple text display:

image

Tested on MacBook Air 2014. Testing on additional hardware is welcome (and desired).

┌──────────────────────Hardware──────────────────────┐
 PC: MacBook Air (11-inch, Mid 2013/Early 2014) (1.0)
│ ├: Intel(R) Core(TM) i5-4260U (4) @ 2.70 GHz
│ ├: Intel Haswell-ULT Integrated Graphics Controller @ 1.00 GHz [Integrated]
│ ├󱄄: 1366x768 in 12", 60 Hz [Built-in]
│ ├󰋊: 82.80 GiB / 231.74 GiB (36%) - btrfs
│ ├: 1.81 GiB / 3.76 GiB (48%)
└ └󰓡 : 424.20 MiB / 1.88 GiB (22%)
└────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐
 OS: Omarchy 3.6.0
│ ├󰘬: master
│ ├󰔫: stable
│ ├: Linux 6.19.12-arch1-1
│ ├: Hyprland 0.54.3 (Wayland)
│ ├: ghostty 1.3.1-arch2
│ ├󰏖: 1188 (pacman)
│ ├󰸌: Kanagawa ●●●●●●●●
└ └: JetBrainsMono Nerd Font (9pt)
└────────────────────────────────────────────────────┘

@sockbot sockbot marked this pull request as ready for review April 24, 2026 05:44
Copilot AI review requested due to automatic review settings April 24, 2026 05:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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.

@sockbot sockbot closed this Apr 24, 2026
@sockbot
Copy link
Copy Markdown
Author

sockbot commented Apr 24, 2026

Replaced PR with #5424

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.

2 participants