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+Dshortcut throughxfconf-query. A chord you already use is left alone, with steps to bind it yourself. - The service starts at login, even where
graphical-session.targetnever runs. validateno longer demandsydotoolwhenxdotoolorwtypecan paste.
Clipboard: restore, keep or clear
clipboard_behavior had been ignored since v1.23.1. It works again, now with three modes:
restoreputs back what you had copied, as beforekeepleaves the dictation on the clipboard, ready to paste againclearempties it afterclipboard_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/hyprwhsprThe 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-onceunder 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_delayfalls 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