比方说我用 wireguard. 开关的话需要用命令行执行 wg-quick
有没有什么 menubar 的程序可以托管这些 CLI 命令的? 求推荐, 谢谢!
1
myhot21 2018 年 11 月 16 日 via Android 你可以看下这里的 macos 平台库有没合适的程序: https://www.21doc.net/site/library#platforms
|
2
xjbeta 2018 年 11 月 16 日
Alfred? 虽然不是 menubar 的
|
3
yangg 2018 年 11 月 16 日 via iPhone
Hammerspoon
|
4
blanboom 2018 年 11 月 16 日 via iPhone
Menubar 中添加 Script 菜单,然后用 AppleScript 运行 bash 脚本。
https://alvinalexander.com/mac-os-x/how-to-show-applescript-menu-item-mac-osx-menu-bar https://apple.stackexchange.com/questions/235167/how-to-run-a-shell-script-from-an-applescript |
5
hewigovens 2018 年 11 月 16 日
试试 Bitbar https://getbitbar.com/
|
6
ech0x 2018 年 11 月 16 日 via iPhone
Applescript
|
7
devtiange OP @hewigovens 感谢! 这个直接有 wireguard 插件, 我试一下.
|
8
potcode99 2018 年 11 月 17 日
today script ?
|
9
czhu 2018 年 12 月 28 日
|