init commit

This commit is contained in:
unknown
2025-08-19 08:06:37 -04:00
commit 2957b5515a
743 changed files with 45495 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
from talon import Context, Module, actions, app
ctx = Context()
mod = Module()
mod.apps.arc = "app.name: Arc"
mod.apps.arc = """
os: mac
app.bundle: company.thebrowser.Browser
"""
ctx.matches = r"""
app: arc
"""
@ctx.action_class("user")
class UserActions:
def tab_close_wrapper():
actions.sleep("180ms")
actions.app.tab_close()
def command_search(command: str = ""):
actions.key("cmd-l")
if command != "":
actions.sleep("200ms")
actions.insert(command)
@ctx.action_class("browser")
class BrowserActions:
def show_extensions():
actions.app.tab_open()
actions.browser.go("arc://extensions")
+6
View File
@@ -0,0 +1,6 @@
app: arc
os: mac
-
tag(): browser
tag(): user.tabs
tag(): user.command_search
+8
View File
@@ -0,0 +1,8 @@
user.running: arc
os: mac
-
# This assumes that you have not disabled Little Arc
little arc [<user.text>]:
key("cmd-alt-n")
sleep(200ms)
insert(user.text or "")