You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
422 B

# HotKey Mode Change; first argument is the mode to switch to, second argument is what to announce to the user, usually e.g. "browse mode", "focus mode".
# Note that due to the speech dispatcher client needing to be spun up on every invocation of this file, it sometimes does not respond imidiately;
# wheras the hot key daemon mode changing will happen nearly instantaneously
#!/bin/bash
sohkctl "$1" &
spd-say "$2" &