https://github.com/nevarman/polybar-calendar
A calendar for polybar or for anyware. Made with python and gtk
https://github.com/nevarman/polybar-calendar
gtk polybar polybar-calendar python
Last synced: about 1 month ago
JSON representation
A calendar for polybar or for anyware. Made with python and gtk
- Host: GitHub
- URL: https://github.com/nevarman/polybar-calendar
- Owner: nevarman
- License: mit
- Created: 2020-07-14T21:02:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T07:57:04.000Z (over 2 years ago)
- Last Synced: 2025-03-27T19:14:19.071Z (about 2 months ago)
- Topics: gtk, polybar, polybar-calendar, python
- Language: Python
- Homepage:
- Size: 571 KB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polybar Calendar
A calendar for polybar or for anyware. Made with python and gtk.

Features:
- Local calendar events.
- Uses pywal colors. If the colors are cached. Checkout pywal here: https://github.com/dylanaraps/pywal## How to use
I use the calendar with polybar. To use it with polybar:
- Checkout the project. For example under: .config/polybar/modules/polybar-calendar
- Install dependencies: https://pygobject.readthedocs.io/en/latest/devguide/dev_environ.html and https://pygobject.readthedocs.io/en/latest/getting_started.html#
- Change your date module from your polybar config and add : "date = %{A1: .config/polybar/modules/polybar-calendar/calendar.sh:}%A, %d %B%{A}" to date field. Which will enable click action.
- Be sure you have execute rights on calendar.sh file.
- Depending on your WM you may need to place the window in your compositor settings. I use Bspwm in my bspwmrc file I set the rule like this:
_bspc rule -a Pycalendar.py state=floating rectangle=600x400+660+25_Otherwise you can toggle the calendar by executing calendar.sh.