github goodroot/hyprwhspr v1.58.0

one hour ago

X11 desktops join the party, and your clipboard does what you ask.

Better ergonomics for forks, too, so it's easier to hack to your hearts content. ❤️

XFCE and X11

hyprwhspr now sets itself up on XFCE and other X11 desktops.

  • Setup writes the Super+Alt+D shortcut through xfconf-query. A chord you already use is left alone, with steps to bind it yourself.
  • The service starts at login, even where graphical-session.target never runs.
  • validate no longer demands ydotool when xdotool or wtype can paste.

Clipboard: restore, keep or clear

clipboard_behavior had been ignored since v1.23.1. It works again, now with three modes:

"clipboard_behavior": "keep"   // "restore" (default) | "keep" | "clear"
  • restore puts back what you had copied, as before
  • keep leaves the dictation on the clipboard, ready to paste again
  • clear empties it after clipboard_clear_delay

Keep works with live typing and with GNOME direct typing too.

Note

Had "clipboard_behavior": true? It becomes "clear", so your clipboard now really clears after a paste. Set "restore" to keep the old behavior.

Run your fork beside the service

Hacking on hyprwhspr no longer means stopping your installed copy.

Give the second copy its own runtime directory and let it start:

HYPRWHSPR_ALLOW_SECOND_INSTANCE=1 XDG_RUNTIME_DIR=/tmp/hw-dev \
PULSE_SERVER=unix:/run/user/$UID/pulse/native bin/hyprwhspr

The second copy stays out of the first one's way: it has its own lock, status files and control pipe.

Fixes

  • A copy started by hand, such as exec-once under uwsm, is no longer mistaken for the systemd service
  • Starting a second copy no longer wipes the running one's lock file
  • A bad clipboard_clear_delay falls back to 5 seconds instead of failing the paste

Thanks

Thanks to @xenon134 for XFCE and X11 support in #312 and the clipboard keep mode in #314. 📋

Pull requests

  • X11 desktop support: XFCE shortcut, native paste validation, session autostart by @xenon134 in #312
  • Clipboard: optionally keep the dictation after pasting by @xenon134 in #314

Full Changelog: v1.57.0...v1.58.0

Don't miss a new hyprwhspr release

NewReleases is sending notifications on new releases.