Skip to content

Instantly share code, notes, and snippets.

@doitian
Created September 28, 2026 14:44
Show Gist options
  • Select an option

  • Save doitian/02a381065076d3a9ad31154607872915 to your computer and use it in GitHub Desktop.

Select an option

Save doitian/02a381065076d3a9ad31154607872915 to your computer and use it in GitHub Desktop.
keyd: RAlt+Shift+Space toggles RAlt+Space between global hyprwhspr (Alt+Meta+D) and local Claude voice input (Ctrl+D). Replace the existing [altgr] section in /etc/keyd/default.conf with this snippet, preserve other sections, then run sudo keyd reload.
[altgr]
space = A-M-d
[ctrl_d_mode]
[altgr+ctrl_d_mode]
space = C-d
[altgr+shift]
space = toggle(ctrl_d_mode)
[altgr+shift+ctrl_d_mode]
space = toggle(ctrl_d_mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment