From 6bba91cd5cd4576c96c6a1ebf91cc0a6df606a7c Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 21 Sep 2019 15:04:38 -0400 Subject: [PATCH] Added Text to Speach system. This currently doesnt' support OSX. --- tridactyl/makefile | 3 +++ tridactyl/tridactylrc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/tridactyl/makefile b/tridactyl/makefile index 763beb4..0b3c792 100644 --- a/tridactyl/makefile +++ b/tridactyl/makefile @@ -2,6 +2,7 @@ SRC := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) include ../lib/shared.mk TARGET := $(XDG_DIR)/tridactyl +SCRIPTS_TARGET := ~/.local/share/tridactyl/scripts install: | init update @@ -10,6 +11,7 @@ init: ifeq ($(shell $(call cmd_exist,firefox) || $(IS_MAC) ; echo $$? ), 0) $(info => Setting up Tridacyl) $(mk_link) $(SRC) $(TARGET) + $(mk_link) $(SRC)/scripts $(SCRIPTS_TARGET) else $(report) warn "This doesn't seem to be an env for Tridactyl. Skipping." endif @@ -19,3 +21,4 @@ update: remove: $(info => Remvoing tridactyl ) $(rm_link) $(TARGET) + $(rm_link) $(SCRIPTS_TARGET) diff --git a/tridactyl/tridactylrc b/tridactyl/tridactylrc index 4b6bcbb..1c0a7c4 100644 --- a/tridactyl/tridactylrc +++ b/tridactyl/tridactylrc @@ -23,6 +23,8 @@ bind n findnext 1 bind N findnext -1 bind , nohlsearch +unbind ;r +bind ;r composite hint -pipe * textContent | shellescape | exclaim_quiet ./scripts/speak colorscheme onedark " This will have to do until someone writes us a nice syntax file :) " vim: set filetype=vim: