Setting Up a Hotkey
Zenkai is meant to live on a key. Most people bind two commands:
zenkai # the launcher
zenkai --window-switcher # straight into window switching
Add any other flags you like, such as --theme=dracula or --file-previews. If zenkai isn't on your PATH, use the full path to the binary.
KDE Plasma
- Open System Settings → Keyboard → Shortcuts.
- Click Add New → Command or Script….
- Enter
zenkaias the command and pick a shortcut, such as Meta+Space. - Repeat with
zenkai --window-switcherfor the switcher.
Plasma already uses Alt+Space and Alt+F2 for KRunner and Alt+Tab for its own task switcher. To reuse one of those, clear it first under Shortcuts → KRunner or Shortcuts → KWin.
Hyprland
In hyprland.conf:
bind = SUPER, SPACE, exec, zenkai
bind = ALT, TAB, exec, zenkai --window-switcher
If you use the Lua configuration instead:
hl.bind("SUPER + SPACE", hl.dsp.exec_cmd("zenkai"))
hl.bind("ALT + TAB", hl.dsp.exec_cmd("zenkai --window-switcher"))
Sway and i3
In your Sway or i3 config:
bindsym $mod+space exec zenkai
bindsym Mod1+Tab exec zenkai --window-switcher
Reload with swaymsg reload or i3-msg reload.
GNOME
- Open Settings → Keyboard → View and Customize Shortcuts → Custom Shortcuts.
- Click +, name it Zenkai, enter
zenkaias the command and set a shortcut.
On GNOME under Wayland the window switcher isn't available yet, so only bind the launcher there.
Windows
- Find
zenkai.exe, right-click it and choose Show more options → Create shortcut. - Move the shortcut into your Start Menu folder: press Win+R, type
shell:programsand drop it there. - Right-click the shortcut → Properties, click the Shortcut key box and press a letter such as Z. Windows turns it into Ctrl+Alt+Z.
For the window switcher, make a second shortcut and add --window-switcher to the end of its Target. Windows also has a built-in Run box; zenkai.exe --run gives you Zenkai's version of it.
macOS
- Open the Shortcuts app and create a new shortcut.
- Add a Run Shell Script action that runs the full path to your
zenkaibinary. - Open the shortcut's details (the ⓘ button), choose Add Keyboard Shortcut and press your keys.
For the window switcher, add --window-switcher to the command, and allow Zenkai Accessibility access in System Settings → Privacy & Security → Accessibility.
Tips
- On Linux, the optional background service keeps Zenkai loaded so it opens instantly: bind
zenkai --toggleinstead ofzenkai. - With
--close-on-focus-out, clicking anywhere else closes Zenkai, so the hotkey behaves like a toggle. --show-backdropputs a transparent layer behind Zenkai that closes it when clicked.