Repository Details
Shared by


HelloGitHub Rating
0 ratings
Free•BSD-3-Clause
Claim
Discuss
Collect
Share
3.2k
Stars
No
Chinese
Python
Language
No
Active
37
Contributors
75
Issues
No
Organization
None
Latest
178
Forks
BSD-3-Clause
License
More

简单的 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