My personal keyd configuration.
- CapsLock toggles a
navlayer. Press it again to leave the layer. - Inside
nav:i/j/k/lare Up / Left / Down / Rightu/oare Home / Endy/pare PageUp / PageDownhis Backspace;is DeleteEscrunsclear()
sudo cp default.config /etc/keyd/default.conf
sudo keyd reloadomarchy/keyd-mode.qml is a custom Omarchy bar widget that shows a
four-arrows icon, dimmed while the nav layer is off and in the theme's
green while it is on.
It runs keyd listen and updates on +nav / -nav events.
-
Give your user access to keyd's socket, then log out and back in:
sudo usermod -aG keyd $USER -
Add the widget to a section of
bar.layoutin~/.config/omarchy/shell.json, for example incenterjust aboveomarchy.clock:{ "id": "keyd-mode", "type": "qml", "source": "~/Projects/keyd/omarchy/keyd-mode.qml" },The shell reloads
shell.jsonon save. Optional settings:"layer"watches a different layer,"icon"sets the Nerd Font glyph and"activeColor"overrides the on color.