Repository Details
Shared by
HelloGitHub Rating
0 ratings
轻松操作 macOS 状态栏和通知的 Python 库
Past 7 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 3,324 | — |
| 周三 | 3,324 | 0 |
| 周四 | 3,324 | 0 |
| 周五 | 3,324 | 0 |
| 周六 | 3,324 | 0 |
| 周日 | 3,324 | 0 |
| 周一 | 3,324 | 0 |
3.3k
Stars
No
Chinese
Python
Language
No
Active
43
Contributors
82
Issues
No
Organization
None
Latest
187
Forks
BSD-3-Clause
License

简单的 macOS 状态栏 Python 库
```python
import rumps
class AwesomeStatusBarApp(rumps.App):
@rumps.clicked("Preferences")
def prefs(self, _):
rumps.alert("jk! no preferences available!")
@rumps.clicked("Silly button")
def onoff(self, sender):
sender.state = not sender.state
@rumps.clicked("Say hi")
def sayhi(self, _):
rumps.notification("Awesome title", "amazing subtitle", "hi!!1")
if __name__ == "__main__":
AwesomeStatusBarApp("Awesome App").run()
```
Comments
Rating:
No comments yet