application_matches.py (1087B)
1 from talon import Context, Module 2 3 mod = Module() 4 5 6 apps = mod.apps 7 8 # apple specific apps 9 apps.datagrip = """ 10 os: mac 11 and app.name: DataGrip 12 """ 13 14 apps.finder = """ 15 os: mac 16 and app.bundle: com.apple.finder 17 """ 18 19 apps.rstudio = """ 20 os: mac 21 and app.name: RStudio 22 """ 23 24 apps.apple_terminal = """ 25 os: mac 26 and app.bundle: com.apple.Terminal 27 """ 28 29 apps.iterm2 = """ 30 os: mac 31 and app.bundle: com.googlecode.iterm2 32 """ 33 34 # linux specific apps 35 apps.keepass = """ 36 os: linux 37 and app.name: KeePassX2 38 os: linux 39 and app.name: KeePassXC 40 os: linux 41 and app.name: KeepassX2 42 os: linux 43 and app.name: keepassx2 44 os: linux 45 and app.name: keepassxc 46 os: linux 47 and app.name: Keepassxc""" 48 49 apps.signal = """ 50 os: linux 51 and app.name: Signal 52 53 os: linux 54 and app.name: signal 55 """ 56 57 apps.termite = """ 58 os: linux 59 and app.name: /termite/ 60 """ 61 62 apps.windows_command_processor = """ 63 os: windows 64 and app.name: Windows Command Processor 65 os: windows 66 and app.exe: cmd.exe 67 """ 68 69 apps.windows_terminal = """ 70 os: windows 71 and app.exe: WindowsTerminal.exe 72 """ 73 74 mod.apps.windows_power_shell = """ 75 os: windows 76 and app.exe: powershell.exe 77 """ 78