Skip to content

Update PointerSection.qml - #1

Merged
twiking merged 1 commit into
twiking:mainfrom
TheCosmicMoose:patch-1
Aug 26, 2026
Merged

Update PointerSection.qml#1
twiking merged 1 commit into
twiking:mainfrom
TheCosmicMoose:patch-1

Conversation

@TheCosmicMoose

Copy link
Copy Markdown

Corrected hyprValue "tap_to_click" to use the underscores instead of dashes, eliminating errors when changing the tap to click setting.

Corrected hyprValue "tap_to_click" to use the underscores instead of dashes, eliminating errors when changing the tap to click setting.
@twiking
twiking merged commit b8beed7 into twiking:main Aug 26, 2026
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>
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