NoSignal-OS/os updates/launcher-fix/README.md
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

55 lines
1.7 KiB
Markdown
Executable file

# launcher-fix — Super+Space opens the launcher and keeps it open
Bug fix for omarchy-keys (Omarchy keybindings).
## Symptom
`Super+Space` flashes the app launcher open, then it immediately disappears —
it won't stay.
## Root cause
caelestia runs all its binds in a custom Hyprland submap called `global` with a
tap-to-launch system (`modules/Shortcuts.qml`):
```
bindi = Super, Super_L, global, caelestia:launcher # tap Super = launcher
bindin = Super, catchall, global, caelestia:launcherInterrupt # any key + Super = interrupt
```
- The `launcher` shortcut toggles **on release**, only `if (!launcherInterrupted)`.
- `launcherInterrupt` sets `launcherInterrupted = true`.
- **`catchall` matches Space**, so the same Space press that fires omarchy-keys'
`Super, Space -> caelestia:launcher` also fires `launcherInterrupt` → the
launcher is dismissed in the same keystroke.
## Fix
Bind `Super+Space` to toggle the launcher drawer **directly** via IPC, which is
independent of the `launcherInterrupted` flag:
```
unbind = Super, Space
bind = Super, Space, exec, qs -c caelestia ipc call drawers toggle launcher
```
Native Super-tap still opens the launcher (unchanged). No package change; no
edits to the caelestia clone.
## Files
- binds appended to `~/.config/caelestia/hypr-user.conf` (idempotent marked block)
## Install
```sh
sh install-launcher-fix.sh
```
## Builder notes — fold into omarchy-keys
In `omarchy-keys/omarchy-keys-user.conf`, replace
`bind = Super, Space, global, caelestia:launcher` with
`bind = Super, Space, exec, qs -c caelestia ipc call drawers toggle launcher`.
(Upstream-worthy: caelestia's `catchall` interrupt should exclude keys that are
themselves explicitly bound to open the launcher.)