在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):julienXX/terminal-notifier开源软件地址(OpenSource Url):https://github.com/julienXX/terminal-notifier开源编程语言(OpenSource Language):Objective-C 57.7%开源软件介绍(OpenSource Introduction):terminal-notifierterminal-notifier is a command-line tool to send macOS User Notifications, which are available on macOS 10.10 and higher. Newsalerter features were merged in terminal-notifier 1.7. This led to some issues and even more issues in the 1.8 release. We decided with Valère Jeantet to rollback this merge. From now on terminal-notifier won't have the sticky notification feature nor the actions buttons. If you need them please use alerter. I also want to follow semver hence this latest version starts at 2.0.0. Sticking to two smaller specialized tools will hopefully make them easier to maintain and less error prone. Caveats
DownloadPrebuilt binaries are available from the releases section. Or if you want to use this from Ruby, you can install it through RubyGems:
You can also install it via Homebrew:
Usage
In order to use terminal-notifier, you have to call the binary inside the application bundle. The Ruby gem, which wraps this tool, does have a bin wrapper. If installed you can simply do:
This will obviously be a bit slower than using the tool without the wrapper. If you'd like notifications to stay on the screen until dismissed, go to System Preferences -> Notifications -> terminal-notifier and change the style from Banners to Alerts. You cannot do this on a per-notification basis. Example UsesDisplay piped data with a sound:
Use a custom icon:
Open an URL when the notification is clicked: 全部评论
专题导读
上一篇:paradiseduo/ShadowsocksX-NG-R8: ShadowsocksX-NG-R for MacOS, ShadowsocksR发布时间:2022-08-18下一篇:microsoft/plcrashreporter: Reliable, open-source crash reporting for iOS, macOS ...发布时间:2022-08-18热门推荐
热门话题
阅读排行榜
|
请发表评论