Omarchy Bar Widget · v0.1.1 · MIT

Switch to your apps with Caps Lock.

Inspired by Raycast’s Hyper Key, for people moving from macOS to Omarchy. Turn Caps Lock into ✦ and give each app its own key. Each shortcut brings a matching window forward or launches the app if no matching window is open.

✦ Caps + S Slack
Hyper
Set up · ✦ Hyper enabled
Your shortcuts · 6
Try it: +
Install & enable on Omarchy
omarchy plugin add https://github.com/digitalbase/omarchy-hyper --enable --yes
  1. 1

    Click ✦ in the bar

    Flip the header toggle to turn Hyper on. Caps Lock becomes the Hyper modifier.

  2. 2

    Add shortcut

    Search for an app, click it, and type a key such as A, Shift+A or F12.

  3. 3

    Hold Caps, press the key

    Hyper checks Hyprland for a matching window first. For example, if you assign L to Linear and T to T3 Code, each shortcut brings that app forward when it’s already open. Otherwise, Hyper launches it through Omarchy’s launcher.

Capabilities

The Raycast habit, native on Omarchy

One modifier that nothing else uses, one key per app, and a panel that shows you everything that’s assigned.

01 / HYPER KEY

Caps Lock becomes ✦

Uses XKB’s dedicated Mod3 modifier, Linux’s native Hyper key. Nothing is emulated and there’s no extra keyboard daemon. Just hold Caps Lock and press a key.

02 / APPS

Pick from your real launcher

The app picker reads Omarchy’s own launcher catalog, so terminal apps and web apps with desktop entries show up with the same names and icons you already see.

03 / CONFLICTS

Named conflicts, explicit overwrite

If a key is already taken, Hyper tells you which app has it and offers Overwrite. The backend checks again before replacing, so a stale confirmation can’t clobber a new binding.

04 / EXISTING BINDS

Sees the bindings you already have

Hyper bindings from your Hyprland config are listed next to the ones you add in the panel. Remove or overwrite them with generated hl.unbind overrides. Your original Lua files stay as they are.

05 / COMMANDS

Bind commands, not just apps

Switch the picker to Commands to search Omarchy’s menu and OMAcast’s command catalog. Command shortcuts sync by source and ID, so each machine resolves them locally.

06 / SYNC

Config Sync friendly

Assignments live in a small shortcuts.json that Config Sync can publish under its extensions group. Generated Lua and keyboard settings stay local to each machine.

Interaction

Panel, keyboard & IPC

Works like Omarchy’s built-in shell panels, and you can script it from Hyprland.

Click ✦ in the bar Open or close the Hyper panel
✦ + key Focus or launch the app assigned to that key
✦ + Shift + key A second layer of shortcuts
Header toggle Switch between Hyper and normal Caps Lock
Esc Go back, or dismiss the panel
IPC actions

Bind these to any Hyprland key, or call them from scripts.

omarchy-shell digitalbase.hyper toggle
omarchy-shell digitalbase.hyper add
omarchy-shell digitalbase.hyper info

add opens the panel straight on the app picker. info returns the current view, app and command counts, and every assigned shortcut as JSON.

Setup

Installed in one command

Requires Omarchy’s Lua-based Hyprland configuration and Quickshell shell, Python 3, hyprctl, uwsm-app and gtk-launch. These are all part of a standard Omarchy install.

STEP 01

Add & enable the plugin

Installs into ~/.config/omarchy/plugins/ and puts ✦ on the right side of your bar. Caps Lock is left alone until you turn Hyper on.

omarchy plugin add https://github.com/digitalbase/omarchy-hyper --enable --yes
STEP 02

Turn Hyper on

Click ✦, then flip the header toggle. The subtitle changes to Set up · ✦ Hyper enabled. Turning it off later restores normal Caps Lock and keeps your shortcuts.

omarchy-shell digitalbase.hyper toggle
STEP 03

Remove cleanly (if you ever need to)

Uninstall the helper first. It removes every override and gives you back your original bindings and keyboard settings. Then remove the plugin.

python3 ~/.config/omarchy/plugins/digitalbase.hyper/hyper.py uninstall
omarchy plugin remove digitalbase.hyper

Config safety

Your Hyprland config stays yours.

Hyper writes one generated file and one marked include. Nothing else.

Backed up, validated, rolled back

Before its first change, Hyper backs up hyprland.lua to hyprland.lua.before-hyper. Each change is checked with hyprctl configerrors and restored automatically if it fails.

Overrides instead of edits

Removing a binding from your own config adds an hl.unbind to the generated file. Your original declarations and your personal input.lua aren’t touched.

Local, unprivileged, offline

A small Python helper does the work under your user account, with writes serialized by a file lock. It makes no network requests and needs no root.

Technical specification
Plugin ID
digitalbase.hyper
Widget kind
bar-widget (default: right section)
Modifier
Caps Lock → XKB Mod3 (Hyper)
Keys
A–Z, 0–9, F1–F12, Return, Space, arrows, optional Shift
Window matching
Hyprland window class from StartupWMClass or the desktop entry ID
Launch fallback
uwsm-app -- gtk-launch <desktop-id>
Generated file
~/.config/hypr/omarchy-hyper.lua
Shortcuts file
omarchy/extensions/digitalbase.hyper/shortcuts.json
Requires
Lua Hyprland config, Quickshell, Python 3, hyprctl
Network
None. No requests, no root
License
MIT (community plugin)