Skip to main content

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: Week Date Mac

Project details


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)

Uploaded Source

Built Distribution

weekdatemac-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

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

Hashes for weekdatemac-1.0.0.tar.gz
Algorithm Hash digest
SHA256 964873ee4f87acae5780eb7e933c1b5ed76c8d22e9047b2c6916a5f030ba6ed2
MD5 0ceef33aa412e13a651ad1ad489e5a41
BLAKE2b-256 7410fa729ef37404f19fb6261747e4a0df229d4046adbe64d9c84b5139aac3ed

See more details on using hashes here.

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

Hashes for weekdatemac-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a9eb10668b37b34d60dd702fd22252b2c6a6266d3acf93a35ec762d1c1722b
MD5 23c10718a16a047c617d393c10514bfe
BLAKE2b-256 7084fc2733712bf00f187743d4f702038bf4fe5c7a0994075b4b7db66b261dd8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page