Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Commit ebdc272

Browse files
authored
Merge pull request #3 from MenuNote/rebrand-1
Change all instances of BarNotes to MenuNote
2 parents b658450 + 31a1fa7 commit ebdc272

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77

88
user_name = getpass.getuser()
99

10-
class BarNotes(rumps.App):
10+
class MenuNote(rumps.App):
1111
def __init__(self):
12-
super(BarNotes, self).__init__("BarNotes", title=" " + Note.get_note(), icon=f"/users/{user_name}/Library/Application Support/BarNotes/icon.png", template=True)
12+
super(MenuNote, self).__init__("MenuNote", title=" " + Note.get_note(), icon=f"/users/{user_name}/Library/Application Support/MenuNote/icon.png", template=True)
1313

1414
self.logger = Logger()
15-
self.logger.log("BarNotes initialized")
15+
self.logger.log("MenuNote initialized")
1616

1717
self.menu = ["Edit Note"]
1818

1919
@rumps.clicked("Edit Note")
2020
def edit(self, _):
2121
window = rumps.Window(title="Edit your note", message="The max amount of characters is 100.", dimensions=(300, 85), ok="Save", cancel="Cancel")
2222
window.default_text = Note.get_note()
23-
window.icon = f"/users/{user_name}/Library/Application Support/BarNotes/icon.png"
23+
window.icon = f"/users/{user_name}/Library/Application Support/MenuNote/icon.png"
2424

2525
self.logger.log("Edit Note window opened")
2626

@@ -33,10 +33,10 @@ def edit(self, _):
3333
self.logger.log("Note was not changed")
3434

3535
def start(self):
36-
self.logger.log("BarNotes running")
36+
self.logger.log("MenuNote running")
3737
self.run()
3838

3939
if __name__ == "__main__":
4040
check_files()
41-
app = BarNotes()
41+
app = MenuNote()
4242
app.start()

0 commit comments

Comments
 (0)