来源
- Prefer footclient when Foot is the default terminal
- review-comment by greptile-apps[bot]
- review-comment by
gomesalexandre
- review-comment by
pkwagner
- review-comment by
gomesalexandre
- review-comment by
pkwagner
- review-comment by
gomesalexandre
- review-comment by
pkwagner
- review-comment by
gomesalexandre
- review-comment by
gomesalexandre
omacom/omarchy#7286 目前仍处于开放状态。gomesalexandre 提议,当 Foot 为默认终端时,Super+Return 及其他终端启动方式通过 footclient 连接到一个共享的 foot 服务器,这比每次都启动新的 foot 进程开销更小。当天早些时候,
gomesalexandre 针对
pkwagner 此前提出的顾虑重新修改了该提案。现在不再永久启用任何服务:服务器只在当前会话中启动,因此终端列表仍是唯一的设置项(omacom/omarchy#7286:discussion_r4607897526)。
Greptile 提出了一个 P1 级问题:由于只有一个共享服务器,新终端会在最新打开的窗口所在目录中启动,而不是在当前聚焦窗口的目录中(omacom/omarchy#7286:discussion_r4607922281)。gomesalexandre 询问
pkwagner 这种取舍是否可以接受(omacom/omarchy#7286:discussion_r4608325126)。
pkwagner 随后质疑是否真的需要一个自定义的启动包装器(omacom/omarchy#7286:discussion_r4616550262)。
gomesalexandre 回应称,它是所有终端启动都必经的唯一位置,负责在需要时回退到普通 foot,并重新应用当前主题(omacom/omarchy#7286:discussion_r4616988464)。
pkwagner 接受了这个包装器(omacom/omarchy#7286:discussion_r4617369090)。
gomesalexandre 建议在后续 PR 中再修复目录问题(omacom/omarchy#7286:discussion_r4617819445)。
pkwagner 则要求在本 PR 中一并解决,以免不同终端之间行为不一致,并提议为每个窗口打上标记(omacom/omarchy#7286:discussion_r4618328982)。
gomesalexandre 实现了这一方案,并在 foot 1.28 上配合无头合成器进行了测试。他表示自己无法运行 Hyprland 本身,只需在真机上快速测试一下 Super+Return,就能补上这一缺口(omacom/omarchy#7286:discussion_r4618898564)。
