MyGit

v2.0.0-pre5

flyingpie/windows-terminal-quake

版本发布时间: 2024-03-18 06:58:17

flyingpie/windows-terminal-quake最新发布版本:v2.0.11(2024-07-16 16:46:34)

Initial support for auto-starting apps.

BREAKING CHANGES The configuration file has been simplified.

Old syntax:

"Apps": [
  {
    "Name": "Terminal",
    "HotKeys": [ { "Modifiers": "Control", "Key": "D1" } ],
    "FindExisting": {
      "ProcessName": "WindowsTerminal"
    },
    "StartNew": {
      "FileName": "wt"
    }
  }
]

The "ProcessName"-property is optional for processes where they are the same.

New syntax:

"Apps": [
  {
    "Name": "Terminal",
    "HotKeys": [{ "Modifiers": "Control", "Key": "D1" }],
    "FileName": "wt",
    "ProcessName": "WindowsTerminal"
  }
]

Auto-starting apps to toggle

Currently exploring the direction where an app has an "AttachMode", which dictates how WTQ grabs an app:

The mode can be specified per app (note that "FindOrStart" is the default:

"Apps": [
  {
    "Name": "Terminal",
    "AttachMode": "Find", // Only attach to process that is already running, don't auto-start one.
    "HotKeys": [{ "Modifiers": "Control", "Key": "D1" }],
    "FileName": "wt",
    "ProcessName": "WindowsTerminal"
  }
]

相关地址:原始地址 下载(tar) 下载(zip)

1、 win-x64_framework-dependent.zip 1.04MB

2、 win-x64_self-contained.zip 63.33MB

查看:2024-03-18发行的版本