A macOS script to display the current week number in the menu bar.
Project description
What Week Is It?
What week is it? This is a simple Python script that tells you what week of the year it is.
This is the MacOS implementation of the script.
Setup
First, clone and navigate to the repository:
git clone https://github.com/Silicon27/weekdatemac
cd weekdatemac
Make it executable:
chmod +x run_week_menu_bar.sh
Move it to ~/Library/LaunchAgents/
mv com.weekmenubar.plist ~/Library/LaunchAgents/
Then you can add it to your Launch Agent with launchctl
and run it:
launchctl unload ~/Library/LaunchAgents/com.weekmenubar.plist && \
launchctl load ~/Library/LaunchAgents/com.weekmenubar.plist
And that's it! You should see the week number in your menu bar.
An example would look like this:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
weekdatemac-1.0.0.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file weekdatemac-1.0.0.tar.gz
.
File metadata
- Download URL: weekdatemac-1.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 964873ee4f87acae5780eb7e933c1b5ed76c8d22e9047b2c6916a5f030ba6ed2 |
|
MD5 | 0ceef33aa412e13a651ad1ad489e5a41 |
|
BLAKE2b-256 | 7410fa729ef37404f19fb6261747e4a0df229d4046adbe64d9c84b5139aac3ed |
File details
Details for the file weekdatemac-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: weekdatemac-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7a9eb10668b37b34d60dd702fd22252b2c6a6266d3acf93a35ec762d1c1722b |
|
MD5 | 23c10718a16a047c617d393c10514bfe |
|
BLAKE2b-256 | 7084fc2733712bf00f187743d4f702038bf4fe5c7a0994075b4b7db66b261dd8 |