比方说我用 wireguard. 开关的话需要用命令行执行 wg-quick
有没有什么 menubar 的程序可以托管这些 CLI 命令的? 求推荐, 谢谢!
1 myhot21 2018-11-16 08:19:38 +08:00 via Android ![]() 你可以看下这里的 macos 平台库有没合适的程序: https://www.21doc.net/site/library#platforms |
![]() | 2 xjbeta 2018-11-16 08:46:45 +08:00 Alfred? 虽然不是 menubar 的 |
![]() | 3 yangg 2018-11-16 08:52:56 +08:00 via iPhone Hammerspoon |
![]() | 4 blanboom 2018-11-16 08:59:31 +08:00 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 09:14:02 +08:00 试试 Bitbar https://getbitbar.com/ |
![]() | 6 ech0x 2018-11-16 09:29:04 +08:00 via iPhone Applescript |
![]() | 7 devtiange OP @hewigovens 感谢! 这个直接有 wireguard 插件, 我试一下. |
![]() | 8 potcode99 2018-11-17 18:03:29 +08:00 today script ? |
![]() | 9 czhu 2018-12-28 11:03:59 +08:00 |