This guide covers the shortest path from a fresh install to a usable wkey setup.
Install via AUR for archlinux user
yay -S wkeyBuild from source:
cargo build --releaseThe binary will be available at:
target/release/wkey
Install into Cargo's binary directory from this repository:
cargo install --path .- A terminal with standard ANSI support
fzfis optional- If
fzfis installed,wkey --searchuses it first - If
fzfis missing or cannot be launched,wkeyfalls back to an internal selector
Create the default config:
wkey init --yesThis creates:
$XDG_CONFIG_HOME/wkey/
config.toml
keyboard.txt
groups/
wkey.toml
The bundled wkey.toml group gives a fresh install something useful to browse immediately.
wkey init now creates a default config.toml too. Optional clipboard-style note pipeout:
# $XDG_CONFIG_HOME/wkey/config.toml
[pipeout]
command = "wl-copy"Create a shortcut:
wkey shortcut create --group shell copy --key Ctrl+C --desc "Copy selection"Create a note:
wkey note create --group shell prompt-tip --desc "Use !! to repeat the previous command"The same flow using aliases:
wkey s c -g shell copy -k Ctrl+C -d "Copy selection"
wkey n c -g shell prompt-tip -d "Use !! to repeat the previous command"Open the TUI:
wkeyOpen the TUI after preselecting an item:
wkey --searchAlias form:
wkey -sRun only the selector and print the selected item's description:
wkey --search-onlyIf pipeout.command is configured, wkey --search-only also sends that selected description to the pipeout command.
- For config files and layout format, see Configuration.
- For interactive behavior and controls, see TUI guide.
- For all commands and JSON output, see CLI reference.