Update PointerSection.qml - #1
Merged
Merged
Conversation
Corrected hyprValue "tap_to_click" to use the underscores instead of dashes, eliminating errors when changing the tap to click setting.
twiking
added a commit
that referenced
this pull request
Aug 26, 2026
Tap to click wrote `tap-to-click = false` into the generated file, which is a syntax error: Hyprland stopped reading omasettings.lua altogether, and the setting never applied — the switch went on reading the old value with nothing saying why. The bracketed form is no better, since hl.config refuses `["tap-to-click"]` as an unknown key. `getoption` takes either spelling, so the underscored one is what both halves of this can use, and it is the only key of the seventy-odd here whose keyword had a dash in it. The file already on disk is rendered again the next time the window opens: it is generated wholly from the store, so a copy that will not parse is not worth keeping. A file that compiles is left alone. Reported in #1, which fixed the reading rather than the writing: the state is keyed by a setting's own name, so `hyprValue("tap_to_click")` found nothing and the switch showed its fallback instead. That line goes back to the dashed key every other row on the page uses. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrected hyprValue "tap_to_click" to use the underscores instead of dashes, eliminating errors when changing the tap to click setting.