Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to make this repo easier for others to use #1

Open
pokey opened this issue Mar 1, 2022 · 0 comments
Open

Figure out how to make this repo easier for others to use #1

pokey opened this issue Mar 1, 2022 · 0 comments

Comments

@pokey
Copy link
Owner

pokey commented Mar 1, 2022

See also cursorless-dev/cursorless#547 (comment)

Here's a diff from getting things to work on one other user's computer (note `keys.py` wasn't necessary)
From 4eb8591ea4c923a1de795ffcf295c34cc36ca435 Mon Sep 17 00:00:00 2001
From: User <[email protected]>
Date: Wed, 23 Feb 2022 12:42:57 +0000
Subject: [PATCH] Tweaks to get things working with Pokey

---
code/keys.py                 | 2 +-
misc/window_management.talon | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/code/keys.py b/code/keys.py
index 4dddcdc..055bc9d 100644
--- a/code/keys.py
+++ b/code/keys.py
@@ -4,7 +4,7 @@ from user.pokey_talon.code.terms import DELETE
from talon import Module, Context, actions, app
import sys

-default_alphabet = "air bat cap drum each fine gust harp ink jane kick look made near ox pit quench risk spun trap urge vest whale plex yank zip".split(
+default_alphabet = "air bat cap drum each fine gust harp ink jane kick look made near oats pit quench risk spun trap urge vest whale plex yank zip".split(
   " "
)
letters_string = "abcdefghijklmnopqrstuvwxyz"
diff --git a/misc/window_management.talon b/misc/window_management.talon
index 329f20a..9a192aa 100644
--- a/misc/window_management.talon
+++ b/misc/window_management.talon
@@ -18,7 +18,7 @@ snap <user.running_applications> <user.window_snap_position>:
snap <user.running_applications> [screen] <number>:
   user.move_app_to_screen(running_applications, number)
portal [<phrase>]$:
-    user.switcher_focus("Google Chrome")
+    user.switcher_focus("Safari")
   sleep(200ms)
   user.parse_phrase(phrase or "")
coder [<phrase>]$:
@@ -29,9 +29,10 @@ coder [<phrase>]$:
voice adjust [<phrase>]$:
   user.desktop(2)
   user.switcher_launch("/Applications/Visual Studio Code.app")
+    sleep(200ms)
   user.vscode("workbench.action.openRecent")
   sleep(50ms)
-    insert("pokey-talon")
+    insert("user-name-talon")
   key(enter)
   sleep(250ms)
   user.parse_phrase(phrase or "")
-- 
2.30.1 (Apple Git-130)
pokey pushed a commit that referenced this issue Apr 22, 2022
Added more github.com shortcuts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant