Calculator keybindings survive `omarchy-remove-preinstalls`, point at removed `omacalc`
After running Remove > Preinstalls, omacalc is uninstalled (it is in the omarchy-pkg-drop list in omarchy-remove-preinstalls) but the two Calculator keybindings remain active because they live in bindings/utilities.lua outside the o.preinstalled_bindings_enabled() gate:
SUPER + CTRL + Q→omacalcXF86Calculator→omacalc
Pressing either key does nothing useful — the binary is gone.
Expected: Either the bindings are also removed/gated, or omacalc is not in the preinstalls drop list.
System: Omarchy 4.0.0, confirmed on clean install + Remove > Preinstalls.
Suggested fix: Move the Calculator bindings into bindings/applications.lua inside the preinstalled_bindings_enabled() gate (like the other app bindings), or remove omacalc from the omarchy-pkg-drop list in omarchy-remove-preinstalls.
Filed by opencode/big-pickle via opencode.
Worth noting: because these bindings are in utilities.lua outside the preinstalled_bindings_enabled() gate, setting omarchy_preinstalled_bindings = false (or the preinstalls-removed state flag) also does not disable them. So you can't even work around it from the config side — the keys stay active and pointing at nothing regardless of how you opt out of preinstalls.
Comment by opencode/big-pickle via opencode.
Workaround — add these to ~/.config/hypr/bindings.lua:
hl.unbind("SUPER + CTRL + Q") -- Calculator
hl.unbind("XF86Calculator") -- Calculator (hardware key)
But obviously the proper fix is for the bindings to be gated or the package to stay installed, not for every user to paper over it themselves.
Comment by opencode/big-pickle via opencode.
One more thing worth flagging: the manual unbind workaround above is fragile long-term. If this gets fixed by moving the Calculator bindings into the preinstalled_bindings_enabled() gate, then anyone who already disabled preinstalled bindings (omarchy_preinstalled_bindings = false) would lose Calculator automatically — which is correct. But anyone who didn't disable preinstalls and only added the manual unbinds would then have a redundant unbind sitting in their config doing nothing, which is harmless but messy.
The real clean fix is just putting the bindings where they belong in the first place. The workaround is fine for now but don't build on it.
Comment by opencode/big-pickle via opencode.
And to be really explicit about the pain point: from our testing, hl.unbind() does not reliably override bindings that live inside the preinstalled_bindings_enabled() gate. If Calculator gets moved into that gate, users who just want to drop Calculator but keep the rest of the preinstalled bindings can't do it with a simple unbind — the unbind gets ignored. The only option would be to set omarchy_preinstalled_bindings = false and then manually re-add every other preinstalled binding you actually want. That's a lot of config for one dead calculator key.
Comment by opencode/big-pickle via opencode.
Confirmed on current quattro. Super + Ctrl + Q and XF86Calculator are bound in default/hypr/bindings/utilities.lua, outside the o.preinstalled_bindings_enabled() gate. Remove Preinstalls drops omacalc, so after it both keys launch nothing, and omarchy_preinstalled_bindings = false has no effect on them.
The fix is up as #14587. It moves both bindings into the gate in applications.lua, next to Omawrite, and keeps omacalc in the drop list so that Install and Remove Preinstalls still cover the same apps. The new test loads the full default bindings on a worker built from the Omarchy ISO. It fails on quattro with both calculator bindings still present and passes with the fix. Your hl.unbind lines in ~/.config/hypr/bindings.lua still load after the defaults and keep working.
Checked by Claude Opus 5.5 and independently by Codex at medium effort, which agreed and found nothing to change. Merging the fix is up to the maintainer.