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.1.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file weekdatemac-1.0.1.tar.gz
.
File metadata
- Download URL: weekdatemac-1.0.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ad19aa94f53520b4e3ae17463cf39afb8fea9b95d0296acc1f91f02917704b7 |
|
MD5 | 9490a28d9dee6bc5295f4903b18821d8 |
|
BLAKE2b-256 | 3df0d03d96e3bba1758f9491cf33da0f7466397ab758804d50a1d28f7a74699c |
File details
Details for the file weekdatemac-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: weekdatemac-1.0.1-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.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d29b30b55a2b39c8ba15dcae20e0b0d92cea8981f458014ef3202d2814485f9 |
|
MD5 | 58a2dcce9ce484f399d0dc03c3ae21e0 |
|
BLAKE2b-256 | 3d20c11f2d8b5f45b7e10965c6102ab145188827e345f8c584b861476e6e4187 |